Index: tools/debugger/SkDebugCanvas.cpp |
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp |
index a504af6b0aad617f7c1c7c435f4164dec58771a7..ae934a16e74267759090f83082df9921371b1bf0 100644 |
--- a/tools/debugger/SkDebugCanvas.cpp |
+++ b/tools/debugger/SkDebugCanvas.cpp |
@@ -56,16 +56,6 @@ |
const SkPaint* paint) override { |
// We need to replay the picture onto this canvas in order to filter its internal paints. |
this->SkCanvas::onDrawPicture(picture, matrix, paint); |
- } |
- |
- void onDrawShadowedPicture(const SkPicture* picture, |
- const SkMatrix* matrix, |
- const SkPaint* paint) { |
-#ifdef SK_EXPERIMENTAL_SHADOWING |
- this->SkCanvas::onDrawShadowedPicture(picture, matrix, paint); |
-#else |
- this->SkCanvas::onDrawPicture(picture, matrix, paint); |
-#endif |
} |
private: |
@@ -613,15 +603,6 @@ |
this->addDrawCommand(new SkEndDrawPictureCommand(SkToBool(matrix) || SkToBool(paint))); |
} |
-void SkDebugCanvas::onDrawShadowedPicture(const SkPicture* picture, |
- const SkMatrix* matrix, |
- const SkPaint* paint) { |
- this->addDrawCommand(new SkBeginDrawShadowedPictureCommand(picture, matrix, paint)); |
- SkAutoCanvasMatrixPaint acmp(this, matrix, paint, picture->cullRect()); |
- picture->playback(this); |
- this->addDrawCommand(new SkEndDrawShadowedPictureCommand(SkToBool(matrix) || SkToBool(paint))); |
-} |
- |
void SkDebugCanvas::onDrawPoints(PointMode mode, size_t count, |
const SkPoint pts[], const SkPaint& paint) { |
this->addDrawCommand(new SkDrawPointsCommand(mode, count, pts, paint)); |
@@ -710,10 +691,8 @@ |
} |
void SkDebugCanvas::didTranslateZ(SkScalar z) { |
-#ifdef SK_EXPERIMENTAL_SHADOWING |
this->addDrawCommand(new SkTranslateZCommand(z)); |
this->INHERITED::didTranslateZ(z); |
-#endif |
} |
void SkDebugCanvas::toggleCommand(int index, bool toggle) { |