DescriptionAdd --bbh (default true) to nanobench.
Chrome's using a bounding box, so it's a good idea for our
bots to do so too.
When set, we'll create an SkTileGrid to match the
parameters of --clip, and so should always hit its fast
path.
This will impose a small overhead (querying the BBH) on all
SKPs, but make large SKPs render more quickly. E.g. on
GPU desk_pokemonwiki should show about a 30% improvement,
tabl_mozilla about 40%, and one very long page from my
personal suite, askmefast.com, gets 5x faster.
(The performance changes are not the point of the CL, but
something we should be aware of.)
BUG=
Committed: https://skia.googlesource.com/skia/+/2084050a33ae139d0fe9bb680f7905f91139a39f
Patch Set 1 #Patch Set 2 : Revert SkRecordDraw.cpp in favor of crrev.com/497493003. #
Messages
Total messages: 5 (0 generated)
|