Chromium Code Reviews| Index: src/core/SkPictureRecord.h |
| diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h |
| index 0df120b31a121b54f5681e6bed5dc3e75fc5cab3..b9345fedc26a092ad452513f1df899b0c1e63b1d 100644 |
| --- a/src/core/SkPictureRecord.h |
| +++ b/src/core/SkPictureRecord.h |
| @@ -116,6 +116,7 @@ private: |
| #ifndef SK_COLLAPSE_MATRIX_CLIP_STATE |
| SkTDArray<int32_t> fRestoreOffsetStack; |
| + SkTDArray<uint32_t> fCullOffsetStack; |
|
caryclark
2014/02/14 14:54:35
Since the restore offset stack is int and the cull
f(malita)
2014/02/20 02:37:26
Indeed: we store negative values in fRestoreOffset
|
| int fFirstSavedLayerIndex; |
| enum { |
| kNoSavedLayerIndex = -1 |
| @@ -221,6 +222,8 @@ public: |
| protected: |
| virtual SkSurface* onNewSurface(const SkImageInfo&) SK_OVERRIDE; |
| + virtual void onPushCull(const SkRect&) SK_OVERRIDE; |
| + virtual void onPopCull() SK_OVERRIDE; |
| // Return fontmetrics.fTop,fBottom in topbot[0,1], after they have been |
| // tweaked by paint.computeFastBounds(). |