skia2/include/gpu
Greg Daniel 0e9d34d33c Reland "Remove GrBackendFormat's textureType use from isFormatTexturable call."
This reverts commit d90777ada3.

Reason for revert: relanding with fix to GrBackendTexture

Original change's description:
> Revert "Remove GrBackendFormat's textureType use from isFormatTexturable call."
>
> This reverts commit 832c817bc8.
>
> Reason for revert: uninitialized value in GrBackendTexture
>
> Original change's description:
> > Remove GrBackendFormat's textureType use from isFormatTexturable call.
> >
> > The goal of this change was to remove the use of GrBackendFormat::textureType()
> > from GrCaps::isFormatTexturable call. Instead we will always pass in a
> > GrTextureType into this call.
> >
> > To do this a lot of plumbing of GrTextureType was added to various call
> > sites. However, this CL halts the plubming up at the proxy level where we
> > get it from the GrBackendFormat still. Future CLs will continue removing
> > these call sites and others that use GrBackendFormat::textureType().
> >
> > Bug: skia:12342
> > Change-Id: Ic0f02b9c7f7402405623b8aa31aa32a9a7c22297
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439277
> > Commit-Queue: Greg Daniel <egdaniel@google.com>
> > Reviewed-by: Brian Salomon <bsalomon@google.com>
>
> TBR=egdaniel@google.com,bsalomon@google.com,skcq-be@skia-corp.google.com.iam.gserviceaccount.com
>
> Change-Id: I354bbbf00be7a86c480009f3e7b36a8777a6bf3a
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: skia:12342
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439338
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Greg Daniel <egdaniel@google.com>

# Not skipping CQ checks because this is a reland.

Bug: skia:12342
Change-Id: I151196f149f9e191d2975b8fe81334f4f8720744
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439339
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2021-08-13 22:37:13 +00:00
..
d3d Direct3D: add aliasing texture support 2021-04-19 18:20:44 +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 Reland "Remove GrBackendFormat's textureType use from isFormatTexturable call." 2021-08-13 22:37:13 +00:00
GrBackendSurfaceMutableState.h Remove ableist language 2021-06-16 21:37:21 +00:00
GrConfig.h Fix checks of GR_TEST_UTILS. 2020-09-25 15:58:53 +00:00
GrContextOptions.h Misc skgpu cleanup 2021-07-09 15:06:16 +00:00
GrContextThreadSafeProxy.h Make compressedBackendFormat accessible from GrContextThreadSafeProxy 2021-08-05 21:44:11 +00:00
GrDirectContext.h Make compressedBackendFormat accessible from GrContextThreadSafeProxy 2021-08-05 21:44:11 +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 Rename GrSurfaceContext -> skgpu::SurfaceContext 2021-08-10 19:24:53 +00:00
GrTypes.h Fix -Wc++11-narrowing for Skia. 2021-06-15 17:49:08 +00:00
GrYUVABackendTextures.h Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00