diff options
author | 2014-08-11 08:08:43 -0700 | |
---|---|---|
committer | 2014-08-11 08:08:43 -0700 | |
commit | 5ad6ee1b2ce54f8e59b9f5a337c688a98a4b0f2a (patch) | |
tree | f1198834aac166b6c3d9f79e056e0f2364c65d7e /include/core/SkPictureRecorder.h | |
parent | 136aa8fb7e8e00e0a7eed0c721fab070949222ad (diff) |
Plumbing for using a BBH in SkRecordDraw.
For now this only creates a degenerate bounding box hierarchy where all ops
just have maximal bounds. I will flesh out FillBounds in future CL(s).
Not quite sure why QuadTree and TileGrid aren't drawing right---haven't even
looked at the diffs yet---so I've disabled those test modes for now. RTree
seems fine, so that'll at least get us coverage for all this new plumbing.
BUG=skia:
R=robertphillips@google.com, mtklein@google.com, reed@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/454123003
Diffstat (limited to 'include/core/SkPictureRecorder.h')
-rw-r--r-- | include/core/SkPictureRecorder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h index bd22d55606..c00d1b3dfb 100644 --- a/include/core/SkPictureRecorder.h +++ b/include/core/SkPictureRecorder.h @@ -80,6 +80,8 @@ private: int fWidth; int fHeight; + SkAutoTUnref<SkBBoxHierarchy> fBBH; + // One of these two canvases will be non-NULL. SkAutoTUnref<SkPictureRecord> fPictureRecord; // beginRecording() SkAutoTUnref<SkRecorder> fRecorder; // EXPERIMENTAL_beginRecording() |