Index: include/private/SkRecords.h |
diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h |
index ecd73a12d9b945a96b44a1550c36f0c8606ce5cd..1e274e9f46a2fc0275ed9f1510abedcc78c06295 100644 |
--- a/include/private/SkRecords.h |
+++ b/include/private/SkRecords.h |
@@ -8,6 +8,7 @@ |
#ifndef SkRecords_DEFINED |
#define SkRecords_DEFINED |
+#include "SkData.h" |
#include "SkCanvas.h" |
#include "SkDrawable.h" |
#include "SkImageFilter.h" |
@@ -17,6 +18,7 @@ |
#include "SkRect.h" |
#include "SkRRect.h" |
#include "SkRSXform.h" |
+#include "SkString.h" |
#include "SkTextBlob.h" |
namespace SkRecords { |
@@ -66,7 +68,8 @@ namespace SkRecords { |
M(DrawRect) \ |
M(DrawTextBlob) \ |
M(DrawAtlas) \ |
- M(DrawVertices) |
+ M(DrawVertices) \ |
+ M(DrawAnnotation) |
// Defines SkRecords::Type, an enum of all record types. |
#define ENUM(T) T##_Type, |
@@ -358,7 +361,10 @@ RECORD(DrawVertices, kDraw_Tag, |
RefBox<SkXfermode> xmode; |
PODArray<uint16_t> indices; |
int indexCount); |
- |
+RECORD(DrawAnnotation, 0, |
+ SkRect rect; |
+ SkString key; |
+ RefBox<SkData> value); |
#undef RECORD |
} // namespace SkRecords |