Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index c00a353cec2acdab164803426333dff1b1da779d..4d22dba599eef9bb74d1bfb6a379edc26e45e3d1 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -329,6 +329,24 @@ void SkRecorder::onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], cons |
this->copy(cull)); |
} |
+void SkRecorder::onDrawLitAtlas(const SkImage* atlas, const SkRSXform xform[], |
+ const SkRect diffTex[], const SkRect normTex[], |
+ const SkColor colors[], int count, SkXfermode::Mode mode, |
+ const SkRect* cull, const SkPaint* paint, |
+ const SkLight lights[], int numLights) { |
+ APPEND(DrawLitAtlas, this->copy(paint), |
+ atlas, |
+ this->copy(xform, count), |
+ this->copy(diffTex, count), |
+ this->copy(normTex, count), |
+ this->copy(colors, count), |
+ count, |
+ mode, |
+ this->copy(cull), |
+ this->copy(lights, numLights), |
+ numLights); |
+} |
+ |
void SkRecorder::willSave() { |
APPEND(Save); |
} |