aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkClipOp.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2016-12-12 15:02:31 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-12 20:58:16 +0000
commit689169dcad2e8a42e868588815f465f3da68816a (patch)
tree3adfaa2fb13c761787aed0c920bf06e1a2d9ba8a /include/core/SkClipOp.h
parent1b3387b5cfef150c3237c6a8700b2d6f3730e4ce (diff)
Hide exotic clipops, with a private rename for internal use
BUG=skia: Change-Id: I6c320a8c7fa501771d93c191c4657452cc9f2e03 Reviewed-on: https://skia-review.googlesource.com/5844 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'include/core/SkClipOp.h')
-rw-r--r--include/core/SkClipOp.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/include/core/SkClipOp.h b/include/core/SkClipOp.h
index 4a69ef29d5..45e0044d7c 100644
--- a/include/core/SkClipOp.h
+++ b/include/core/SkClipOp.h
@@ -34,10 +34,49 @@ enum class SkClipOp {
// Goal: remove these, since they can grow the current clip
+#ifdef SK_SUPPORT_EXOTIC_CLIPOPS
kUnion = 2,
kXOR = 3,
kReverseDifference = 4,
kReplace = 5,
+#endif
+
+ ////////////////////////////////////////////////////////////////////////////////
+ // End of enum
+
+
+
+
+
+
+
+
+
+
+ ////////////////////////////////////////////////////////////////////////////////
+ // Nothing to see here
+
+
+
+
+
+
+
+
+
+ ////////////////////////////////////////////////////////////////////////////////
+ // Turn back!
+
+
+
+
+
+ // Private Internal enums -- do not use -- destined to be removed at any moment!
+
+ kUnion_private_internal_do_not_use = 2,
+ kXOR_private_internal_do_not_use = 3,
+ kReverseDifference_private_internal_do_not_use = 4,
+ kReplace_private_internal_do_not_use = 5,
};
#endif