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

Side by Side Diff: cc/resources/picture_layer_tiling_set.h

Issue 107413008: Merge 241994 "Revert "cc: Added tile bundles"" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « cc/resources/picture_layer_tiling_perftest.cc ('k') | cc/resources/picture_layer_tiling_set.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ 5 #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_
6 #define CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ 6 #define CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_
7 7
8 #include "cc/base/region.h" 8 #include "cc/base/region.h"
9 #include "cc/base/scoped_ptr_vector.h" 9 #include "cc/base/scoped_ptr_vector.h"
10 #include "cc/resources/picture_layer_tiling.h" 10 #include "cc/resources/picture_layer_tiling.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // regardless of the relative contents scale of the tiling. 88 // regardless of the relative contents scale of the tiling.
89 gfx::Rect geometry_rect() const; 89 gfx::Rect geometry_rect() const;
90 // Texture rect (in texels) for geometry_rect 90 // Texture rect (in texels) for geometry_rect
91 gfx::RectF texture_rect() const; 91 gfx::RectF texture_rect() const;
92 // Texture size in texels 92 // Texture size in texels
93 gfx::Size texture_size() const; 93 gfx::Size texture_size() const;
94 94
95 Tile* operator->() const; 95 Tile* operator->() const;
96 Tile* operator*() const; 96 Tile* operator*() const;
97 97
98 TilePriority priority();
99
100 CoverageIterator& operator++(); 98 CoverageIterator& operator++();
101 operator bool() const; 99 operator bool() const;
102 100
103 PictureLayerTiling* CurrentTiling(); 101 PictureLayerTiling* CurrentTiling();
104 102
105 private: 103 private:
106 int NextTiling() const; 104 int NextTiling() const;
107 105
108 const PictureLayerTilingSet* set_; 106 const PictureLayerTilingSet* set_;
109 float contents_scale_; 107 float contents_scale_;
(...skipping 15 matching lines...) Expand all
125 gfx::Size layer_bounds_; 123 gfx::Size layer_bounds_;
126 ScopedPtrVector<PictureLayerTiling> tilings_; 124 ScopedPtrVector<PictureLayerTiling> tilings_;
127 125
128 friend class Iterator; 126 friend class Iterator;
129 DISALLOW_COPY_AND_ASSIGN(PictureLayerTilingSet); 127 DISALLOW_COPY_AND_ASSIGN(PictureLayerTilingSet);
130 }; 128 };
131 129
132 } // namespace cc 130 } // namespace cc
133 131
134 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ 132 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_
OLDNEW
« no previous file with comments | « cc/resources/picture_layer_tiling_perftest.cc ('k') | cc/resources/picture_layer_tiling_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698