DescriptionReduce CPU overhead on drawRegion()
Only batch when the view matrices are the same.
This allows us to skip applying the matrix and uploading
local coords.
drawregion Bench on Nexus 6P:
Before 4.69ms
After 2.83ms
This puts SkiaGL nearly on par with OpenGL.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2282983003
Committed: https://skia.googlesource.com/skia/+/febb22469999b928850182ebc57bfd6fbd7402d6
Patch Set 1 : Update bench #
Total comments: 1
Depends on Patchset: Messages
Total messages: 16 (12 generated)
|