Home
last modified time | relevance | path

Searched refs:getGrContext (Results 1 – 25 of 127) sorted by relevance

123456

/external/skqp/bench/
DImageCacheBudgetBench.cpp47 GrContext* context = canvas->getGrContext(); in set_cache_budget()
92 GrContext* context = canvas->getGrContext(); in onPerCanvasPreDraw()
115 GrContext* context = canvas->getGrContext(); in onPerCanvasPostDraw()
204 GrContext* context = canvas->getGrContext(); in onPerCanvasPreDraw()
212 GrContext* context = canvas->getGrContext(); in onPerCanvasPostDraw()
DSKPBench.cpp55 const bool gpu = canvas->getGrContext() != nullptr; in onPerCanvasPreDraw()
121 if (GrContext* context = canvas->getGrContext()) { in onDraw()
173 GrContext* context = canvas->getGrContext(); in getGpuStats()
DGrMipMapBench.cpp33 GrContext* context = canvas->getGrContext(); in onDraw()
/external/skia/bench/
DImageCacheBudgetBench.cpp47 GrContext* context = canvas->getGrContext(); in set_cache_budget()
92 GrContext* context = canvas->getGrContext(); in onPerCanvasPreDraw()
115 GrContext* context = canvas->getGrContext(); in onPerCanvasPostDraw()
204 GrContext* context = canvas->getGrContext(); in onPerCanvasPreDraw()
212 GrContext* context = canvas->getGrContext(); in onPerCanvasPostDraw()
DSKPBench.cpp55 const bool gpu = canvas->getGrContext() != nullptr; in onPerCanvasPreDraw()
121 if (GrContext* context = canvas->getGrContext()) { in onDraw()
173 GrContext* context = canvas->getGrContext(); in getGpuStats()
DGrMipMapBench.cpp33 GrContext* context = canvas->getGrContext(); in onDraw()
/external/skqp/gm/
Dtextblobrandomfont.cpp100 if (nullptr == canvas->getGrContext()) { in onDraw()
137 if (canvas->getGrContext()) { in onDraw()
146 if (canvas->getGrContext()) { in onDraw()
147 canvas->getGrContext()->freeGpuResources(); in onDraw()
Dtextblobuseaftergpufree.cpp33 if (nullptr == canvas->getGrContext()) { in onDraw()
51 canvas->getGrContext()->freeGpuResources(); in onDraw()
Dmakecolorspace.cpp125 images[j] = canvas->getGrContext()
126 ? image->makeTextureImage(canvas->getGrContext(), nullptr)
Dimage_pict.cpp269 canvas->getGrContext(), GrSamplerState::ClampBilerp(), nullptr)); in draw_as_tex()
283 sk_sp<SkImage> texImage(new SkImage_Gpu(sk_ref_sp(canvas->getGrContext()), in draw_as_tex()
304 this->makeCaches(canvas->getGrContext()); in onDraw()
Dcrosscontextimage.cpp15 GrContext* context = canvas->getGrContext();
Ddiscard.cpp37 GrContext* context = canvas->getGrContext(); in onDraw()
Dbitmaptiled.cpp15 GrContext* context = canvas->getGrContext(); in draw_tile_bitmap_with_fractional_offset()
/external/skia/tools/sk_app/
DWindow.cpp131 GrContext* Window::getGrContext() const { in getGrContext() function in sk_app::Window
135 return fWindowContext->getGrContext(); in getGrContext()
DWindowContext.h42 GrContext* getGrContext() const { return fContext.get(); } in getGrContext() function
/external/skqp/tools/sk_app/
DWindow.cpp133 GrContext* Window::getGrContext() const { in getGrContext() function in sk_app::Window
137 return fWindowContext->getGrContext(); in getGrContext()
DWindowContext.h42 GrContext* getGrContext() const { return fContext.get(); } in getGrContext() function
/external/skia/gm/
Dmakecolorspace.cpp127 images[j] = canvas->getGrContext()
128 ? image->makeTextureImage(canvas->getGrContext(), nullptr)
Dimage_pict.cpp269 canvas->getGrContext(), GrSamplerState::ClampBilerp(), nullptr)); in draw_as_tex()
283 sk_sp<SkImage> texImage(new SkImage_Gpu(sk_ref_sp(canvas->getGrContext()), in draw_as_tex()
304 this->makeCaches(canvas->getGrContext()); in onDraw()
/external/skqp/include/utils/
DSkPaintFilterCanvas.h49 GrContext* getGrContext() override { return proxy()->getGrContext(); } in getGrContext() function
/external/skqp/docs/
DSkImage_Reference.bmh318 GrContext* context = canvas->getGrContext();
355 GrContext* context = canvas->getGrContext();
388 GrContext* context = canvas->getGrContext();
412 GrContext* context = canvas->getGrContext();
440 if (!canvas->getGrContext()) {
448 sk_sp<SkImage> image = SkImage::MakeFromAdoptedTexture(canvas->getGrContext(),
1080 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
1112 if (canvas->getGrContext()) {
1113 canvas->drawString(image->isValid(canvas->getGrContext()) ? "is valid on GPU" :
1120 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
[all …]
/external/skia/docs/
DSkImage_Reference.bmh298 GrContext* context = canvas->getGrContext();
335 GrContext* context = canvas->getGrContext();
368 GrContext* context = canvas->getGrContext();
392 GrContext* context = canvas->getGrContext();
420 if (!canvas->getGrContext()) {
428 sk_sp<SkImage> image = SkImage::MakeFromAdoptedTexture(canvas->getGrContext(),
1060 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
1092 if (canvas->getGrContext()) {
1093 canvas->drawString(image->isValid(canvas->getGrContext()) ? "is valid on GPU" :
1100 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
[all …]
/external/skia/include/utils/
DSkPaintFilterCanvas.h51 GrContext* getGrContext() override { return proxy()->getGrContext(); } in getGrContext() function
/external/skqp/tools/fiddle/
Ddraw.cpp31 GrContext* context = canvas->getGrContext(); in draw()
/external/skia/tools/fiddle/
Ddraw.cpp31 GrContext* context = canvas->getGrContext(); in draw()

123456