aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureRecord.h
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-02-13 14:56:09 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-02-13 14:56:09 +0000
commitae814c809e1c4e02a1876c39065775c8c7d00f96 (patch)
tree2046b35084be324bb1bf3c235431668fe80ea299 /src/core/SkPictureRecord.h
parent9b0390626f73cc88c05c90de64bfe0481e808f14 (diff)
add picture-record option to speedup complex clips
remove hack that stopped picture-playback from culling on clipPath() result git-svn-id: http://skia.googlecode.com/svn/trunk@92 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPictureRecord.h')
-rw-r--r--src/core/SkPictureRecord.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h
index b23c747efc..5325e1e386 100644
--- a/src/core/SkPictureRecord.h
+++ b/src/core/SkPictureRecord.h
@@ -11,7 +11,7 @@
class SkPictureRecord : public SkCanvas {
public:
- SkPictureRecord();
+ SkPictureRecord(uint32_t recordFlags);
virtual ~SkPictureRecord();
// overrides from SkCanvas
@@ -171,6 +171,8 @@ private:
SkRefCntRecorder fRCRecorder;
SkRefCntRecorder fTFRecorder;
+ uint32_t fRecordFlags;
+
friend class SkPicturePlayback;
typedef SkCanvas INHERITED;