614c1a838a
A proc can be registered with a GrTexture. The proc will be called when it is safe to delete the texture is "idle." Idle means it referred to outside of GrResourceCache and that the I/O operations on the GPU are completed (this latter part applieas to Vulkan only). The intended use case for this is to call promise image texture release procs once we start caching GrTextures for deinstantiated promise images. Bug= skia:8613 Change-Id: Idce9a4292fef7b15370a053060d8878a9d6828fa Reviewed-on: https://skia-review.googlesource.com/c/178937 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com> |
||
---|---|---|
.. | ||
gl | ||
mock | ||
mtl | ||
vk | ||
GrBackendDrawableInfo.h | ||
GrBackendSemaphore.h | ||
GrBackendSurface.h | ||
GrBlend.h | ||
GrConfig.h | ||
GrContext.h | ||
GrContextOptions.h | ||
GrDriverBugWorkarounds.h | ||
GrDriverBugWorkaroundsAutogen.h | ||
GrGpuResource.h | ||
GrRenderTarget.h | ||
GrResourceKey.h | ||
GrSamplerState.h | ||
GrSurface.h | ||
GrTexture.h | ||
GrTypes.h |