commit | 208d1704c2cc1161ea337a05155f2b9a04edd351 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Thu Oct 09 06:49:47 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Oct 09 06:49:47 2014 -0700 |
tree | ba422cfb3c49471b7fb9c535610c22a60689e06a | |
parent | a9c56525f32ee0075ed8dbaff3a032b7abeed4ae [diff] |
Add 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: Review URL: https://codereview.chromium.org/639933003