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

Side by Side Diff: tools/debugger/SkDebugCanvas.h

Issue 2127233002: Added the framework for having canvas/recorder/picture record depth_set's. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: updated tests to be more rigorous about translateZ in playback Created 4 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
« no previous file with comments | « tests/CanvasTest.cpp ('k') | tools/debugger/SkDebugCanvas.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 2012 Google Inc. 2 * Copyright 2012 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 8
9 #ifndef SKDEBUGCANVAS_H_ 9 #ifndef SKDEBUGCANVAS_H_
10 #define SKDEBUGCANVAS_H_ 10 #define SKDEBUGCANVAS_H_
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 } 187 }
188 188
189 protected: 189 protected:
190 void willSave() override; 190 void willSave() override;
191 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; 191 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override;
192 void willRestore() override; 192 void willRestore() override;
193 193
194 void didConcat(const SkMatrix&) override; 194 void didConcat(const SkMatrix&) override;
195 void didSetMatrix(const SkMatrix&) override; 195 void didSetMatrix(const SkMatrix&) override;
196 196
197 void didTranslateZ(SkScalar) override;
198
197 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; 199 void onDrawAnnotation(const SkRect&, const char[], SkData*) override;
198 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 200 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
199 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, 201 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
200 const SkPaint&) override; 202 const SkPaint&) override;
201 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], 203 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
202 const SkPaint&) override; 204 const SkPaint&) override;
203 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos [], 205 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos [],
204 SkScalar constY, const SkPaint&) override; 206 SkScalar constY, const SkPaint&) override;
205 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h, 207 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h,
206 const SkMatrix* matrix, const SkPaint&) override; 208 const SkMatrix* matrix, const SkPaint&) override;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 GrAuditTrail* getAuditTrail(SkCanvas*); 292 GrAuditTrail* getAuditTrail(SkCanvas*);
291 293
292 void updatePaintFilterCanvas(); 294 void updatePaintFilterCanvas();
293 void drawAndCollectBatches(int n, SkCanvas*); 295 void drawAndCollectBatches(int n, SkCanvas*);
294 void cleanupAuditTrail(SkCanvas*); 296 void cleanupAuditTrail(SkCanvas*);
295 297
296 typedef SkCanvas INHERITED; 298 typedef SkCanvas INHERITED;
297 }; 299 };
298 300
299 #endif 301 #endif
OLDNEW
« no previous file with comments | « tests/CanvasTest.cpp ('k') | tools/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698