Home
last modified time | relevance | path

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

/external/skia/gm/
Ddftext_blob_persp.cpp60 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()
[all …]
Dtextblobmixedsizes.cpp103 void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument
104 SkCanvas* canvas = inputCanvas; in onDraw()
108 auto ctx = inputCanvas->recordingContext(); in onDraw()
110 sk_sp<SkColorSpace> colorSpace = inputCanvas->imageInfo().refColorSpace(); in onDraw()
114 inputCanvas->getProps(&inputProps); in onDraw()
119 canvas = surface ? surface->getCanvas() : inputCanvas; in onDraw()
121 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw()
176 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw()
178 inputCanvas->resetMatrix(); in onDraw()
179 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0); in onDraw()
Ddftext.cpp55 void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument
60 auto ctx = inputCanvas->recordingContext(); in onDraw()
63 inputCanvas->imageInfo().refColorSpace()); in onDraw()
65 inputCanvas->getProps(&inputProps); in onDraw()
69 SkCanvas* canvas = surface ? surface->getCanvas() : inputCanvas; in onDraw()
71 canvas->setMatrix(inputCanvas->getLocalToDeviceAs3x3()); in onDraw()
236 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw()
238 inputCanvas->resetMatrix(); in onDraw()
239 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0); in onDraw()
/external/skqp/gm/
Ddftext_blob_persp.cpp48 void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument
50 GrContext* ctx = inputCanvas->getGrContext(); in onDraw()
52 if (!inputCanvas->getBaseLayerSize().isEmpty()) { in onDraw()
53 size = inputCanvas->getBaseLayerSize(); in onDraw()
56 inputCanvas->imageInfo().refColorSpace()); in onDraw()
60 SkCanvas* canvas = surface ? surface->getCanvas() : inputCanvas; in onDraw()
62 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw()
90 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw()
92 inputCanvas->resetMatrix(); in onDraw()
93 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, nullptr); in onDraw()
Dtextblobmixedsizes.cpp92 void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument
93 SkCanvas* canvas = inputCanvas; in onDraw()
97 GrContext* ctx = inputCanvas->getGrContext(); in onDraw()
99 sk_sp<SkColorSpace> colorSpace = inputCanvas->imageInfo().refColorSpace(); in onDraw()
105 canvas = surface.get() ? surface->getCanvas() : inputCanvas; in onDraw()
107 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw()
162 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw()
164 inputCanvas->resetMatrix(); in onDraw()
165 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, nullptr); in onDraw()
Ddftext.cpp41 virtual void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument
46 GrContext* ctx = inputCanvas->getGrContext(); in onDraw()
49 inputCanvas->imageInfo().refColorSpace()); in onDraw()
53 SkCanvas* canvas = surface ? surface->getCanvas() : inputCanvas; in onDraw()
55 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw()
220 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw()
222 inputCanvas->resetMatrix(); in onDraw()
223 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, nullptr); in onDraw()