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

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

Issue 378703002: Clean up a bit after SkPictureData/SkPicturePlayback split (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Cleanup Created 6 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPicturePlayback_DEFINED 8 #ifndef SkPicturePlayback_DEFINED
9 #define SkPicturePlayback_DEFINED 9 #define SkPicturePlayback_DEFINED
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 const SkPictureData* fPictureData; 99 const SkPictureData* fPictureData;
100 100
101 // The offset of the current operation when within the draw method 101 // The offset of the current operation when within the draw method
102 size_t fCurOffset; 102 size_t fCurOffset;
103 103
104 bool fUseBBH; 104 bool fUseBBH;
105 size_t fStart; 105 size_t fStart;
106 size_t fStop; 106 size_t fStop;
107 PlaybackReplacements* fReplacements; 107 PlaybackReplacements* fReplacements;
108 108
109 void handleOp(SkReader32* reader,
110 DrawType op,
111 uint32_t size,
112 SkCanvas* canvas,
113 const SkMatrix& initialMatrix);
114
109 #ifdef SK_DEVELOPER 115 #ifdef SK_DEVELOPER
110 virtual bool preDraw(int opIndex, int type) { return false; } 116 virtual bool preDraw(int opIndex, int type) { return false; }
111 virtual void postDraw(int opIndex) { } 117 virtual void postDraw(int opIndex) { }
112 #endif 118 #endif
113 119
114 private: 120 private:
115 typedef SkNoncopyable INHERITED; 121 typedef SkNoncopyable INHERITED;
116 }; 122 };
117 123
118 #endif 124 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698