aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gm.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-07-09 13:10:58 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-09 13:10:58 -0700
commite4636aa17307b00c76e228fc5ddda1bd4904e0dd (patch)
tree8e95084a9fe91d8abdf7852f423b108665fcc151 /gm/gm.h
parentec66e6264de5110802c3d9927380d913242c9d5f (diff)
Merge Replay and Quilt tasks, adding in all BBH implementations.
Replay isn't that helpful of a test any more now that we have the more stringent Quilt tests. Quilt was missing bounding box hierarchies, though, while Replay was sort of testing RTree (pointlessly, as it was drawing without any clip). Now Quilt does everything, testing RTree, QuadTree, and TileGrid. Quilt mode now falls back to drawing all at once (i.e. Replay) for GMs that don't tile perfectly. Still a TODO to make this check more flexible than exact pixel matches. Two GMs fail when using a BBH: - imageresizetiled - resizeimagefilter We think we're not adjusting the bounds of save layers by their paint. This is probably a bug, but one to be fixed separately from adding new tests. BUG=skia: R=robertphillips@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/377373003
Diffstat (limited to 'gm/gm.h')
-rw-r--r--gm/gm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gm/gm.h b/gm/gm.h
index ac9da264a5..e48f772f39 100644
--- a/gm/gm.h
+++ b/gm/gm.h
@@ -45,6 +45,8 @@ namespace skiagm {
kGPUOnly_Flag = 1 << 9,
kAsBench_Flag = 1 << 10, // Run the GM as a benchmark in the bench tool
+
+ kNoBBH_Flag = 1 << 11, // May draw wrong using a bounding-box hierarchy
};
enum Mode {