aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-07-22 13:09:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-22 13:09:46 -0700
commit1c63bf6e90f160c9a0d7484dedfaf87c0aa341e9 (patch)
tree122dfcb66f950b10718e19ad1c08e2990c39ce32 /include/core
parentc2553373ee982b6c7c753e7e5035523bc01a7291 (diff)
Revert "Revert of Use the GrCacheable ID to eliminate the need for notifications to GrGpuGL when textures and RTs are… (https://codereview.chromium.org/376703009/)"
This reverts commit 249171e7d29b5559f3eefe9dbd437030bfad3fda. Uses 32 bit id instead of 64. Renamed instanceID to uniqueID to match existing code. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/414493002
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkTypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index 5ff57f8078..e264f4850f 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -325,6 +325,9 @@ typedef uint32_t SkMSec;
/** The generation IDs in Skia reserve 0 has an invalid marker.
*/
#define SK_InvalidGenID 0
+/** The unique IDs in Skia reserve 0 has an invalid marker.
+ */
+#define SK_InvalidUniqueID 0
/****************************************************************************
The rest of these only build with C++