diff options
author | senorblanco <senorblanco@chromium.org> | 2014-07-14 08:25:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-07-14 08:25:34 -0700 |
commit | c07e2811dd8f15722ebdd1ff0a7f5449258569f1 (patch) | |
tree | fd17bfb738296dea3eedc0e18626b85db1512bc5 /src/core/SkBBoxRecord.h | |
parent | ee349531446ae2a8336b0903e05d0b2150d2131f (diff) |
Revert "Fix for saveLayer() with filters vs. the BBox Hierarchy." and
"resizeimagefiler is ok with a BBH now".
This reverts commits 6ca0b6a46cbe9bef3e2b9b9db813ec864efd62de and 8fa73202eaffbd7591ee218ad452b9afde81f505.
Apparently causing problems in SKP playback.
R=mtklein@google.com, robertphillips@google.com
TBR=mtklein, robertphillips
BUG=skia:
Author: senorblanco@chromium.org
Review URL: https://codereview.chromium.org/381353005
Diffstat (limited to 'src/core/SkBBoxRecord.h')
-rw-r--r-- | src/core/SkBBoxRecord.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/core/SkBBoxRecord.h b/src/core/SkBBoxRecord.h index f3f8eb8f49..f3d72b0448 100644 --- a/src/core/SkBBoxRecord.h +++ b/src/core/SkBBoxRecord.h @@ -10,7 +10,6 @@ #define SkBBoxRecord_DEFINED #include "SkPictureRecord.h" -#include "SkTDStack.h" /** * This is an abstract SkPictureRecord subclass that intercepts draw calls and computes an @@ -23,7 +22,7 @@ public: SkBBoxRecord(const SkISize& size, uint32_t recordFlags) : INHERITED(size, recordFlags) { } - virtual ~SkBBoxRecord(); + virtual ~SkBBoxRecord() { } /** * This is called each time we get a bounding box, it will be axis-aligned, @@ -67,9 +66,6 @@ protected: virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint&) SK_OVERRIDE; virtual void onDrawPicture(const SkPicture* picture) SK_OVERRIDE; - virtual void willSave() SK_OVERRIDE; - virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) SK_OVERRIDE; - virtual void willRestore() SK_OVERRIDE; private: /** @@ -79,12 +75,6 @@ private: **/ bool transformBounds(const SkRect& bounds, const SkPaint* paint); - /** - * Paints from currently-active saveLayers that need to be applied to bounding boxes of all - * primitives drawn inside them. We own these pointers. - **/ - SkTDStack<const SkPaint*> fSaveStack; - typedef SkPictureRecord INHERITED; }; |