diff options
author | 2017-05-02 16:49:24 -0400 | |
---|---|---|
committer | 2017-05-02 21:17:01 +0000 | |
commit | 343fe49b82d5b220d64c64f253bb362026006632 (patch) | |
tree | e20dbd15a38ee573b2b90f1e8d955d4a46c4a5ee /include/core/SkCanvas.h | |
parent | 5e550ab57e0204bfadd2cb69c47d2a85e38d6a4c (diff) |
Remove translateZ and lights from SkCanvas
Bug: skia:6557
Change-Id: I0dbf70c4131ab59e7fc6c674a6587767af98e13a
Reviewed-on: https://skia-review.googlesource.com/15151
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 21e5c1c521..a259e531f3 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -423,24 +423,6 @@ public: */ void resetMatrix(); -#ifdef SK_EXPERIMENTAL_SHADOWING - /** Add the specified translation to the current draw depth of the canvas. - @param z The distance to translate in Z. - Negative into screen, positive out of screen. - Without translation, the draw depth defaults to 0. - */ - void translateZ(SkScalar z); - - /** Set the current set of lights in the canvas. - @param lights The lights that we want the canvas to have. - */ - void setLights(sk_sp<SkLights> lights); - - /** Returns the current set of lights the canvas uses - */ - sk_sp<SkLights> getLights() const; -#endif - /** * Modify the current clip with the specified rectangle. * @param rect The rect to combine with the current clip @@ -1249,14 +1231,6 @@ public: void temporary_internal_getRgnClip(SkRegion*); protected: -#ifdef SK_EXPERIMENTAL_SHADOWING - /** Returns the current (cumulative) draw depth of the canvas. - */ - SkScalar getZ() const; - - sk_sp<SkLights> fLights; -#endif - // default impl defers to getDevice()->newSurface(info) virtual sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&); @@ -1288,10 +1262,6 @@ protected: this->didConcat(SkMatrix::MakeTrans(dx, dy)); } -#ifdef SK_EXPERIMENTAL_SHADOWING - virtual void didTranslateZ(SkScalar) {} -#endif - virtual SkRect onGetLocalClipBounds() const; virtual SkIRect onGetDeviceClipBounds() const; |