Home
last modified time | relevance | path

Searched refs:asDirectContext (Results 1 – 25 of 41) sorted by relevance

12

/third_party/skia/bench/
DSKPBench.cpp114 auto direct = canvas->recordingContext() ? canvas->recordingContext()->asDirectContext() in onDraw()
157 auto direct = canvas->recordingContext() ? canvas->recordingContext()->asDirectContext() in getGpuStats()
172 if (!rContext || !rContext->asDirectContext()) { in getDMSAAStats()
177 rContext->asDirectContext()->flushAndSubmit(); in getDMSAAStats()
180 rContext->asDirectContext()->flush(); in getDMSAAStats()
DImageCacheBudgetBench.cpp46 auto context = canvas->recordingContext()->asDirectContext(); in set_cache_budget()
91 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPreDraw()
114 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPostDraw()
206 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPreDraw()
214 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPostDraw()
DCreateBackendTextureBench.cpp29 auto context = canvas->recordingContext()->asDirectContext(); in onDraw()
42 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPostDraw()
DDDLRecorderBench.cpp73 auto context = origCanvas->recordingContext()->asDirectContext(); in onPerCanvasPreDraw()
/third_party/skia/src/gpu/
DGrProxyProvider.cpp65 auto direct = fImageContext->asDirectContext(); in assignUniqueKeyToProxy()
89 auto direct = fImageContext->priv().asDirectContext(); in assignTagToProxy()
146 auto direct = fImageContext->asDirectContext(); in testingOnly_createInstantiatedProxy()
242 auto direct = fImageContext->asDirectContext(); in findOrCreateProxyByUniqueKey()
327 auto direct = fImageContext->asDirectContext(); in createProxyFromBitmap()
524 auto direct = fImageContext->asDirectContext(); in createCompressedTextureProxy()
548 auto direct = fImageContext->asDirectContext(); in wrapBackendTexture()
583 auto direct = fImageContext->asDirectContext(); in wrapCompressedBackendTexture()
619 auto direct = fImageContext->asDirectContext(); in wrapRenderableBackendTexture()
659 auto direct = fImageContext->asDirectContext(); in wrapBackendRenderTarget()
[all …]
DGrBaseContextPriv.h32 GrDirectContext* asDirectContext() { return this->context()->asDirectContext(); } in asDirectContext() function
DGrOnFlushResourceProvider.cpp25 auto direct = fDrawingMgr->getContext()->asDirectContext(); in instatiateProxy()
DGrDrawingManager.cpp133 auto dContext = fContext->asDirectContext(); in flush()
263 auto direct = fContext->asDirectContext(); in submitToGpu()
420 auto dContext = fContext->asDirectContext(); in reorderTasks()
524 auto direct = fContext->asDirectContext(); in flushSurfaces()
994 auto direct = fContext->asDirectContext(); in flushIfNecessary()
DGrAHardwareBufferImageGenerator.cpp88 auto direct = context->asDirectContext(); in makeView()
DGrBackendTextureImageGenerator.cpp107 auto dContext = rContext->asDirectContext(); in onGenerateTexture()
/third_party/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp97 auto direct = fDevice->recordingContext()->asDirectContext(); in characterize()
137 auto dContext = fDevice->recordingContext()->asDirectContext(); in isCompatible()
197 auto direct = fDevice->recordingContext()->asDirectContext();
/third_party/skia/src/image/
DSkSurface_Gpu.cpp59 auto dContext = surface->recordingContext()->asDirectContext(); in prepare_rt_for_external_access()
220 auto dContext = fDevice->recordingContext()->asDirectContext(); in onFlush()
236 auto direct = fDevice->recordingContext()->asDirectContext(); in onCharacterize()
315 auto direct = fDevice->recordingContext()->asDirectContext(); in onIsCompatible()
388 auto direct = fDevice->recordingContext()->asDirectContext(); in onDraw()
DSkImage_Gpu.cpp81 if (context->asDirectContext() && in chooseProxy()
209 if (auto direct = sk_ref_sp(rContext->asDirectContext())) { in MakeWithVolatileSrc()
253 auto direct = fContext->asDirectContext(); in onGetBackendTexture()
336 auto dContext = fContext->asDirectContext(); in onAsyncRescaleAndReadPixels()
359 auto dContext = fContext->asDirectContext(); in onAsyncRescaleAndReadPixelsYUV420()
872 auto dContext = fContext->asDirectContext(); in hintCacheGpuResource()
/third_party/skia/docs/examples/
DCanvas_getContext.cpp8 if (context->asDirectContext()) { in draw()
DSurface_MakeFromBackendTexture.cpp15 GrDirectContext* direct = context->asDirectContext(); in draw()
DImage_getBackendTexture.cpp15 GrDirectContext* direct = context->asDirectContext(); in draw()
/third_party/skia/gm/
Dbitmaptiled.cpp31 if (auto dContext = rContext->asDirectContext()) { in draw_tile_bitmap_with_fractional_offset()
Dcrosscontextimage.cpp31 auto dContext = rContext->asDirectContext();
Dmanypathatlases.cpp41 if (auto dContext = rContext->asDirectContext()) { in onDraw()
/third_party/skia/include/private/
DGrContext_Base.h30 virtual GrDirectContext* asDirectContext() { return nullptr; } in asDirectContext() function
/third_party/skia/src/gpu/v1/
DDevice.cpp199 auto dContext = fContext->asDirectContext(); in onReadPixels()
211 auto dContext = fContext->asDirectContext(); in onWritePixels()
959 auto dContext = sdc->recordingContext()->asDirectContext(); in asyncRescaleAndReadPixels()
977 auto dContext = sdc->recordingContext()->asDirectContext(); in asyncRescaleAndReadPixelsYUV420()
DSurfaceFillContext_v1.cpp114 auto direct = fContext->priv().asDirectContext(); in addOp()
/third_party/skia/include/gpu/
DGrRecordingContext.h272 return base ? base->asDirectContext() : nullptr; in GrAsDirectContext()
/third_party/skia/src/gpu/ops/
DAtlasPathRenderer.cpp115 return rContext->asDirectContext() && // The atlas doesn't support DDL yet. in IsSupported()
124 ? sk_sp<AtlasPathRenderer>(new AtlasPathRenderer(rContext->asDirectContext())) in Make()
/third_party/skia/tests/
DGrThreadSafeCacheTest.cpp497 if (rContext->asDirectContext()) { in findOrCreateVertices()
515 if (!rContext->asDirectContext()) { in findOrCreateVertices()
537 if (auto dContext = rContext->asDirectContext(); dContext && !fVertexData->gpuBuffer()) { in findOrCreateVertices()
679 if (GrDirectContext* dContext = rContext->asDirectContext()) { in AccessCachedView()

12