Lines Matching refs:inputCanvas
60 void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument
62 auto ctx = inputCanvas->recordingContext(); in onDraw()
64 if (!inputCanvas->getBaseLayerSize().isEmpty()) { in onDraw()
65 size = inputCanvas->getBaseLayerSize(); in onDraw()
68 inputCanvas->imageInfo().refColorSpace()); in onDraw()
70 inputCanvas->getProps(&inputProps); in onDraw()
74 SkCanvas* canvas = surface ? surface->getCanvas() : inputCanvas; in onDraw()
76 canvas->setMatrix(inputCanvas->getLocalToDeviceAs3x3()); in onDraw()
104 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw()
106 inputCanvas->resetMatrix(); in onDraw()
107 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0); in onDraw()