Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrSurface.h44 void setRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setRelease()
54 this->setRelease(GrRefCntedCallback::Make(proc, ctx)); in setRelease()
141 virtual void onSetRelease(sk_sp<GrRefCntedCallback>) {} in onSetRelease() argument
152 sk_sp<GrRefCntedCallback> fReleaseHelper;
DGrDirectContext.cpp489 sk_sp<GrRefCntedCallback> finishedCallback, in create_and_clear_backend_texture()
512 sk_sp<GrRefCntedCallback> finishedCallback) { in update_texture_with_pixmaps()
557 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in createBackendTexture()
582 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in createBackendTexture()
615 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in createBackendTexture()
658 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in updateBackendTexture()
672 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in updateBackendTexture()
699 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in updateBackendTexture()
734 sk_sp<GrRefCntedCallback> finishedCallback, in create_and_update_compressed_backend_texture()
762 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in createCompressedBackendTexture()
[all …]
DGrProxyProvider.h118 sk_sp<GrRefCntedCallback> = nullptr);
123 sk_sp<GrRefCntedCallback> releaseHelper);
132 sk_sp<GrRefCntedCallback> releaseHelper);
138 sk_sp<GrRefCntedCallback> releaseHelper);
DGrGpu.h522 sk_sp<GrRefCntedCallback> finishedCallback,
535 sk_sp<GrRefCntedCallback> finishedCallback,
542 sk_sp<GrRefCntedCallback> finishedCallback) { in setBackendTextureState()
549 sk_sp<GrRefCntedCallback> finishedCallback) { in setBackendRenderTargetState()
665 sk_sp<GrRefCntedCallback> finishedCallback,
669 sk_sp<GrRefCntedCallback> finishedCallback,
DGrManagedResource.h231 void setRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setRelease()
236 mutable sk_sp<GrRefCntedCallback> fReleaseHelper;
DGrBackendTextureImageGenerator.cpp123 sk_sp<GrRefCntedCallback> releaseProcHelper; in onGenerateTexture()
141 GrRefCntedCallback::Make(ReleaseRefHelper_TextureReleaseProc, fRefHelper); in onGenerateTexture()
DGrBackendTextureImageGenerator.h79 GrRefCntedCallback* fBorrowingContextReleaseProc;
/external/skia/include/private/
DGrTypesPriv.h1283 class GrRefCntedCallback : public SkNVRefCnt<GrRefCntedCallback> {
1288 static sk_sp<GrRefCntedCallback> Make(Callback proc, Context ctx) { in Make()
1292 return sk_sp<GrRefCntedCallback>(new GrRefCntedCallback(proc, ctx)); in Make()
1295 ~GrRefCntedCallback() { fReleaseProc(fReleaseCtx); } in ~GrRefCntedCallback()
1300 GrRefCntedCallback(Callback proc, Context ctx) : fReleaseProc(proc), fReleaseCtx(ctx) {} in GrRefCntedCallback() function
1301 GrRefCntedCallback(const GrRefCntedCallback&) = delete;
1302 GrRefCntedCallback(GrRefCntedCallback&&) = delete;
1303 GrRefCntedCallback& operator=(const GrRefCntedCallback&) = delete;
1304 GrRefCntedCallback& operator=(GrRefCntedCallback&&) = delete;
/external/skia/src/gpu/vk/
DGrVkGpu.h86 sk_sp<GrRefCntedCallback> finishedCallback) override;
91 sk_sp<GrRefCntedCallback> finishedCallback) override;
223 sk_sp<GrRefCntedCallback> finishedCallback,
227 sk_sp<GrRefCntedCallback> finishedCallback,
236 sk_sp<GrRefCntedCallback> finishedCallback);
295 void addFinishedCallback(sk_sp<GrRefCntedCallback> finishedCallback);
DGrVkTextureRenderTarget.h84 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease()
DGrVkTexture.h77 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease()
/external/skia/src/gpu/mtl/
DGrMtlCommandBuffer.h32 void addFinishedCallback(sk_sp<GrRefCntedCallback> callback) { in addFinishedCallback()
79 SkTArray<sk_sp<GrRefCntedCallback>> fFinishedCallbacks;
DGrMtlGpu.h135 sk_sp<GrRefCntedCallback> finishedCallback,
144 sk_sp<GrRefCntedCallback> finishedCallback,
206 void addFinishedCallback(sk_sp<GrRefCntedCallback> finishedCallback);
/external/skia/tools/gpu/
DManagedBackendTexture.h15 class GrRefCntedCallback; variable
72 sk_sp<GrRefCntedCallback> refCountedCallback() const;
DManagedBackendTexture.cpp56 sk_sp<GrRefCntedCallback> ManagedBackendTexture::refCountedCallback() const { in refCountedCallback()
57 return GrRefCntedCallback::Make(ReleaseProc, this->releaseContext()); in refCountedCallback()
/external/skia/src/image/
DSkImage_GpuBase.cpp203 sk_sp<GrRefCntedCallback> releaseHelper) { in MakePromiseImageLazyProxy()
236 sk_sp<GrRefCntedCallback> releaseHelper) in MakePromiseImageLazyProxy()
321 sk_sp<GrRefCntedCallback> fReleaseHelper; in MakePromiseImageLazyProxy()
DSkImage_GpuBase.h53 sk_sp<GrRefCntedCallback> releaseHelper);
DSkImage_GpuYUVA.cpp229 auto releaseHelper = GrRefCntedCallback::Make(textureReleaseProc, releaseContext); in MakeFromYUVATextures()
347 sk_sp<GrRefCntedCallback> releaseHelpers[4]; in MakePromiseYUVATexture()
349 releaseHelpers[i] = GrRefCntedCallback::Make(textureReleaseProc, textureContexts[i]); in MakePromiseYUVATexture()
/external/skia/src/gpu/d3d/
DGrD3DGpu.h197 void addFinishedCallback(sk_sp<GrRefCntedCallback> finishedCallback);
223 sk_sp<GrRefCntedCallback> finishedCallback,
232 sk_sp<GrRefCntedCallback> finishedCallback,
DGrD3DCommandList.h107 void addFinishedCallback(sk_sp<GrRefCntedCallback> callback);
154 SkTArray<sk_sp<GrRefCntedCallback>> fFinishedCallbacks;
DGrD3DTexture.h75 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease()
DGrD3DTextureRenderTarget.h106 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease()
/external/skia/src/gpu/mock/
DGrMockGpu.h168 sk_sp<GrRefCntedCallback> finishedCallback, in onClearBackendTexture()
179 sk_sp<GrRefCntedCallback> finishedCallback, in onUpdateCompressedBackendTexture()
/external/skia/src/gpu/dawn/
DGrDawnRenderTarget.h42 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override {} in onSetRelease()
DGrDawnGpu.h147 sk_sp<GrRefCntedCallback> finishedCallback,
156 sk_sp<GrRefCntedCallback> finishedCallback,

12