b920095295
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> |
||
---|---|---|
.. | ||
BackendTextureTest.cpp | ||
ComboTest.cpp | ||
CommandBufferTest.cpp | ||
IntersectionTreeTest.cpp | ||
MaskTest.cpp | ||
MtlBackendTextureTest.mm | ||
RecorderTest.cpp | ||
RectTest.cpp | ||
ShapeTest.cpp | ||
TransformTest.cpp | ||
UniformCacheTest.cpp | ||
UniformTest.cpp |