aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-04-13 11:06:30 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-13 15:42:09 +0000
commit1335a0561e28b97ff4347129c7cc3fdcbf952eb5 (patch)
tree7c5447b5e2e83c23ca481bb24649d5db178d6201 /include
parent0a4b4100c12844f49f0656e6a3e382e98d906e5f (diff)
remove dead code around replayClips
Bug: skia: Change-Id: I208bf41846265524d86f65de660311199fefc158 Reviewed-on: https://skia-review.googlesource.com/13338 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkCanvas.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index d73ceb7578..399eb21111 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -21,9 +21,6 @@ class GrContext;
class GrRenderTargetContext;
class SkBaseDevice;
class SkBitmap;
-#ifdef SK_SUPPORT_OBSOLETE_REPLAYCLIP
-class SkCanvasClipVisitor;
-#endif
class SkClipStack;
class SkData;
class SkDraw;
@@ -1253,16 +1250,6 @@ public:
*/
const SkMatrix& getTotalMatrix() const;
-#ifdef SK_SUPPORT_OBSOLETE_REPLAYCLIP
- typedef SkCanvasClipVisitor ClipVisitor;
- /**
- * Replays the clip operations, back to front, that have been applied to
- * the canvas, calling the appropriate method on the visitor for each
- * clip. All clips have already been transformed into device space.
- */
- void replayClips(ClipVisitor*) const;
-#endif
-
///////////////////////////////////////////////////////////////////////////
// don't call
@@ -1661,14 +1648,4 @@ private:
};
#define SkAutoCanvasRestore(...) SK_REQUIRE_LOCAL_VAR(SkAutoCanvasRestore)
-#ifdef SK_SUPPORT_OBSOLETE_REPLAYCLIP
-class SkCanvasClipVisitor {
-public:
- virtual ~SkCanvasClipVisitor();
- virtual void clipRect(const SkRect&, SkClipOp, bool antialias) = 0;
- virtual void clipRRect(const SkRRect&, SkClipOp, bool antialias) = 0;
- virtual void clipPath(const SkPath&, SkClipOp, bool antialias) = 0;
-};
-#endif
-
#endif