aboutsummaryrefslogtreecommitdiff
path: root/src/core/SkPictureFlat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPictureFlat.h')
-rw-r--r--src/core/SkPictureFlat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h
index ed9d0684fd..448e9d5537 100644
--- a/src/core/SkPictureFlat.h
+++ b/src/core/SkPictureFlat.h
@@ -96,8 +96,10 @@ enum DrawType {
DRAW_VERTICES_OBJECT,
FLUSH,
+ SAVE_BEHIND,
+ DRAW_BEHIND_PAINT,
- LAST_DRAWTYPE_ENUM = FLUSH
+ LAST_DRAWTYPE_ENUM = DRAW_BEHIND_PAINT,
};
// In the 'match' method, this constant will match any flavor of DRAW_BITMAP*
@@ -128,6 +130,10 @@ enum SaveLayerRecFlatFlags {
SAVELAYERREC_HAS_CLIPMATRIX = 1 << 5,
};
+enum SaveBehindFlatFlags {
+ SAVEBEHIND_HAS_SUBSET = 1 << 0,
+};
+
///////////////////////////////////////////////////////////////////////////////
// clipparams are packed in 5 bits
// doAA:1 | clipOp:4