skia2/tests/graphite
Michael Ludwig fe2acfb281 [graphite] Move id off of UniformData and into UniformCache
Also renames UniformCache::findOrCreate() to insert(), and has it return
the assigned id. ExtractCombo() now does not take a UniformCache, since
it just has to return the CPU data extracted from the PaintParams. The
caching/id assignment is the responsibility of the DrawPass.

Updates unit tests and DrawPass to use this instead.

Bug: skia:12466
Change-Id: Ib363fcad799f62d0ad31bb9d3e4c995e191cae80
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/475798
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-11-24 17:11:06 +00:00
..
CommandBufferTest.cpp [graphite] Add vertex/instance attribute definition to RenderStep 2021-11-22 22:31:09 +00:00
IntersectionTreeTest.cpp [graphite] Add an IntersectionTree class 2021-10-19 19:45:01 +00:00
MaskTest.cpp [graphite] Remove use of GraphiteTypesPriv and move to *Types in src. 2021-11-15 20:57:23 +00:00
ProgramCacheTest.cpp Add ShaderType::kSolidColor and make Combinations work w/ PaintParams 2021-11-16 16:31:09 +00:00
RectTest.cpp [graphite] Update Shape to use skgpu::Rect and float2 2021-10-19 23:25:48 +00:00
ShapeTest.cpp [graphite] Remove the skpu::geom namespace 2021-10-12 17:55:07 +00:00
TransformTest.cpp [graphite] Add Transform that wraps matrix, inverse, type and scale factors 2021-10-16 00:06:32 +00:00
UniformCacheTest.cpp [graphite] Move id off of UniformData and into UniformCache 2021-11-24 17:11:06 +00:00
UniformTest.cpp [graphite] Move id off of UniformData and into UniformCache 2021-11-24 17:11:06 +00:00