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

Unified Diff: src/core/SkPictureFlat.h

Issue 1565203002: Revert of add backdrop option to SaveLayerRec (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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 | « src/core/SkCanvas.cpp ('k') | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPictureFlat.h
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h
index 4eee04fcdab64628b34bba8c5afe4da25d40fb4a..cbacc8e6647d8e2b79a70cb3be225718624dc629 100644
--- a/src/core/SkPictureFlat.h
+++ b/src/core/SkPictureFlat.h
@@ -75,10 +75,9 @@
DRAW_IMAGE_NINE,
DRAW_IMAGE_RECT,
- SAVE_LAYER_SAVELAYERFLAGS_DEPRECATED_JAN_2016,
- SAVE_LAYER_SAVELAYERREC,
-
- LAST_DRAWTYPE_ENUM = SAVE_LAYER_SAVELAYERREC,
+ SAVE_LAYER_SAVELAYERFLAGS,
+
+ LAST_DRAWTYPE_ENUM = SAVE_LAYER_SAVELAYERFLAGS,
};
// In the 'match' method, this constant will match any flavor of DRAW_BITMAP*
@@ -94,13 +93,6 @@
enum DrawAtlasFlags {
DRAW_ATLAS_HAS_COLORS = 1 << 0,
DRAW_ATLAS_HAS_CULL = 1 << 1,
-};
-
-enum SaveLayerRecFlatFlags {
- SAVELAYERREC_HAS_BOUNDS = 1 << 0,
- SAVELAYERREC_HAS_PAINT = 1 << 1,
- SAVELAYERREC_HAS_BACKDROP = 1 << 2,
- SAVELAYERREC_HAS_FLAGS = 1 << 3,
};
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « src/core/SkCanvas.cpp ('k') | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698