Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: src/core/SkBBoxHierarchy.h

Issue 977413003: Revert of Update SkPicture cull rects with RTree information (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/core/SkPictureRecorder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkBBoxHierarchy_DEFINED 8 #ifndef SkBBoxHierarchy_DEFINED
9 #define SkBBoxHierarchy_DEFINED 9 #define SkBBoxHierarchy_DEFINED
10 10
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 virtual void insert(const SkRect[], int N) = 0; 28 virtual void insert(const SkRect[], int N) = 0;
29 29
30 /** 30 /**
31 * Populate results with the indices of bounding boxes interesecting that qu ery. 31 * Populate results with the indices of bounding boxes interesecting that qu ery.
32 */ 32 */
33 virtual void search(const SkRect& query, SkTDArray<unsigned>* results) const = 0; 33 virtual void search(const SkRect& query, SkTDArray<unsigned>* results) const = 0;
34 34
35 virtual size_t bytesUsed() const = 0; 35 virtual size_t bytesUsed() const = 0;
36 36
37 // Get the root bound.
38 virtual SkRect getRootBound() const = 0;
39
40 SK_DECLARE_INST_COUNT(SkBBoxHierarchy) 37 SK_DECLARE_INST_COUNT(SkBBoxHierarchy)
41 private: 38 private:
42 typedef SkRefCnt INHERITED; 39 typedef SkRefCnt INHERITED;
43 }; 40 };
44 41
45 #endif 42 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkPictureRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698