| Index: src/core/SkPicturePlayback.h
|
| ===================================================================
|
| --- src/core/SkPicturePlayback.h (revision 9110)
|
| +++ src/core/SkPicturePlayback.h (working copy)
|
| @@ -37,6 +37,7 @@
|
| kCrossProcess_Flag = 1 << 0,
|
| kScalarIsFloat_Flag = 1 << 1,
|
| kPtrIs64Bit_Flag = 1 << 2,
|
| + kHasRecordedBounds_Flag = 1 << 3,
|
| };
|
|
|
| uint32_t fVersion;
|
| @@ -72,6 +73,8 @@
|
|
|
| void dumpSize() const;
|
|
|
| + bool hasRecordedBounds() const { return fHasRecordedBounds; }
|
| +
|
| #ifdef SK_BUILD_FOR_ANDROID
|
| // Can be called in the middle of playback (the draw() call). WIll abort the
|
| // drawing and return from draw() after the "current" op code is done
|
| @@ -219,6 +222,8 @@
|
|
|
| SkTypefacePlayback fTFPlayback;
|
| SkFactoryPlayback* fFactoryPlayback;
|
| +
|
| + bool fHasRecordedBounds;
|
| #ifdef SK_BUILD_FOR_ANDROID
|
| SkMutex fDrawMutex;
|
| bool fAbortCurrentPlayback;
|
|
|