skia2/include/gpu
Jim Van Verth dac1e55862 Use GrCFResource class to manage backend surface MtlTexture resources.
The texture resource in MtlTextureInfo is a CoreFoundation object,
so we have to manage the refcounting ourselves. GrCFResource is a
wrapper class which will automatically take care of this for us on
creation, assignment, and destruction.

Bug: chromium:964498
Change-Id: I9a3768833744d4aaaec2142200283f0e7eaad165
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/216351
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Christopher Cameron <ccameron@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
2019-05-31 14:00:12 +00:00
..
gl Reland "Get EGLimage functions out of GrGLInterface." 2019-05-15 19:58:45 +00:00
mock rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
mtl Use GrCFResource class to manage backend surface MtlTexture resources. 2019-05-31 14:00:12 +00:00
vk rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendDrawableInfo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSemaphore.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSurface.h Use GrCFResource class to manage backend surface MtlTexture resources. 2019-05-31 14:00:12 +00:00
GrBlend.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrConfig.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrContext.h Revert "Change Metal to not take ownership of objects" 2019-05-28 03:30:23 +00:00
GrContextOptions.h Add ShaderErrorHandler to GrContextOptions 2019-05-06 16:29:13 +00:00
GrContextThreadSafeProxy.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrDriverBugWorkarounds.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrDriverBugWorkaroundsAutogen.h Add disable_texture_storage workaround 2018-08-22 23:56:23 +00:00
GrGpuResource.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrRenderTarget.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrSamplerState.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrSurface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrTexture.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrTypes.h Alter createTestingOnlyBackendTexture methods 2019-05-13 15:39:33 +00:00