Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 7e0ff4d6d7737c4448281ea70b53399a6d35c813..6119c4ff2f9b771eb267a9812c6a60faef7a5048 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -665,9 +665,6 @@ |
fDeviceCMDirty = true; |
fSaveCount = 1; |
fMetaData = nullptr; |
-#ifdef SK_EXPERIMENTAL_SHADOWING |
- fLights = nullptr; |
-#endif |
fClipStack.reset(new SkClipStack); |
@@ -1547,7 +1544,6 @@ |
this->setMatrix(SkMatrix::I()); |
} |
-#ifdef SK_EXPERIMENTAL_SHADOWING |
void SkCanvas::translateZ(SkScalar z) { |
this->checkForDeferredSave(); |
this->fMCRec->fCurDrawDepth += z; |
@@ -1557,15 +1553,6 @@ |
SkScalar SkCanvas::getZ() const { |
return this->fMCRec->fCurDrawDepth; |
} |
- |
-void SkCanvas::setLights(sk_sp<SkLights> lights) { |
- this->fLights = lights; |
-} |
- |
-sk_sp<SkLights> SkCanvas::getLights() const { |
- return this->fLights; |
-} |
-#endif |
////////////////////////////////////////////////////////////////////////////// |
@@ -3044,24 +3031,6 @@ |
picture->playback(this); |
} |
-#ifdef SK_EXPERIMENTAL_SHADOWING |
-void SkCanvas::drawShadowedPicture(const SkPicture* picture, |
- const SkMatrix* matrix, |
- const SkPaint* paint) { |
- RETURN_ON_NULL(picture); |
- |
- TRACE_EVENT0("disabled-by-default-skia", "SkCanvas::drawShadowedPicture()"); |
- |
- this->onDrawShadowedPicture(picture, matrix, paint); |
-} |
- |
-void SkCanvas::onDrawShadowedPicture(const SkPicture* picture, |
- const SkMatrix* matrix, |
- const SkPaint* paint) { |
- this->onDrawPicture(picture, matrix, paint); |
-} |
-#endif |
- |
/////////////////////////////////////////////////////////////////////////////// |
/////////////////////////////////////////////////////////////////////////////// |