skia2/include/gpu
Brian Osman bbbf1a7f50 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>
2021-03-02 23:46:48 +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 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 Redesign program key construction 2021-03-02 23:46:48 +00:00
GrContextThreadSafeProxy.h Add a new entry point for making promise images 2021-02-22 23:33:56 +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