Home
last modified time | relevance | path

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

123

/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()
/third_party/flutter/skia/src/gpu/
DGrOnFlushResourceProvider.cpp69 auto direct = fDrawingMgr->getContext()->priv().asDirectContext(); in instatiateProxy()
88 auto direct = fDrawingMgr->getContext()->priv().asDirectContext(); in makeBuffer()
102 auto direct = fDrawingMgr->getContext()->priv().asDirectContext(); in findOrMakeStaticBuffer()
DGrContext.cpp332 if (!this->asDirectContext()) { in createBackendTexture()
354 if (!this->asDirectContext()) { in createBackendTexture()
373 if (!this->asDirectContext() || !c.isValid()) { in createBackendTexture()
409 if (!this->asDirectContext() || !c.isValid()) { in createBackendTexture()
450 if (!this->asDirectContext()) { in createBackendTexture()
473 if (!this->asDirectContext()) { in createBackendTexture()
DGrBaseContextPriv.h32 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext() function
DGrImageContextPriv.h32 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext() function
DGrProxyProvider.cpp57 GrContext* direct = fImageContext->priv().asDirectContext(); in assignUniqueKeyToProxy()
127 GrContext* direct = fImageContext->priv().asDirectContext(); in testingOnly_createInstantiatedProxy()
224 GrContext* direct = fImageContext->priv().asDirectContext(); in findOrCreateProxyByUniqueKey()
308 GrContext* direct = fImageContext->priv().asDirectContext(); in createTextureProxy()
435 GrContext* direct = fImageContext->priv().asDirectContext(); in createProxyFromBitmap()
555 GrContext* direct = fImageContext->priv().asDirectContext(); in createCompressedTextureProxy()
581 GrContext* direct = fImageContext->priv().asDirectContext(); in wrapBackendTexture()
621 GrContext* direct = fImageContext->priv().asDirectContext(); in wrapRenderableBackendTexture()
670 GrContext* direct = fImageContext->priv().asDirectContext(); in wrapBackendRenderTarget()
710 GrContext* direct = fImageContext->priv().asDirectContext(); in wrapBackendTextureAsRenderTarget()
[all …]
DGrRecordingContextPriv.h32 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext() function
DGrContextPriv.h48 GrContext* asDirectContext() { return fContext->asDirectContext(); } in asDirectContext() function
DGrDDLContext.cpp45 GrContext* asDirectContext() override { return nullptr; } in asDirectContext() function in GrDDLContext
/third_party/skia/src/gpu/
DGrProxyProvider.cpp65 auto direct = fImageContext->asDirectContext(); in assignUniqueKeyToProxy()
134 auto direct = fImageContext->asDirectContext(); in testingOnly_createInstantiatedProxy()
229 auto direct = fImageContext->asDirectContext(); in findOrCreateProxyByUniqueKey()
314 auto direct = fImageContext->asDirectContext(); in createProxyFromBitmap()
511 auto direct = fImageContext->asDirectContext(); in createCompressedTextureProxy()
535 auto direct = fImageContext->asDirectContext(); in wrapBackendTexture()
570 auto direct = fImageContext->asDirectContext(); in wrapCompressedBackendTexture()
606 auto direct = fImageContext->asDirectContext(); in wrapRenderableBackendTexture()
644 auto direct = fImageContext->asDirectContext(); in wrapBackendRenderTarget()
676 auto direct = fImageContext->asDirectContext(); in wrapVulkanSecondaryCBAsRenderTarget()
[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()
/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/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/flutter/skia/src/image/
DSkImage_GpuBase.cpp64 auto direct = fContext->priv().asDirectContext(); in getROPixels()
138 auto direct = fContext->priv().asDirectContext(); in onReadPixels()
178 auto direct = fContext->priv().asDirectContext(); in onGetBackendTexture()
214 auto direct = fContext->priv().asDirectContext(); in onGetTexture()
/third_party/skia/src/image/
DSkSurface_Gpu.cpp52 auto dContext = surface->recordingContext()->asDirectContext(); in prepare_rt_for_external_access()
213 auto dContext = fDevice->recordingContext()->asDirectContext(); in onFlush()
229 auto direct = fDevice->recordingContext()->asDirectContext(); in onCharacterize()
308 auto direct = fDevice->recordingContext()->asDirectContext(); in onIsCompatible()
381 auto direct = fDevice->recordingContext()->asDirectContext(); in onDraw()
/third_party/skia/include/private/
DGrContext_Base.h30 virtual GrDirectContext* asDirectContext() { return nullptr; } in asDirectContext() function
/third_party/skia/gm/
Dcrosscontextimage.cpp31 auto dContext = rContext->asDirectContext();
Dbitmaptiled.cpp31 if (auto dContext = rContext->asDirectContext()) { in draw_tile_bitmap_with_fractional_offset()
/third_party/flutter/skia/include/private/
DGrContext_Base.h77 virtual GrContext* asDirectContext() { return nullptr; } in asDirectContext() function

123