DescriptionFlush GrContext between benchmark draw loops
This change updates a small subset of benchmarks to flush the GrContext
between draw loops (specifically SKP benchmarks, SampleApp, and the
warmup in visualbench). This helps improve timing accuracy by not
allowing the gpu to batch across draw boundaries in the affected
benchmarks.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/e6d2024c689199b09df0d7048fc5252179d52aff
Patch Set 1 #Patch Set 2 : Check for SK_SUPPORT_GPU #
Messages
Total messages: 11 (5 generated)
|