Home
last modified time | relevance | path

Searched refs:GrWrapOwnership (Results 1 – 25 of 52) sorted by relevance

123

/external/skqp/src/gpu/
DGrGpu.h107 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable,
114 GrWrapOwnership, GrWrapCacheable);
275 GrWrapOwnership ownership) = 0;
460 virtual sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership,
463 GrWrapOwnership, GrWrapCacheable) = 0;
DGrResourceProvider.h109 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, GrWrapOwnership,
119 GrWrapOwnership,
244 GrWrapOwnership = kBorrow_GrWrapOwnership);
DGrProxyProvider.h116 GrWrapOwnership, GrWrapCacheable, GrIOType,
123 int sampleCnt, GrWrapOwnership,
DGrResourceProvider.cpp237 GrWrapOwnership ownership, in wrapBackendTexture()
249 GrWrapOwnership ownership, in wrapRenderableBackendTexture()
454 GrWrapOwnership ownership) { in wrapBackendSemaphore()
/external/skqp/src/gpu/mock/
DGrMockGpu.h43 GrWrapOwnership ownership) override { return nullptr; } in wrapBackendSemaphore()
62 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable,
67 GrWrapOwnership,
DGrMockGpu.cpp110 GrWrapOwnership ownership, in onWrapBackendTexture()
128 GrWrapOwnership ownership, in onWrapRenderableBackendTexture()
/external/skia/src/gpu/mock/
DGrMockGpu.h43 GrWrapOwnership ownership) override { return nullptr; } in wrapBackendSemaphore()
68 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable,
73 GrWrapOwnership,
/external/skia/src/gpu/
DGrResourceProvider.h106 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, GrWrapOwnership,
116 GrWrapOwnership,
241 GrWrapOwnership = kBorrow_GrWrapOwnership);
DGrGpu.h109 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable,
116 GrWrapOwnership, GrWrapCacheable);
302 GrWrapOwnership ownership) = 0;
498 virtual sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership,
501 GrWrapOwnership, GrWrapCacheable) = 0;
DGrProxyProvider.h112 GrWrapOwnership, GrWrapCacheable, GrIOType,
119 int sampleCnt, GrWrapOwnership,
DGrResourceProvider.cpp218 GrWrapOwnership ownership, in wrapBackendTexture()
230 GrWrapOwnership ownership, in wrapRenderableBackendTexture()
424 GrWrapOwnership ownership) { in wrapBackendSemaphore()
/external/skqp/tests/
DGrTestingBackendTextureUploadTest.cpp51 backendTex, 1, GrWrapOwnership::kAdopt_GrWrapOwnership, GrWrapCacheable::kNo); in testing_only_texture_test()
53 wrappedTex = gpu->wrapBackendTexture(backendTex, GrWrapOwnership::kAdopt_GrWrapOwnership, in testing_only_texture_test()
/external/skia/tests/
DGrTestingBackendTextureUploadTest.cpp51 backendTex, 1, GrWrapOwnership::kAdopt_GrWrapOwnership, GrWrapCacheable::kNo); in testing_only_texture_test()
53 wrappedTex = gpu->wrapBackendTexture(backendTex, GrWrapOwnership::kAdopt_GrWrapOwnership, in testing_only_texture_test()
/external/skqp/src/gpu/mtl/
DGrMtlGpu.h110 GrWrapOwnership ownership) override { return nullptr; } in wrapBackendSemaphore()
135 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable,
139 GrWrapOwnership, GrWrapCacheable) override;
DGrMtlUtil.mm142 id<MTLTexture> GrGetMTLTexture(const void* mtlTexture, GrWrapOwnership wrapOwnership) {
143 if (GrWrapOwnership::kAdopt_GrWrapOwnership == wrapOwnership) {
253 GrWrapOwnership::kBorrow_GrWrapOwnership);
DGrMtlGpu.mm316 GrWrapOwnership ownership) {
329 return GrGetMTLTexture(textureInfo.fTexture, GrWrapOwnership::kBorrow_GrWrapOwnership);
345 GrWrapOwnership ownership,
360 GrWrapOwnership ownership,
397 GrWrapOwnership::kBorrow_GrWrapOwnership);
535 GrWrapOwnership::kBorrow_GrWrapOwnership);
548 GrGetMTLTexture(info.fTexture, GrWrapOwnership::kAdopt_GrWrapOwnership);
577 GrGetMTLTexture(info.fTexture, GrWrapOwnership::kAdopt_GrWrapOwnership);
DGrMtlUtil.h33 id<MTLTexture> GrGetMTLTexture(const void* mtlTexture, GrWrapOwnership);
/external/skia/src/gpu/mtl/
DGrMtlGpu.h114 GrWrapOwnership ownership) override { return nullptr; } in wrapBackendSemaphore()
145 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable,
149 GrWrapOwnership, GrWrapCacheable) override;
DGrMtlUtil.mm108 id<MTLTexture> GrGetMTLTexture(const void* mtlTexture, GrWrapOwnership wrapOwnership) {
109 if (GrWrapOwnership::kAdopt_GrWrapOwnership == wrapOwnership) {
219 GrWrapOwnership::kBorrow_GrWrapOwnership);
DGrMtlGpu.mm375 GrWrapOwnership ownership) {
388 return GrGetMTLTexture(textureInfo.fTexture, GrWrapOwnership::kBorrow_GrWrapOwnership);
404 GrWrapOwnership ownership,
419 GrWrapOwnership ownership,
456 GrWrapOwnership::kBorrow_GrWrapOwnership);
597 GrWrapOwnership::kBorrow_GrWrapOwnership);
610 GrGetMTLTexture(info.fTexture, GrWrapOwnership::kAdopt_GrWrapOwnership);
639 GrGetMTLTexture(info.fTexture, GrWrapOwnership::kAdopt_GrWrapOwnership);
DGrMtlUtil.h28 id<MTLTexture> GrGetMTLTexture(const void* mtlTexture, GrWrapOwnership);
/external/skqp/src/gpu/vk/
DGrVkGpu.h148 GrWrapOwnership ownership) override;
187 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable,
191 GrWrapOwnership,
/external/skia/src/gpu/vk/
DGrVkGpu.h156 GrWrapOwnership ownership) override;
195 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable,
199 GrWrapOwnership,
/external/skqp/src/gpu/gl/
DGrGLSemaphore.h25 GrWrapOwnership ownership) { in MakeWrapped()
/external/skia/src/gpu/gl/
DGrGLSemaphore.h25 GrWrapOwnership ownership) { in MakeWrapped()

123