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