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

Side by Side Diff: src/core/SkPicturePlayback.h

Issue 235473002: remove dead code from SkPicturePlayback (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef SkPicturePlayback_DEFINED 8 #ifndef SkPicturePlayback_DEFINED
9 #define SkPicturePlayback_DEFINED 9 #define SkPicturePlayback_DEFINED
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 protected: 108 protected:
109 explicit SkPicturePlayback(const SkPictInfo& info); 109 explicit SkPicturePlayback(const SkPictInfo& info);
110 110
111 bool parseStream(SkStream*, SkPicture::InstallPixelRefProc); 111 bool parseStream(SkStream*, SkPicture::InstallPixelRefProc);
112 bool parseBuffer(SkReadBuffer& buffer); 112 bool parseBuffer(SkReadBuffer& buffer);
113 #ifdef SK_DEVELOPER 113 #ifdef SK_DEVELOPER
114 virtual bool preDraw(int opIndex, int type); 114 virtual bool preDraw(int opIndex, int type);
115 virtual void postDraw(int opIndex); 115 virtual void postDraw(int opIndex);
116 #endif 116 #endif
117 117
118 void preLoadBitmaps(const SkTDArray<void*>* results);
119
120 private: 118 private:
121 class TextContainer { 119 class TextContainer {
122 public: 120 public:
123 size_t length() { return fByteLength; } 121 size_t length() { return fByteLength; }
124 const void* text() { return (const void*) fText; } 122 const void* text() { return (const void*) fText; }
125 size_t fByteLength; 123 size_t fByteLength;
126 const char* fText; 124 const char* fText;
127 }; 125 };
128 126
129 const SkBitmap& getBitmap(SkReader32& reader) { 127 const SkBitmap& getBitmap(SkReader32& reader) {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 271
274 const SkPictInfo fInfo; 272 const SkPictInfo fInfo;
275 273
276 #ifdef SK_BUILD_FOR_ANDROID 274 #ifdef SK_BUILD_FOR_ANDROID
277 SkMutex fDrawMutex; 275 SkMutex fDrawMutex;
278 bool fAbortCurrentPlayback; 276 bool fAbortCurrentPlayback;
279 #endif 277 #endif
280 }; 278 };
281 279
282 #endif 280 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698