skia2/src
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
..
android More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
c Migrate to drawImage w/ sampling 2021-01-22 22:38:02 +00:00
codec get image from skcodec 2021-01-25 21:50:16 +00:00
core Enable dithering in more situations by using raster pipeline 2021-03-02 16:56:23 +00:00
effects Reland "centralize runtime effect caching" 2021-02-28 17:23:15 +00:00
fonts
gpu Redesign program key construction 2021-03-02 23:46:48 +00:00
image Remove bug-prone SkIDChangeListener singleThreaded arg 2021-02-26 17:05:53 +00:00
images Bitmap.asImage() 2020-12-23 15:54:57 +00:00
lazy
opts remove SkRP TODOs 2021-02-09 02:44:14 +00:00
pathops guard pathops debug feature better 2021-01-29 21:46:48 +00:00
pdf Migrate to drawImage w/ sampling 2021-01-22 22:38:02 +00:00
ports Remove deprecated tile filter header 2021-02-25 19:09:49 +00:00
sfnt
shaders Make GrGLSLFragmentProcessors be created as std::unique_ptr. 2021-02-23 19:31:01 +00:00
sksl Add GetConstantValueForVariable to constant-folder. 2021-03-02 22:59:04 +00:00
svg Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
utils remove unused Mode from GrBlurredEdgeFP 2021-02-25 22:28:30 +00:00
xml Less string copies of text in XML parsing. 2021-02-05 15:36:43 +00:00
xps Fix type in Issue 11102: Add support for UWP compilation target 2021-02-13 23:38:48 +00:00