Home
last modified time | relevance | path

Searched refs:inputCanvas (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Dtextblobmixedsizes.cpp99 void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument
100 SkCanvas* canvas = inputCanvas; in onDraw()
105 GrContext* ctx = inputCanvas->getGrContext(); in onDraw()
107 sk_sp<SkColorSpace> colorSpace = inputCanvas->imageInfo().refColorSpace(); in onDraw()
113 canvas = surface.get() ? surface->getCanvas() : inputCanvas; in onDraw()
115 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw()
172 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw()
174 inputCanvas->resetMatrix(); in onDraw()
175 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, nullptr); in onDraw()
Ddftext.cpp37 virtual void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument
43 GrContext* ctx = inputCanvas->getGrContext(); in onDraw()
46 inputCanvas->imageInfo().refColorSpace()); in onDraw()
50 SkCanvas* canvas = surface ? surface->getCanvas() : inputCanvas; in onDraw()
52 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw()
54 SkCanvas* canvas = inputCanvas; in onDraw()
195 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw()
197 inputCanvas->resetMatrix(); in onDraw()
198 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, nullptr); in onDraw()