Home
last modified time | relevance | path

Searched refs:beTex (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/gpu/
DGrDirectContext.cpp564 GrBackendTexture beTex = gpu->createBackendTexture(dimensions, backendFormat, renderable, in create_and_clear_backend_texture() local
566 if (!beTex.isValid()) { in create_and_clear_backend_texture()
570 if (!dContext->priv().getGpu()->clearBackendTexture(beTex, in create_and_clear_backend_texture()
573 dContext->deleteBackendTexture(beTex); in create_and_clear_backend_texture()
576 return beTex; in create_and_clear_backend_texture()
705 GrBackendTexture beTex = this->createBackendTexture(srcData[0].width(), in createBackendTexture() local
711 if (!beTex.isValid()) { in createBackendTexture()
717 beTex, in createBackendTexture()
720 this->deleteBackendTexture(beTex); in createBackendTexture()
723 return beTex; in createBackendTexture()
[all …]
DGrProxyProvider.cpp574 const GrBackendTexture& beTex, in wrapCompressedBackendTexture() argument
590 sk_sp<GrTexture> tex = resourceProvider->wrapCompressedBackendTexture(beTex, ownership, in wrapCompressedBackendTexture()
/third_party/flutter/skia/tests/
DBackendAllocationTest.cpp751 GrBackendTexture beTex = context->createBackendTexture(32, 32, format, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
755 check_vk_layout(beTex, VkLayout::kUndefined); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
756 return beTex; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
792 GrBackendTexture beTex = context->createBackendTexture(32, 32, format, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
797 check_vk_layout(beTex, GrRenderable::kYes == renderable in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
800 return beTex; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/third_party/skia/tools/
DDDLPromiseImageHelper.cpp130 auto beTex = direct->createBackendTexture(pm, in create_yuva_texture() local
136 if (beTex.isValid()) { in create_yuva_texture()
142 return beTex; in create_yuva_texture()
DDDLTileHelper.cpp196 GrBackendTexture beTex = direct->createBackendTexture(c.width(), c.height(), c.colorType(), in CreateBackendTexture() local
199 tile->fCallbackContext->setBackendTexture(beTex); in CreateBackendTexture()
/third_party/skia/tests/
DSurfaceTest.cpp397 GrBackendTexture beTex = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
399 REPORTER_ASSERT(reporter, beTex.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
407 beTex = surface->getBackendTexture(SkSurface::kFlushRead_BackendHandleAccess); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
408 REPORTER_ASSERT(reporter, !beTex.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageTest.cpp1161 GrBackendTexture beTex = image->getBackendTexture(true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
1162 REPORTER_ASSERT(reporter, beTex.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1167 beTex = image->getBackendTexture(true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1168 REPORTER_ASSERT(reporter, !beTex.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp1292 sk_sp<GrTexture> GrVkGpu::onWrapCompressedBackendTexture(const GrBackendTexture& beTex, in onWrapCompressedBackendTexture() argument
1295 return this->onWrapBackendTexture(beTex, ownership, cacheable, kRead_GrIOType); in onWrapCompressedBackendTexture()