skia2/include/gpu
Brian Osman f0de96f7b8 Reland "Redesign program key construction"
This is a reland of bbbf1a7f50

Original change's description:
> Redesign program key construction
>
> This does two things:
> 1) Moves responsibility for bit-packing portions of the key into the key
>    itself. A new GrKeyBuilder type manages adding bits, with asserts to
>    ensure a value always fits in the requested number. In theory this
>    will let us generate smaller keys overall, at the expense of slightly
>    more complex code during construction.
> 2) Adds a string label parameter for key methods that fold in data. For
>    new methods, the label is required. To ease migration, the old add32
>    does not require a label (yet). This will let us generate detailed,
>    human readable keys, either based on SK_DEBUG, or a runtime option
>    (if we're comfortable paying the cost).
>
> Bug: skia:11372
> Change-Id: Ib0f941551e0dbadabbd2a7de912b00e9e766b166
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/377876
> Commit-Queue: Brian Osman <brianosman@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>

Bug: skia:11372
Cq-Include-Trybots: luci.skia.skia.primary:Test-Win10-MSVC-Golo-GPU-QuadroP400-x86_64-Debug-All-Vulkan
Change-Id: I179ed581bc9ba772191e727274ac0ac6979ebdf3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/378778
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-03-03 17:44:00 +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 Support building GrGLInterface factory functions for both EGL and GLX. 2021-02-23 16:37:48 +00:00
mock Stop overflow of windows rects in GrClipStack 2020-11-30 18:12:24 +00:00
mtl Reland "Remove ARC from tools lib." 2021-02-22 17:55:52 +00:00
vk Remove SK_USE_LEGACY_VK_ALLOCATOR_USAGE_NAMES code. 2021-02-17 20:30:48 +00:00
GrBackendDrawableInfo.h
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 "Redesign program key construction" 2021-03-03 17:44:00 +00:00
GrContextThreadSafeProxy.h Add GrThreadSafePipelineBuilder 2021-03-03 16:44:21 +00:00
GrDirectContext.h Remove GrDirectContext::ComputeImageSize. Use SkImage::textureSize. 2021-02-18 16:56:19 +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 Move GrProxyProvider down to GrRecordingContext 2021-02-18 20:06:25 +00:00
GrTypes.h Rename GrMipMapped GrMipmapped 2020-07-21 14:06:35 +00:00
GrYUVABackendTextures.h Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00