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> |
||
---|---|---|
.. | ||
bazel_test | ||
c-api-example | ||
docs | ||
documentation | ||
ffmpeg | ||
graphite | ||
lowp-basic | ||
minimal_ios_mtl_skia_app | ||
pvg | ||
skottiekit | ||
skrive | ||
sktext | ||
sorttoy | ||
tools | ||
tskit | ||
wasm-hello-world | ||
wasm-skp-debugger | ||
webgpu-bazel | ||
xform | ||
xps_to_png |