Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index 4562a87f67854a7003c0591e20be6d4ce3b1b0e1..812fd9d49c29389a0be388cb923b9c5b0ddc4edb 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -299,6 +299,19 @@ void SkRecorder::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
xmode); |
} |
+void SkRecorder::onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], |
+ const SkColor colors[], int count, SkXfermode::Mode mode, |
+ const SkRect* cull, const SkPaint* paint) { |
+ APPEND(DrawAtlas, this->copy(paint), |
+ atlas, |
+ this->copy(xform, count), |
+ this->copy(tex, count), |
+ this->copy(colors, count), |
+ count, |
+ mode, |
+ this->copy(cull)); |
+} |
+ |
void SkRecorder::willSave() { |
APPEND(Save); |
} |