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

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

Issue 2146073003: Creating framework for drawShadowedPicture (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Fixed comment. 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
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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 232 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
233 const SkPaint*, SrcRectConstraint) override; 233 const SkPaint*, SrcRectConstraint) override;
234 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, 234 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
235 const SkPaint*) override; 235 const SkPaint*) override;
236 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; 236 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override;
237 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; 237 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override;
238 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 238 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
239 void onClipRegion(const SkRegion& region, SkRegion::Op) override; 239 void onClipRegion(const SkRegion& region, SkRegion::Op) override;
240 240
241 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; 241 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de;
242 void onDrawShadowedPicture(const SkPicture*,
243 const SkMatrix*,
244 const SkPaint*) override;
242 245
243 void markActiveCommands(int index); 246 void markActiveCommands(int index);
244 247
245 private: 248 private:
246 SkTDArray<SkDrawCommand*> fCommandVector; 249 SkTDArray<SkDrawCommand*> fCommandVector;
247 SkPicture* fPicture; 250 SkPicture* fPicture;
248 bool fFilter; 251 bool fFilter;
249 bool fMegaVizMode; 252 bool fMegaVizMode;
250 SkMatrix fUserMatrix; 253 SkMatrix fUserMatrix;
251 SkMatrix fMatrix; 254 SkMatrix fMatrix;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 GrAuditTrail* getAuditTrail(SkCanvas*); 297 GrAuditTrail* getAuditTrail(SkCanvas*);
295 298
296 void updatePaintFilterCanvas(); 299 void updatePaintFilterCanvas();
297 void drawAndCollectBatches(int n, SkCanvas*); 300 void drawAndCollectBatches(int n, SkCanvas*);
298 void cleanupAuditTrail(SkCanvas*); 301 void cleanupAuditTrail(SkCanvas*);
299 302
300 typedef SkCanvas INHERITED; 303 typedef SkCanvas INHERITED;
301 }; 304 };
302 305
303 #endif 306 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698