DescriptionDon't call finish on GrDrawTarget if we drew no batches
This might give us some minor perf gains in vulkan since we won't be submitting
command buffers that we've added to batch draws to. Running nanobench this does
seem to happen pretty often.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2179903008
Committed: https://skia.googlesource.com/skia/+/b4021cfd6630dccc95ee1d4124cad41c79103129
Patch Set 1 #Patch Set 2 : Move check to top of drawBatches #Patch Set 3 : nit #Messages
Total messages: 9 (4 generated)
|