Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: include/core/SkCanvas.h

Issue 365463005: Temporarily resurface matrix/clip save flags enum values. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index c114eb221871325bea36fa687bd34924f59ca04d..424c12dbf36df4b89e9a14c63546b4d98fb0b65e 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -298,8 +298,10 @@ public:
enum SaveFlags {
/** save the matrix state, restoring it on restore() */
// [deprecated] kMatrix_SaveFlag = 0x01,
+ kMatrix_SaveFlag = 0x01,
scroggo 2014/07/01 18:40:41 If you want to make it clear that no one should us
/** save the clip state, restoring it on restore() */
// [deprecated] kClip_SaveFlag = 0x02,
+ kClip_SaveFlag = 0x02,
/** the layer needs to support per-pixel alpha */
kHasAlphaLayer_SaveFlag = 0x04,
/** the layer needs to support 8-bits per color component */
@@ -313,6 +315,7 @@ public:
// helper masks for common choices
// [deprecated] kMatrixClip_SaveFlag = 0x03,
+ kMatrixClip_SaveFlag = 0x03,
#ifdef SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG
kARGB_NoClipLayer_SaveFlag = 0x0F,
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698