skia2/tools/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 Revert "Reland "Use Microsoft's ComPtr to wrap D3D12 objects."" 2020-09-21 22:02:12 +00:00
dawn Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gl Reland "Remove ARC from tools lib." 2021-02-22 17:55:52 +00:00
mock Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
mtl Reland "Remove ARC from tools lib." 2021-02-22 17:55:52 +00:00
vk Update GrAttachment budgeted and gpu memory size calculation. 2020-10-19 17:54:10 +00:00
BackendSurfaceFactory.cpp Revert "Revert "Reland "asyncRescaleAndRead supports unpremul results on GPU""" 2021-01-22 14:21:01 +00:00
BackendSurfaceFactory.h Revert "Reland "Revert "Use ManagedBackendTexture in place of TestUtils backend texture helpers.""" 2020-10-13 01:22:13 +00:00
BackendTextureImageFactory.cpp Take origin when creating/updating backend texture using pixmaps. 2020-12-07 20:31:10 +00:00
BackendTextureImageFactory.h Revert "Reland "Revert "Use ManagedBackendTexture in place of TestUtils backend texture helpers.""" 2020-10-13 01:22:13 +00:00
FenceSync.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FlushFinishTracker.cpp Update additional tools to take a GrDirectContext 2020-07-01 20:42:25 +00:00
FlushFinishTracker.h Update additional tools to take a GrDirectContext 2020-07-01 20:42:25 +00:00
GpuTimer.h Replace skstd::exchange with std::exchange 2020-04-30 11:14:20 +00:00
GrContextFactory.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GrContextFactory.h Add config "glesfakev2". It runs GLES with the version faked as 2. 2020-08-26 20:04:34 +00:00
GrTest.cpp whole-word replace renderTargetContext with surfaceDrawContext 2020-12-11 23:24:40 +00:00
ManagedBackendTexture.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
ManagedBackendTexture.h Use the ManagedBackendTexture helper in fiddle_main 2020-12-08 17:39:12 +00:00
MemoryCache.cpp Redesign program key construction 2021-03-02 23:46:48 +00:00
MemoryCache.h Redesign program key construction 2021-03-02 23:46:48 +00:00
ProxyUtils.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
ProxyUtils.h Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
TestContext.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
TestContext.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
TestOps.cpp Pass in the color load op to GrProgramInfo. 2020-11-20 16:29:56 +00:00
TestOps.h add API for Op creation 2020-10-26 18:51:15 +00:00
YUVUtils.cpp Reland "Test all YUVA image factories with different encoded origins." 2021-01-19 21:11:05 +00:00
YUVUtils.h Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00