summaryrefslogtreecommitdiff
path: root/libs/hwui/SkiaCanvasProxy.cpp
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2017-01-04 14:57:43 -0500
committer Derek Sollenberger <djsollen@google.com> 2017-01-04 14:57:43 -0500
commitb29b16e5423fe7deab8ebf3da512c6d2192f19b5 (patch)
tree6e0c9b68f6cf30fddb28f358e373c2cefa3d37a8 /libs/hwui/SkiaCanvasProxy.cpp
parente5fb79bb2def5a17d158193c2e668224dc5ad5c1 (diff)
Remove clipRegion from the public API.
This API is difficult to support for printing and has other negative effects as it does not respect the current matrix/clip. Test: compile Bug: 14650725 Change-Id: I71f9bd687d446c7ce8910d755421aad8e09458db
Diffstat (limited to 'libs/hwui/SkiaCanvasProxy.cpp')
-rw-r--r--libs/hwui/SkiaCanvasProxy.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/hwui/SkiaCanvasProxy.cpp b/libs/hwui/SkiaCanvasProxy.cpp
index 75396f7b4cf2..847c1cfafd16 100644
--- a/libs/hwui/SkiaCanvasProxy.cpp
+++ b/libs/hwui/SkiaCanvasProxy.cpp
@@ -444,9 +444,5 @@ void SkiaCanvasProxy::onClipPath(const SkPath& path, SkClipOp op, ClipEdgeStyle)
mCanvas->clipPath(&path, op);
}
-void SkiaCanvasProxy::onClipRegion(const SkRegion& region, SkClipOp op) {
- mCanvas->clipRegion(&region, op);
-}
-
}; // namespace uirenderer
}; // namespace android