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

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

Issue 2105113002: add annotations to debugger (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixes 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 | « no previous file | 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 onDrawAnnotation(const SkRect&, const char[], SkData*) override;
197 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 198 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
198 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, 199 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
199 const SkPaint&) override; 200 const SkPaint&) override;
200 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], 201 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
201 const SkPaint&) override; 202 const SkPaint&) override;
202 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos [], 203 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos [],
203 SkScalar constY, const SkPaint&) override; 204 SkScalar constY, const SkPaint&) override;
204 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h, 205 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h,
205 const SkMatrix* matrix, const SkPaint&) override; 206 const SkMatrix* matrix, const SkPaint&) override;
206 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 207 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 GrAuditTrail* getAuditTrail(SkCanvas*); 290 GrAuditTrail* getAuditTrail(SkCanvas*);
290 291
291 void updatePaintFilterCanvas(); 292 void updatePaintFilterCanvas();
292 void drawAndCollectBatches(int n, SkCanvas*); 293 void drawAndCollectBatches(int n, SkCanvas*);
293 void cleanupAuditTrail(SkCanvas*); 294 void cleanupAuditTrail(SkCanvas*);
294 295
295 typedef SkCanvas INHERITED; 296 typedef SkCanvas INHERITED;
296 }; 297 };
297 298
298 #endif 299 #endif
OLDNEW
« no previous file with comments | « no previous file | tools/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698