aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/annotated_text.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-06-04 06:53:37 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-04 06:53:37 -0700
commit0be685755f942baea26c66a87226b569fc17e960 (patch)
treec82f1f7fefbdd341df38f70efd373438d26f8717 /gm/annotated_text.cpp
parentd18bb23667d11db4779c13253a7e0cd90bf7a57f (diff)
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 Review URL: https://codereview.chromium.org/1152553006
Diffstat (limited to 'gm/annotated_text.cpp')
0 files changed, 0 insertions, 0 deletions