DescriptionAdd SkBBoxHierarchy::reserve() as an optional size hint.
I want to play around with how SkTileGrid stores its tiles. Having a
cap on the number of insert() calls can be pretty handy.
While I'm at it, I gave flush() a default empty impl. Like reserve(),
it's really an optional hook for subclasses.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/208d1704c2cc1161ea337a05155f2b9a04edd351
Patch Set 1 #Patch Set 2 : rebase #
Messages
Total messages: 11 (4 generated)
|