Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDirectContext.cpp492 GrBackendTexture beTex = gpu->createBackendTexture(dimensions, backendFormat, renderable, in create_and_clear_backend_texture() local
494 if (!beTex.isValid()) { in create_and_clear_backend_texture()
498 if (!dContext->priv().getGpu()->clearBackendTexture(beTex, in create_and_clear_backend_texture()
501 dContext->deleteBackendTexture(beTex); in create_and_clear_backend_texture()
504 return beTex; in create_and_clear_backend_texture()
633 GrBackendTexture beTex = this->createBackendTexture(srcData[0].width(), in createBackendTexture() local
639 if (!beTex.isValid()) { in createBackendTexture()
645 beTex, in createBackendTexture()
648 this->deleteBackendTexture(beTex); in createBackendTexture()
651 return beTex; in createBackendTexture()
[all …]
DGrProxyProvider.cpp527 const GrBackendTexture& beTex, in wrapCompressedBackendTexture() argument
543 sk_sp<GrTexture> tex = resourceProvider->wrapCompressedBackendTexture(beTex, ownership, in wrapCompressedBackendTexture()
/external/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.cpp197 GrBackendTexture beTex = direct->createBackendTexture(c.width(), c.height(), c.colorType(), in CreateBackendTexture() local
200 tile->fCallbackContext->setBackendTexture(beTex); in CreateBackendTexture()
/external/skia/tests/
DSurfaceTest.cpp399 GrBackendTexture beTex = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
401 REPORTER_ASSERT(reporter, beTex.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
409 beTex = surface->getBackendTexture(SkSurface::kFlushRead_BackendHandleAccess); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
410 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()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1684 GrBackendTexture beTex = GrBackendTexture(w, h, info); in createTestingOnlyBackendTexture() local
1687 beTex.setPixelConfig(config); in createTestingOnlyBackendTexture()
1688 return beTex; in createTestingOnlyBackendTexture()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp1271 sk_sp<GrTexture> GrVkGpu::onWrapCompressedBackendTexture(const GrBackendTexture& beTex, in onWrapCompressedBackendTexture() argument
1274 return this->onWrapBackendTexture(beTex, ownership, cacheable, kRead_GrIOType); in onWrapCompressedBackendTexture()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp4033 GrBackendTexture beTex = GrBackendTexture(w, h, mipMapped, info); in createTestingOnlyBackendTexture() local
4036 beTex.setPixelConfig(config); in createTestingOnlyBackendTexture()
4037 return beTex; in createTestingOnlyBackendTexture()