aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-05-03 08:47:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-03 08:47:01 -0700
commit92605b35efa0155c44d24bd8415b4cc1db8831db (patch)
tree02df8d88f0f90cdab30ef095629d13d6fd45ea46 /include/core
parent871a0484305e9c051e2d78b62e1f2a5fa4bdb3a4 (diff)
Add Gr*Proxy classes
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkTypes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index f9d0c533d3..f99bb01949 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -442,6 +442,15 @@ enum class SkBudgeted : bool {
kYes = true
};
+/**
+ * Indicates whether a backing store needs to be an exact match or can be larger
+ * than is strictly necessary
+ */
+enum class SkBackingFit {
+ kApprox,
+ kExact
+};
+
///////////////////////////////////////////////////////////////////////////////
/** Use to combine multiple bits in a bitmask in a type safe way.