skia2/include/gpu
Adlai Holler 194b239e09 Reland "Use objc_externally_retained to cut down retain/release in Metal"
This reverts commit 8b6788079f.

Reason for revert: Fixed variable type for chrome & flutter

Basically, you can't use objc_externally_retained with `auto` type
variables because the compiler isn't smart enough to deduce the type
before checking that it's compatible with the attribute.

Original change's description:
> Revert "Use objc_externally_retained to cut down retain/release in Metal"
>
> This reverts commit 78381ee5e0.
>
> Reason for revert: breaking chromium and flutter mac builds
>
> Original change's description:
> > Use objc_externally_retained to cut down retain/release in Metal
> >
> > Until we get off of ARC, these extra retains and releases can really
> > add up in previous profiling of Metal, especially on iOS.
> >
> > Change-Id: Ib3aaa0b863c4469bdb6ad930395a170719c0293d
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/381110
> > Commit-Queue: Adlai Holler <adlai@google.com>
> > Reviewed-by: Jim Van Verth <jvanverth@google.com>
> > Reviewed-by: Brian Salomon <bsalomon@google.com>
>
> TBR=jvanverth@google.com,bsalomon@google.com,adlai@google.com
>
> Change-Id: I36aff7698a70052a42b91a910b92fd512b3eecd4
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/388717
> Reviewed-by: Michael Ludwig <michaelludwig@google.com>
> Commit-Queue: Michael Ludwig <michaelludwig@google.com>


Change-Id: I5cad02fc9d8c7f21e22021858b2e6e9b038a3de6
Cq-Include-Trybots: luci.skia.skia.primary:Canary-Flutter
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/389157
Commit-Queue: Adlai Holler <adlai@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-03-30 14:43:15 +00:00
..
d3d Add sample count field to GrD3DTextureResourceInfo. 2020-09-30 14:03:39 +00:00
dawn Roll dawn and adjust for new SwapChain API. 2020-01-28 18:26:44 +00:00
gl Remove NVPR entry points from Skia's GL interface 2021-03-22 17:44:16 +00:00
mock Stop overflow of windows rects in GrClipStack 2020-11-30 18:12:24 +00:00
mtl Reland "Use objc_externally_retained to cut down retain/release in Metal" 2021-03-30 14:43:15 +00:00
vk Remove SK_USE_LEGACY_VK_ALLOCATOR_USAGE_NAMES code. 2021-02-17 20:30:48 +00:00
GrBackendDrawableInfo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSemaphore.h Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
GrBackendSurface.h Add stencil formats to all the backends. 2020-10-07 17:58:31 +00:00
GrBackendSurfaceMutableState.h Add optional param to setBackendTextureState to return previous state. 2020-09-23 19:54:59 +00:00
GrConfig.h Fix checks of GR_TEST_UTILS. 2020-09-25 15:58:53 +00:00
GrContextOptions.h Reland "Add tooling support for dmsaa" 2021-03-18 04:57:10 +00:00
GrContextThreadSafeProxy.h Add GrThreadSafePipelineBuilder 2021-03-03 16:44:21 +00:00
GrDirectContext.h Expand SkMessageBus to support different unique key types 2021-03-11 20:38:00 +00:00
GrDriverBugWorkarounds.h Fix CanvasKit warnings compiling on Mac with emsdk 2.0.0 2020-09-18 20:35:12 +00:00
GrDriverBugWorkaroundsAutogen.h Rewrite restore_scissor_on_fbo_change 2020-12-09 16:15:09 +00:00
GrRecordingContext.h Reland "remove the OpMemoryPool" 2021-03-16 14:49:28 +00:00
GrTypes.h Remove NVPR 2021-03-19 12:26:38 +00:00
GrYUVABackendTextures.h Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00