Searched refs:inputCanvas (Results 1 – 6 of 6) sorted by relevance
/external/skia/gm/ |
D | dftext_blob_persp.cpp | 46 void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument 48 GrContext* ctx = inputCanvas->getGrContext(); in onDraw() 50 if (!inputCanvas->getBaseLayerSize().isEmpty()) { in onDraw() 51 size = inputCanvas->getBaseLayerSize(); in onDraw() 54 inputCanvas->imageInfo().refColorSpace()); in onDraw() 58 SkCanvas* canvas = surface ? surface->getCanvas() : inputCanvas; in onDraw() 60 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw() 88 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw() 90 inputCanvas->resetMatrix(); in onDraw() 91 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, nullptr); in onDraw()
|
D | textblobmixedsizes.cpp | 91 void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument 92 SkCanvas* canvas = inputCanvas; in onDraw() 96 GrContext* ctx = inputCanvas->getGrContext(); in onDraw() 98 sk_sp<SkColorSpace> colorSpace = inputCanvas->imageInfo().refColorSpace(); in onDraw() 104 canvas = surface.get() ? surface->getCanvas() : inputCanvas; in onDraw() 106 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw() 161 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw() 163 inputCanvas->resetMatrix(); in onDraw() 164 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, nullptr); in onDraw()
|
D | dftext.cpp | 39 virtual void onDraw(SkCanvas* inputCanvas) override { in onDraw() argument 44 GrContext* ctx = inputCanvas->getGrContext(); in onDraw() 47 inputCanvas->imageInfo().refColorSpace()); in onDraw() 51 SkCanvas* canvas = surface ? surface->getCanvas() : inputCanvas; in onDraw() 53 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw() 218 SkAutoCanvasRestore acr(inputCanvas, true); in onDraw() 220 inputCanvas->resetMatrix(); in onDraw() 221 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, nullptr); in onDraw()
|
/external/skqp/gm/ |
D | dftext_blob_persp.cpp | 48 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()
|
D | textblobmixedsizes.cpp | 92 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()
|
D | dftext.cpp | 41 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()
|