Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: src/core/SkPicturePlayback.h

Issue 187833003: First version of bitmap use tracking in SkPictureRecord (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Actually upload SkOffsetTable.h Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkOffsetTable.h ('k') | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPicturePlayback.h
===================================================================
--- src/core/SkPicturePlayback.h (revision 13686)
+++ src/core/SkPicturePlayback.h (working copy)
@@ -31,6 +31,7 @@
class SkWStream;
class SkBBoxHierarchy;
class SkPictureStateTree;
+class SkOffsetTable;
struct SkPictInfo {
enum Flags {
@@ -107,6 +108,8 @@
virtual void postDraw(int opIndex);
#endif
+ void preLoadBitmaps(const SkTDArray<void*>& results);
+
private:
class TextContainer {
public:
@@ -225,6 +228,7 @@
SkTRefArray<SkPaint>* fPaints;
SkData* fOpData; // opcodes and parameters
+ SkAutoTUnref<SkOffsetTable> fBitmapUseOffsets;
SkPicture** fPictureRefs;
int fPictureCount;
« no previous file with comments | « src/core/SkOffsetTable.h ('k') | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698