Index: src/core/SkPictureFlat.h |
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h |
index 8720e197511066cd2a7a0309ac408d2ea4453136..07411002aed95358ef8475bb9b6ee90cc57e806d 100644 |
--- a/src/core/SkPictureFlat.h |
+++ b/src/core/SkPictureFlat.h |
@@ -71,8 +71,9 @@ enum DrawType { |
DRAW_TEXT_BLOB, |
DRAW_IMAGE, |
DRAW_IMAGE_RECT, |
+ DRAW_ATLAS, |
- LAST_DRAWTYPE_ENUM = DRAW_IMAGE_RECT |
+ LAST_DRAWTYPE_ENUM = DRAW_ATLAS |
}; |
// In the 'match' method, this constant will match any flavor of DRAW_BITMAP* |
@@ -85,6 +86,11 @@ enum DrawVertexFlags { |
DRAW_VERTICES_HAS_XFER = 0x08, |
}; |
+enum DrawAtlasFlags { |
+ DRAW_ATLAS_HAS_COLORS = 1 << 0, |
+ DRAW_ATLAS_HAS_CULL = 1 << 1, |
+}; |
+ |
/////////////////////////////////////////////////////////////////////////////// |
// clipparams are packed in 5 bits |
// doAA:1 | regionOp:4 |