skia2/tests/graphite
Michael Ludwig b920095295 [graphite] Use RAII helper structs to configure append modes in DrawWriter
Move to RAII structs wrapping DrawWriter to control the append mode.
This allows each struct to define any extra template parameters/buffers
needed for the appended data, and expose only the appending API that
makes sense.

In follow up CLs, the RAII structs make it easy to support reserving
and returning vertex data, and add new appending modes.

Cq-Include-Trybots: luci.skia.skia.primary:Test-Mac11-Clang-MacMini9.1-GPU-AppleM1-arm64-Release-All-Graphite,Test-Mac11-Clang-MacMini9.1-GPU-AppleM1-arm64-Debug-All-ASAN_Graphite,Build-Mac-Clang-arm64-Release-iOS_Graphite,Build-Mac-Clang-arm64-Release-Graphite,Build-Mac-Clang-arm64-Debug-iOS_Graphite,Build-Mac-Clang-arm64-Debug-Graphite_NoGpu,Build-Mac-Clang-arm64-Debug-Graphite,Build-Mac-Clang-arm64-Debug-ASAN_Graphite
Bug: skia:12703
Change-Id: I5ef1bfdf3b4fa175bcfb25cc61fd0c46a62d46c4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/498016
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2022-01-26 21:52:45 +00:00
..
BackendTextureTest.cpp [graphite] Remove ref counting from Recorder. 2022-01-13 16:27:29 +00:00
ComboTest.cpp [graphite] Add ImageShader and BlendShader SkPaintParamKey support (take 2) 2022-01-21 17:06:01 +00:00
CommandBufferTest.cpp [graphite] Use RAII helper structs to configure append modes in DrawWriter 2022-01-26 21:52:45 +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
MtlBackendTextureTest.mm [graphite] Add Context create/deleteBackendTexture calls. 2021-11-30 21:36:23 +00:00
RecorderTest.cpp [graphite] Remove ref counting from Recorder. 2022-01-13 16:27:29 +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 SLType, Uniform, and UniformData to src/core 2022-01-21 16:40:31 +00:00
UniformTest.cpp [graphite] Move SLType, Uniform, and UniformData to src/core 2022-01-21 16:40:31 +00:00