Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/include/gpu/
DGrTexture.h66 virtual void addIdleProc(sk_sp<GrRefCntedCallback> idleProc, IdleState) { in addIdleProc()
72 void addIdleProc(GrRefCntedCallback::Callback callback, in addIdleProc()
73 GrRefCntedCallback::Context context, in addIdleProc()
75 this->addIdleProc(sk_make_sp<GrRefCntedCallback>(callback, context), state); in addIdleProc()
87 SkTArray<sk_sp<GrRefCntedCallback>> fIdleProcs;
DGrSurface.h48 void setRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setRelease()
58 sk_sp<GrRefCntedCallback> helper(new GrRefCntedCallback(proc, ctx)); in setRelease()
135 virtual void onSetRelease(sk_sp<GrRefCntedCallback>) {} in onSetRelease() argument
148 sk_sp<GrRefCntedCallback> fReleaseHelper;
/third_party/flutter/skia/src/gpu/vk/
DGrVkImage.h148 void setResourceRelease(sk_sp<GrRefCntedCallback> releaseHelper);
191 void setRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setRelease()
201 void addIdleProc(GrVkTexture*, sk_sp<GrRefCntedCallback>) const;
203 sk_sp<GrRefCntedCallback> idleProc(int) const;
216 mutable sk_sp<GrRefCntedCallback> fReleaseHelper;
237 mutable SkTArray<sk_sp<GrRefCntedCallback>> fIdleProcs;
DGrVkTexture.h41 void addIdleProc(sk_sp<GrRefCntedCallback>, IdleState) override;
69 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override { in onSetRelease()
DGrVkImage.cpp273 void GrVkImage::setResourceRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setResourceRelease()
287 sk_sp<GrRefCntedCallback> idleProc) const { in addIdleProc()
295 sk_sp<GrRefCntedCallback> GrVkImage::Resource::idleProc(int i) const { return fIdleProcs[i]; } in idleProc()
/third_party/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.cpp503 sk_sp<GrRefCntedCallback> finishedCallback, in create_and_clear_backend_texture()
526 sk_sp<GrRefCntedCallback> finishedCallback) { in update_texture_with_pixmaps()
571 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in createBackendTexture()
596 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in createBackendTexture()
629 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in createBackendTexture()
672 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in updateBackendTexture()
686 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in updateBackendTexture()
713 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in updateBackendTexture()
748 sk_sp<GrRefCntedCallback> finishedCallback, in create_and_update_compressed_backend_texture()
776 auto finishedCallback = GrRefCntedCallback::Make(finishedProc, finishedContext); in createCompressedBackendTexture()
[all …]
DGrProxyProvider.h119 sk_sp<GrRefCntedCallback> = nullptr);
124 sk_sp<GrRefCntedCallback> releaseHelper);
133 sk_sp<GrRefCntedCallback> releaseHelper);
139 sk_sp<GrRefCntedCallback> releaseHelper);
DGrGpu.h537 sk_sp<GrRefCntedCallback> finishedCallback,
550 sk_sp<GrRefCntedCallback> finishedCallback,
557 sk_sp<GrRefCntedCallback> finishedCallback) { in setBackendTextureState()
564 sk_sp<GrRefCntedCallback> finishedCallback) { in setBackendRenderTargetState()
681 sk_sp<GrRefCntedCallback> finishedCallback,
685 sk_sp<GrRefCntedCallback> finishedCallback,
DGrManagedResource.h224 void setRelease(sk_sp<GrRefCntedCallback> releaseHelper) { in setRelease()
229 mutable sk_sp<GrRefCntedCallback> fReleaseHelper;
DGrBackendTextureImageGenerator.cpp122 sk_sp<GrRefCntedCallback> releaseProcHelper; in onGenerateTexture()
140 GrRefCntedCallback::Make(ReleaseRefHelper_TextureReleaseProc, fRefHelper); in onGenerateTexture()
/third_party/skia/include/private/
DGrTypesPriv.h1257 class GrRefCntedCallback : public SkNVRefCnt<GrRefCntedCallback> {
1262 static sk_sp<GrRefCntedCallback> Make(Callback proc, Context ctx) { in Make()
1266 return sk_sp<GrRefCntedCallback>(new GrRefCntedCallback(proc, ctx)); in Make()
1269 ~GrRefCntedCallback() { fReleaseProc(fReleaseCtx); } in ~GrRefCntedCallback()
1274 GrRefCntedCallback(Callback proc, Context ctx) : fReleaseProc(proc), fReleaseCtx(ctx) {} in GrRefCntedCallback() function
1275 GrRefCntedCallback(const GrRefCntedCallback&) = delete;
1276 GrRefCntedCallback(GrRefCntedCallback&&) = delete;
1277 GrRefCntedCallback& operator=(const GrRefCntedCallback&) = delete;
1278 GrRefCntedCallback& operator=(GrRefCntedCallback&&) = delete;
/third_party/skia/src/gpu/vk/
DGrVkGpu.h86 sk_sp<GrRefCntedCallback> finishedCallback) override;
91 sk_sp<GrRefCntedCallback> finishedCallback) override;
225 sk_sp<GrRefCntedCallback> finishedCallback,
229 sk_sp<GrRefCntedCallback> finishedCallback,
238 sk_sp<GrRefCntedCallback> finishedCallback);
310 void addFinishedCallback(sk_sp<GrRefCntedCallback> finishedCallback);
/third_party/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()
/third_party/skia/src/gpu/mtl/
DGrMtlCommandBuffer.h40 void addFinishedCallback(sk_sp<GrRefCntedCallback> callback) { in addFinishedCallback()
117 SkTArray<sk_sp<GrRefCntedCallback>> fFinishedCallbacks;
DGrMtlGpu.h145 sk_sp<GrRefCntedCallback> finishedCallback,
154 sk_sp<GrRefCntedCallback> finishedCallback,
230 void addFinishedCallback(sk_sp<GrRefCntedCallback> finishedCallback);
/third_party/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_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()
/third_party/skia/src/gpu/d3d/
DGrD3DGpu.h207 void addFinishedCallback(sk_sp<GrRefCntedCallback> finishedCallback);
233 sk_sp<GrRefCntedCallback> finishedCallback,
242 sk_sp<GrRefCntedCallback> finishedCallback,
DGrD3DCommandList.h113 void addFinishedCallback(sk_sp<GrRefCntedCallback> callback);
152 SkTArray<sk_sp<GrRefCntedCallback>> fFinishedCallbacks;
/third_party/skia/src/gpu/mock/
DGrMockGpu.h182 sk_sp<GrRefCntedCallback> finishedCallback, in onClearBackendTexture()
193 sk_sp<GrRefCntedCallback> finishedCallback, in onUpdateCompressedBackendTexture()
/third_party/skia/src/gpu/dawn/
DGrDawnRenderTarget.h42 void onSetRelease(sk_sp<GrRefCntedCallback> releaseHelper) override {} in onSetRelease()
/third_party/flutter/skia/src/gpu/
DGrBackendTextureImageGenerator.cpp110 sk_sp<GrRefCntedCallback> releaseProcHelper; in onGenerateTexture()
126 new GrRefCntedCallback(ReleaseRefHelper_TextureReleaseProc, fRefHelper)); in onGenerateTexture()
DGrBackendTextureImageGenerator.h70 GrRefCntedCallback* fBorrowingContextReleaseProc;

123