skia2/experimental
Michael Ludwig 61c032ea1b [graphite] Keep baseVertex,baseInstance relative to offset specified when vertex buffers were bound
All of the draw variants except drawIndexed support all base arguments
as part of the draw call that is recorded. Updated drawIndexed to use
the "instance" version and draw 1 instance if the baseVertex is not 0.

Previously, if we bound the buffer at a non-zero offset, but then
passed in 0 for the base vertex/instance relative to that, it would
reset the vertex offset to 0. This also cuts down on the number of
commands recorded since draws will only correspond to one command.

Bug: skia:12466
Change-Id: I3eb95b02d33f2d1e9b36991a8b824012383bc192
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/474058
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
2021-11-22 16:55:12 +00:00
..
bazel_test [infra] Add initial platforms and constraint values 2021-10-26 18:27:13 +00:00
c-api-example Fix C API example, ensure the C API example is built in CI 2020-12-15 16:38:42 +00:00
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
documentation Update references to master branch 2021-05-21 15:18:16 +00:00
ffmpeg Remove ableist language 2021-06-16 21:37:21 +00:00
graphite [graphite] Keep baseVertex,baseInstance relative to offset specified when vertex buffers were bound 2021-11-22 16:55:12 +00:00
lowp-basic add constrained_add 2021-11-01 17:30:16 +00:00
minimal_ios_mtl_skia_app [graphite] Add a Graphite no Gpu (i.e. Ganesh) build bot 2021-10-28 17:58:59 +00:00
pvg add pvg experiment 2018-11-02 15:35:21 +00:00
skottiekit Remove GPU V2 2021-11-11 17:11:19 +00:00
skrive Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
sktext Fixing Android build 2021-10-22 17:49:02 +00:00
sorttoy Rename experimental app to 'sorttoy' 2021-07-01 19:11:26 +00:00
tools Add sleep option to web_to_(skp|mskp) shell scripts. 2020-06-19 19:06:29 +00:00
tskit [infra] Deduplicate serve.py 2021-10-12 11:42:50 +00:00
wasm-skp-debugger Remove GPU V2 2021-11-11 17:11:19 +00:00
webgpu-bazel [infra] Add initial Bazel rules and files 2021-11-09 12:32:25 +00:00
xform Reland "Simplify SkRasterClip now that it's only intersect/diff" 2021-08-31 18:16:31 +00:00
xps_to_png experimental/xps_to_png: pass in DPI as program argument 2016-11-14 15:39:09 +00:00