DescriptionOptimize visualbench offscreen blits
Modifies NvprWrappedBenchmark to present its offscreen canvas via
GrContext::copySurface rather than going through the SkCanvas API.
Only copies a subrectangle the size of the benchmark, not the entire
canvas.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/0f6cca8a2070b974368652ec04b6003e9205a8a3
Patch Set 1 #Patch Set 2 : comment #Patch Set 3 : one more check #
Total comments: 6
Patch Set 4 : simplify #Patch Set 5 : subrect for cpu bench as well #Patch Set 6 : use src mode for the cpu blit #Patch Set 7 : Remove dependency on unrelated issue #Patch Set 8 : Fix msvc warnings #
Messages
Total messages: 22 (9 generated)
|