Home
last modified time | relevance | path

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

123

/external/skia/src/gpu/mock/
DGrMockGpu.h43 GrWrapOwnership ownership) override { in wrapBackendSemaphore()
81 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrColorType, GrWrapOwnership,
83 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, GrWrapOwnership,
89 GrWrapOwnership,
DGrMockGpu.cpp194 GrWrapOwnership ownership, in onWrapBackendTexture()
214 GrWrapOwnership ownership, in onWrapCompressedBackendTexture()
222 GrWrapOwnership ownership, in onWrapRenderableBackendTexture()
/external/skia/src/gpu/d3d/
DGrD3DGpu.h64 GrWrapOwnership ownership) override { in wrapBackendSemaphore()
98 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrColorType, GrWrapOwnership,
100 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, GrWrapOwnership,
106 GrWrapOwnership,
DGrD3DGpu.cpp66 GrWrapOwnership ownership, in onWrapBackendTexture()
73 GrWrapOwnership ownership, in onWrapCompressedBackendTexture()
81 GrWrapOwnership ownership, in onWrapRenderableBackendTexture()
/external/skia/src/gpu/dawn/
DGrDawnGpu.h94 GrWrapOwnership ownership) override;
133 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrColorType, GrWrapOwnership,
135 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, GrWrapOwnership,
138 GrColorType, GrWrapOwnership,
/external/skia/src/gpu/
DGrResourceProvider.h132 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, GrColorType, GrWrapOwnership,
136 GrWrapOwnership,
147 GrWrapOwnership,
294 GrWrapOwnership = kBorrow_GrWrapOwnership);
DGrGpu.h148 GrWrapOwnership, GrWrapCacheable, GrIOType);
151 GrWrapOwnership, GrWrapCacheable);
158 GrColorType, GrWrapOwnership, GrWrapCacheable);
371 GrResourceProvider::SemaphoreWrapType wrapType, GrWrapOwnership ownership) = 0;
689 GrWrapOwnership, GrWrapCacheable, GrIOType) = 0;
692 GrWrapOwnership,
696 GrColorType, GrWrapOwnership,
DGrProxyProvider.h105 sk_sp<GrTextureProxy> wrapBackendTexture(const GrBackendTexture&, GrColorType, GrWrapOwnership,
109 sk_sp<GrTextureProxy> wrapCompressedBackendTexture(const GrBackendTexture&, GrWrapOwnership,
117 GrColorType, GrWrapOwnership,
/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,
/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/skia/src/gpu/mtl/
DGrMtlGpu.h99 GrWrapOwnership ownership) override;
160 GrWrapOwnership, GrWrapCacheable, GrIOType) override;
161 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, GrWrapOwnership,
165 GrColorType, GrWrapOwnership,
/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/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);
DGrMtlUtil.h33 id<MTLTexture> GrGetMTLTexture(const void* mtlTexture, 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);
/external/skia/src/gpu/vk/
DGrVkGpu.h133 GrResourceProvider::SemaphoreWrapType wrapType, GrWrapOwnership ownership) override;
206 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrColorType, GrWrapOwnership,
208 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, GrWrapOwnership,
213 GrWrapOwnership,
DGrVkSemaphore.h29 GrWrapOwnership);
/external/skqp/src/gpu/vk/
DGrVkGpu.h148 GrWrapOwnership ownership) override;
187 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable,
191 GrWrapOwnership,
/external/skqp/src/gpu/gl/
DGrGLSemaphore.h25 GrWrapOwnership ownership) { in MakeWrapped()
/external/skia/src/gpu/gl/
DGrGLSemaphore.h25 GrWrapOwnership ownership) { in MakeWrapped()
DGrGLGpu.h166 GrWrapOwnership ownership) override;
224 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrColorType, GrWrapOwnership,
226 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, GrWrapOwnership,
229 GrColorType, GrWrapOwnership,

123