dac1e55862
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> |
||
---|---|---|
.. | ||
gl | ||
mock | ||
mtl | ||
vk | ||
GrBackendDrawableInfo.h | ||
GrBackendSemaphore.h | ||
GrBackendSurface.h | ||
GrBlend.h | ||
GrConfig.h | ||
GrContext.h | ||
GrContextOptions.h | ||
GrContextThreadSafeProxy.h | ||
GrDriverBugWorkarounds.h | ||
GrDriverBugWorkaroundsAutogen.h | ||
GrGpuResource.h | ||
GrRenderTarget.h | ||
GrSamplerState.h | ||
GrSurface.h | ||
GrTexture.h | ||
GrTypes.h |