Go to file
robertphillips c3176aa5e5 Fix dst bound reported by SkTileImageFilter
In the example from the bug we had the filter DAG:

color filter (table)
    0: xfermode filter (arith)
        0: tile filter [0,80,34,114] -> [0,80,800,480]
             0: color filter (table)
                 0: bitmap src 34x34 -> [0,80,34,114]
        1: color filter (table)
             0: picture filter [0, 80, 800, 480]

computeFastBounds was coming out of the DAG with a bound of [0,80,34,114] which didn't represent the pixels that would be drawn.

This CL updates SkTileImageFilter to correctly set the bound for the pixels it will hit.

BUG=493783

Committed: https://skia.googlesource.com/skia/+/05be93bbdf09576f7903130e3b106b0a8c7c4b4e

Committed: https://skia.googlesource.com/skia/+/0be685755f942baea26c66a87226b569fc17e960

Review URL: https://codereview.chromium.org/1152553006
2015-06-16 09:44:56 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench When --mpd is true, run _mpd variants first, then non-mpd. 2015-06-15 08:56:38 -07:00
bin sync-and-gyp: make smarter 2015-05-26 08:01:19 -07:00
debugger Remove the SkCanvas comment API 2015-06-15 13:15:31 -07:00
dm call portable font cleanup only once at app end 2015-06-15 06:48:30 -07:00
example C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
experimental Remove the SkCanvas comment API 2015-06-15 13:15:31 -07:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Fix dst bound reported by SkTileImageFilter 2015-06-16 09:44:56 -07:00
gyp Refactor SkFontHost_linux into SkFontMgr_custom. 2015-06-15 15:17:21 -07:00
include Fix dst bound reported by SkTileImageFilter 2015-06-16 09:44:56 -07:00
infra Added CQ config to skia repo 2015-06-08 05:12:56 -07:00
platform_tools Visual bench on native android 2015-06-12 12:51:44 -07:00
resources Add cmap 3,0 (symbol) as Unicode fallback. 2015-06-05 13:38:12 -07:00
samplecode Use SkPaintFilterCanvas for SampleApp paint filtering 2015-06-15 07:07:32 -07:00
site Add markdown for GPU wrangler. 2015-06-15 07:16:57 -07:00
src Fix dst bound reported by SkTileImageFilter 2015-06-16 09:44:56 -07:00
tests skia: Add runtime option to disable picture IO security precautions 2015-06-16 09:28:37 -07:00
third_party Enable both static and dynamically linked libpng 2015-04-03 12:35:27 -07:00
tools There are still things to sort out but this seems to run correctly. 2015-06-16 07:04:43 -07:00
.gitignore git: add skps to .gitignore 2015-02-13 18:57:33 -08:00
AUTHORS Return cropBitmap 2015-04-15 05:48:54 -07:00
codereview.settings Automatically add a docs preview link and NOTRY=true when there are only docs changes. 2015-02-26 10:16:13 -08:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Add benjaminwagner@ to CQ_COMMITTERS. 2015-06-08 10:22:34 -07:00
DEPS Roll third_party/externals/gyp dd831fd:08429da 2015-06-01 07:25:18 -07:00
Doxyfile Documentation: SkCanvas API 2015-05-19 10:21:29 -07:00
gyp_skia Support SKIA_OUT on Mac and ChromeOS 2015-05-04 08:04:28 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
HASHTAGS Fix cr SKPs naming 2015-03-31 08:03:02 -07:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py Run gyp on Win with --no-parallel -G config=$(BUILDTYPE), fix pylint 2015-03-03 13:15:38 -05:00
Makefile Run gyp with --no-parallel -G config=$(BUILDTYPE) 2015-03-03 06:05:56 -08:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Presubmit: add PRESUBMIT=false to non-master branch changes 2015-06-04 15:15:42 -07:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
SKP_VERSION Update SKP version 2015-06-14 00:20:12 -07:00
whitespace.txt whitespace change to trigger android bots 2015-06-02 10:35:04 -07:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.