| Index: src/utils/SkDeferredCanvas.cpp
|
| diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp
|
| index 6ccfb5e4b3c6711fe402e1726c697de949f512fb..ec649d42cf7422b9d397fbddd13c2a4f88935169 100644
|
| --- a/src/utils/SkDeferredCanvas.cpp
|
| +++ b/src/utils/SkDeferredCanvas.cpp
|
| @@ -1015,6 +1015,17 @@ void SkDeferredCanvas::onDrawAtlas(const SkImage* atlas, const SkRSXform xform[]
|
| this->recordedDrawCommand();
|
| }
|
|
|
| +void SkDeferredCanvas::onDrawLitAtlas(const SkImage* atlas, const SkRSXform xform[],
|
| + const SkRect diffTex[], const SkRect normTex[],
|
| + const SkColor colors[], int count,
|
| + SkXfermode::Mode mode, const SkRect* cullRect,
|
| + const SkPaint* paint, const SkLight lights[], int numLights) {
|
| + AutoImmediateDrawIfNeeded autoDraw(*this, paint);
|
| + this->drawingCanvas()->drawLitAtlas(atlas, xform, diffTex, normTex, colors, count, mode,
|
| + cullRect, paint, lights, numLights);
|
| + this->recordedDrawCommand();
|
| +}
|
| +
|
| SkDrawFilter* SkDeferredCanvas::setDrawFilter(SkDrawFilter* filter) {
|
| this->drawingCanvas()->setDrawFilter(filter);
|
| this->INHERITED::setDrawFilter(filter);
|
|
|