c4b12f19a4
Image filters in Skia currently clip the size of the the offscreen bitmap used for filtering to the device clip bounds. This means that any pixel-moving filter (e.g., blur) has edge artifacts at the clip boundaries. This is problematic for tiling, where a single SkPicture is played back with a clip set to the tile boundaries. By implementing the onFilterBounds() traversal, and using it in saveLayer() when a filter is present, we can clip the layer to the expanded clip rect. Note that this requires that the traversal be performed in reverse as compared to computeFastBounds(). (It's also done in device space, unlike computeFastBounds()). New test imagefiltersclipped tests pixel-moving filters when clipped by various clip rects. New test imageblurtiled tests tiled (compositor-style) rendering of blurred text. There should be no artifacts at the tile boundaries. BUG=337831 R=reed@google.com Review URL: https://codereview.chromium.org/23011012 git-svn-id: http://skia.googlecode.com/svn/trunk@13323 2bbb7eff-a529-9590-31e7-b0007b416f81
57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
# Failures of any GM tests listed in this file will be ignored [1], as
|
|
# if they had been marked "ignore-failure": true in the per-builder
|
|
# expected-results.json files.
|
|
#
|
|
# The idea is that, if you modify a GM test in such a way that you know it will
|
|
# require rebaselines on multiple platforms, you should add that test's name to
|
|
# this list within the same CL that modifies the test.
|
|
# Then, AS SOON AS POSSIBLE, you should rebaseline the tests (they will show up
|
|
# as status "failure-ignored") and remove the line you added to this file.
|
|
# If there are any lingering failures that need to be suppressed (ignored), you
|
|
# MUST move those suppressions into the per-builder expected-results.json files.
|
|
#
|
|
# The test name must match exactly (no partial string matches).
|
|
# See http://skbug.com/2022
|
|
#
|
|
# Any lines starting with '#' are comments and will be ignored.
|
|
# Other than that, each line must either be whitespace or list just one test.
|
|
#
|
|
# For more information, see https://code.google.com/p/skia/issues/detail?id=1600
|
|
# ('GM expectations: create tool to suppress failures until new baselines are
|
|
# checked in')
|
|
#
|
|
#
|
|
# [1] Differences between renderModes (e.g., normal rendering path and
|
|
# "serialized") are NEVER ignored. See
|
|
# https://code.google.com/p/skia/issues/detail?id=1748 ('gm: add new result
|
|
# type, RenderModeMismatch')
|
|
|
|
# EXAMPLES: (remove the first '#' on each line)
|
|
#
|
|
## Added by epoger as part of MADE-UP BUG
|
|
## https://code.google.com/p/skia/issues/detail?id=123456 : ignoring failures on
|
|
## gradtext GM test
|
|
#gradtext
|
|
|
|
# Added by bsalomon for skbug.com/2051, https://codereview.chromium.org/151523005
|
|
filltypespersp
|
|
|
|
# Need to rebaseline all platforms, as the content was changed to remove
|
|
# deprecated calling pattern.
|
|
# https://codereview.chromium.org/154163002/
|
|
extractbitmap
|
|
|
|
# Added by senorblanco as part of https://codereview.chromium.org/23011012/
|
|
colorfilterimagefilter
|
|
dropshadowimagefilter
|
|
imageblur
|
|
imageblur_large
|
|
imagefiltersbase
|
|
imagefilterscropped
|
|
imagefiltersgraph
|
|
imagefiltersscaled
|
|
morphology
|
|
offsetimagefilter
|
|
spritebitmap
|
|
xfermodeimagefilter
|