Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 250 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 250 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 251 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 251 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 252 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 252 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
| 253 void onClipRegion(const SkRegion& region, SkRegion::Op) override; | 253 void onClipRegion(const SkRegion& region, SkRegion::Op) override; |
| 254 | 254 |
| 255 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; | 255 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; |
| 256 | 256 |
| 257 #ifdef SK_EXPERIMENTAL_SHADOWING | 257 #ifdef SK_EXPERIMENTAL_SHADOWING |
| 258 void onDrawShadowedPicture(const SkPicture*, | 258 void onDrawShadowedPicture(const SkPicture*, |
| 259 const SkMatrix*, | 259 const SkMatrix*, |
| 260 const SkPaint*) override; | 260 const SkPaint*, |
| 261 SkShadowType sType) override; | |
|
jvanverth1
2016/08/15 16:37:17
const &
vjiaoblack
2016/08/15 17:43:32
Done.
| |
| 261 #else | 262 #else |
| 262 void onDrawShadowedPicture(const SkPicture*, | 263 void onDrawShadowedPicture(const SkPicture*, |
| 263 const SkMatrix*, | 264 const SkMatrix*, |
| 264 const SkPaint*); | 265 const SkPaint*, |
| 266 SkShadowType sType); | |
|
jvanverth1
2016/08/15 16:37:17
const &
vjiaoblack
2016/08/15 17:43:32
Done.
| |
| 265 #endif | 267 #endif |
| 266 | 268 |
| 267 void markActiveCommands(int index); | 269 void markActiveCommands(int index); |
| 268 | 270 |
| 269 private: | 271 private: |
| 270 SkTDArray<SkDrawCommand*> fCommandVector; | 272 SkTDArray<SkDrawCommand*> fCommandVector; |
| 271 SkPicture* fPicture; | 273 SkPicture* fPicture; |
| 272 bool fFilter; | 274 bool fFilter; |
| 273 bool fMegaVizMode; | 275 bool fMegaVizMode; |
| 274 SkMatrix fUserMatrix; | 276 SkMatrix fUserMatrix; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 318 GrAuditTrail* getAuditTrail(SkCanvas*); | 320 GrAuditTrail* getAuditTrail(SkCanvas*); |
| 319 | 321 |
| 320 void updatePaintFilterCanvas(); | 322 void updatePaintFilterCanvas(); |
| 321 void drawAndCollectBatches(int n, SkCanvas*); | 323 void drawAndCollectBatches(int n, SkCanvas*); |
| 322 void cleanupAuditTrail(SkCanvas*); | 324 void cleanupAuditTrail(SkCanvas*); |
| 323 | 325 |
| 324 typedef SkCanvas INHERITED; | 326 typedef SkCanvas INHERITED; |
| 325 }; | 327 }; |
| 326 | 328 |
| 327 #endif | 329 #endif |
| OLD | NEW |