Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index 0989132cd2eb5ff7839e440b9b79d5549a67568d..7344c10e307ea27fbb31beaedda0091a27f08dfd 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -299,6 +299,18 @@ 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, const SkRect* cull, |
+ const SkPaint* paint) { |
+ APPEND(DrawAtlas, this->copy(paint), |
+ atlas, |
+ this->copy(xform, count), |
+ this->copy(tex, count), |
+ colors ? this->copy(colors, count) : NULL, |
mtklein
2015/06/15 20:45:40
This is fine, but copy does this check internally
reed1
2015/06/15 20:59:18
Ah, ok. I was trying to copy the pattern above on
|
+ count, |
+ this->copy(cull)); |
+} |
+ |
void SkRecorder::willSave() { |
APPEND(Save); |
} |