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

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

Issue 794263002: Cull pushCull and popCull from Skia. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix debugger Created 6 years 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
« no previous file with comments | « src/core/SkPicturePlayback.cpp ('k') | src/core/SkPictureRecord.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 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 SkPictureRecord_DEFINED 8 #ifndef SkPictureRecord_DEFINED
9 #define SkPictureRecord_DEFINED 9 #define SkPictureRecord_DEFINED
10 10
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 } 179 }
180 180
181 virtual void willSave() SK_OVERRIDE; 181 virtual void willSave() SK_OVERRIDE;
182 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 182 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
183 virtual void willRestore() SK_OVERRIDE; 183 virtual void willRestore() SK_OVERRIDE;
184 184
185 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; 185 virtual void didConcat(const SkMatrix&) SK_OVERRIDE;
186 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; 186 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE;
187 187
188 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE; 188 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE;
189 virtual void onPushCull(const SkRect&) SK_OVERRIDE;
190 virtual void onPopCull() SK_OVERRIDE;
191 189
192 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, 190 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y,
193 const SkPaint&) SK_OVERRIDE; 191 const SkPaint&) SK_OVERRIDE;
194 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], 192 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[],
195 const SkPaint&) SK_OVERRIDE; 193 const SkPaint&) SK_OVERRIDE;
196 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], 194 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[],
197 SkScalar constY, const SkPaint&) SK_OVERRIDE; 195 SkScalar constY, const SkPaint&) SK_OVERRIDE;
198 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path, 196 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path,
199 const SkMatrix* matrix, const SkPaint&) SK_OVE RRIDE; 197 const SkMatrix* matrix, const SkPaint&) SK_OVE RRIDE;
200 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 198 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 240
243 uint32_t fRecordFlags; 241 uint32_t fRecordFlags;
244 int fInitialSaveCount; 242 int fInitialSaveCount;
245 243
246 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor 244 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor
247 245
248 typedef SkCanvas INHERITED; 246 typedef SkCanvas INHERITED;
249 }; 247 };
250 248
251 #endif 249 #endif
OLDNEW
« no previous file with comments | « src/core/SkPicturePlayback.cpp ('k') | src/core/SkPictureRecord.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698