diff options
author | mtklein <mtklein@chromium.org> | 2014-10-09 06:49:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-09 06:49:47 -0700 |
commit | 208d1704c2cc1161ea337a05155f2b9a04edd351 (patch) | |
tree | ba422cfb3c49471b7fb9c535610c22a60689e06a /tests/RecordDrawTest.cpp | |
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
Diffstat (limited to 'tests/RecordDrawTest.cpp')
-rw-r--r-- | tests/RecordDrawTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp index ca75fc9058..f1c3a8b644 100644 --- a/tests/RecordDrawTest.cpp +++ b/tests/RecordDrawTest.cpp @@ -103,7 +103,6 @@ struct TestBBH : public SkBBoxHierarchy { fEntries.push(e); } - virtual void flushDeferredInserts() SK_OVERRIDE {} virtual void search(const SkRect& query, SkTDArray<unsigned>* results) const SK_OVERRIDE {} struct Entry { |