Home
last modified time | relevance | path

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

/third_party/skia/src/image/
DSkImage_GpuBase.cpp203 sk_sp<GrRefCntedCallback> releaseHelper) { in MakePromiseImageLazyProxy() argument
206 SkASSERT(releaseHelper); in MakePromiseImageLazyProxy()
236 sk_sp<GrRefCntedCallback> releaseHelper) in MakePromiseImageLazyProxy() argument
237 : fFulfillProc(fulfillProc), fReleaseHelper(std::move(releaseHelper)) {} in MakePromiseImageLazyProxy()
325 } callback(fulfillProc, std::move(releaseHelper)); in MakePromiseImageLazyProxy()
DSkImage_Gpu.cpp392 sk_sp<GrRefCntedCallback> releaseHelper) { in new_wrapped_texture_common() argument
399 backendTex, ownership, GrWrapCacheable::kNo, kRead_GrIOType, std::move(releaseHelper)); in new_wrapped_texture_common()
420 auto releaseHelper = GrRefCntedCallback::Make(releaseP, releaseC); in MakeFromCompressedTexture() local
434 tex, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo, std::move(releaseHelper)); in MakeFromCompressedTexture()
453 auto releaseHelper = GrRefCntedCallback::Make(releaseP, releaseC); in MakeFromTexture() local
471 kBorrow_GrWrapOwnership, std::move(releaseHelper)); in MakeFromTexture()
588 auto releaseHelper = GrRefCntedCallback::Make(textureReleaseProc, textureContext); in MakePromiseTexture() local
617 std::move(releaseHelper)); in MakePromiseTexture()
731 auto releaseHelper = GrRefCntedCallback::Make(deleteImageProc, deleteImageCtx); in MakeFromAHardwareBufferWithData() local
745 std::move(releaseHelper)); in MakeFromAHardwareBufferWithData()
DSkSurface_Gpu.cpp495 auto releaseHelper = GrRefCntedCallback::Make(textureReleaseProc, releaseContext); in MakeFromBackendTexture() local
513 std::move(releaseHelper))); in MakeFromBackendTexture()
534 auto releaseHelper = GrRefCntedCallback::Make(releaseProc, releaseContext); in onReplaceBackendTexture() local
577 std::move(releaseHelper))); in onReplaceBackendTexture()
613 auto releaseHelper = GrRefCntedCallback::Make(relProc, releaseContext); in MakeFromBackendRenderTarget() local
629 auto proxy = proxyProvider->wrapBackendRenderTarget(rt, std::move(releaseHelper)); in MakeFromBackendRenderTarget()
DSkImage_GpuBase.h52 sk_sp<GrRefCntedCallback> releaseHelper);
DSkImage_GpuYUVA.cpp229 auto releaseHelper = GrRefCntedCallback::Make(textureReleaseProc, releaseContext); in MakeFromYUVATextures() local
239 releaseHelper); in MakeFromYUVATextures()
/third_party/skia/src/gpu/
DGrProxyProvider.cpp540 sk_sp<GrRefCntedCallback> releaseHelper) { in wrapBackendTexture() argument
561 if (releaseHelper) { in wrapBackendTexture()
562 tex->setRelease(std::move(releaseHelper)); in wrapBackendTexture()
577 sk_sp<GrRefCntedCallback> releaseHelper) { in wrapCompressedBackendTexture() argument
596 if (releaseHelper) { in wrapCompressedBackendTexture()
597 tex->setRelease(std::move(releaseHelper)); in wrapCompressedBackendTexture()
613 sk_sp<GrRefCntedCallback> releaseHelper) { in wrapRenderableBackendTexture() argument
637 if (releaseHelper) { in wrapRenderableBackendTexture()
638 tex->setRelease(std::move(releaseHelper)); in wrapRenderableBackendTexture()
653 sk_sp<GrRefCntedCallback> releaseHelper) { in wrapBackendRenderTarget() argument
[all …]
DGrSurface.h44 void setRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setRelease() argument
45 this->onSetRelease(releaseHelper); in setRelease()
46 fReleaseHelper = std::move(releaseHelper); in setRelease()
DGrProxyProvider.h124 sk_sp<GrRefCntedCallback> releaseHelper);
133 sk_sp<GrRefCntedCallback> releaseHelper);
139 sk_sp<GrRefCntedCallback> releaseHelper);
DGrManagedResource.h224 void setRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setRelease() argument
225 fReleaseHelper = std::move(releaseHelper); in setRelease()
DGrRecordingContextPriv.cpp311 sk_sp<GrRefCntedCallback> releaseHelper) { in makeSFCFromBackendTexture() argument
324 std::move(releaseHelper)); in makeSFCFromBackendTexture()
340 std::move(releaseHelper))); in makeSFCFromBackendTexture()
DGrRecordingContextPriv.h202 sk_sp<GrRefCntedCallback> releaseHelper);
/third_party/skia/src/gpu/vk/
DGrVkTextureRenderTarget.h86 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease() argument
88 GrVkTexture::onSetRelease(std::move(releaseHelper)); in onSetRelease()
DGrVkTexture.h79 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease() argument
81 fTexture->setResourceRelease(std::move(releaseHelper)); in onSetRelease()
DGrVkRenderTarget.h166 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease() argument
171 attachment->setResourceRelease(std::move(releaseHelper)); in onSetRelease()
DGrVkImage.cpp587 void GrVkImage::setResourceRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setResourceRelease() argument
590 fResource->setRelease(std::move(releaseHelper)); in setResourceRelease()
DGrVkImage.h202 void setResourceRelease(sk_sp<GrRefCntedCallback> releaseHelper);
/third_party/skia/src/gpu/d3d/
DGrD3DTexture.h76 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease() argument
78 this->setResourceRelease(std::move(releaseHelper)); in onSetRelease()
DGrD3DTextureRenderTarget.h106 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease() argument
108 this->setResourceRelease(std::move(releaseHelper)); in onSetRelease()
DGrD3DRenderTarget.h117 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease() argument
119 this->setResourceRelease(std::move(releaseHelper)); in onSetRelease()
DGrD3DTextureResource.cpp120 void GrD3DTextureResource::setResourceRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setResourceRelease() argument
123 fResource->setRelease(std::move(releaseHelper)); in setResourceRelease()
DGrD3DTextureResource.h76 void setResourceRelease(sk_sp<GrRefCntedCallback> releaseHelper);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DQueryVk.cpp150 QueryReleaseHelper releaseHelper = {contextVk, queryPool}; in releaseQueries() local
151 mQueryHelper.resetAndRelease(&releaseHelper); in releaseQueries()
168 QueryReleaseHelper releaseHelper = {contextVk, queryPool}; in releaseStashedQueries() local
169 query.resetAndRelease(&releaseHelper); in releaseStashedQueries()
/third_party/skia/src/gpu/dawn/
DGrDawnRenderTarget.h42 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override {} in onSetRelease() argument
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext_v1.h130 sk_sp<GrRefCntedCallback> releaseHelper);
DSurfaceDrawContext.cpp271 sk_sp<GrRefCntedCallback> releaseHelper) { in MakeFromBackendTexture() argument
275 std::move(releaseHelper))); in MakeFromBackendTexture()