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

Side by Side Diff: cc/tile.h

Issue 11417111: cc: Add PictureLayerTilingSet to manage PictureLayerTiling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win_rel Created 8 years, 1 month 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/test/fake_tile_manager_client.h ('k') | cc/tile_manager.h » ('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_TILE_H_ 5 #ifndef CC_TILE_H_
6 #define CC_TILE_H_ 6 #define CC_TILE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "cc/layer_tree_host_impl.h" 11 #include "cc/layer_tree_host_impl.h"
12 #include "cc/picture_pile.h" 12 #include "cc/picture_pile.h"
13 #include "cc/resource_provider.h" 13 #include "cc/resource_provider.h"
14 #include "cc/tile_manager.h" 14 #include "cc/tile_manager.h"
15 #include "cc/tile_priority.h" 15 #include "cc/tile_priority.h"
16 #include "ui/gfx/rect.h" 16 #include "ui/gfx/rect.h"
17 #include "ui/gfx/size.h" 17 #include "ui/gfx/size.h"
18 18
19 namespace cc { 19 namespace cc {
20 20
21 class Tile; 21 class Tile;
22 22
23 class Tile : public base::RefCounted<Tile> { 23 class CC_EXPORT Tile : public base::RefCounted<Tile> {
24 public: 24 public:
25 Tile(TileManager* tile_manager, 25 Tile(TileManager* tile_manager,
26 PicturePile* picture_pile, 26 PicturePile* picture_pile,
27 gfx::Size tile_size, 27 gfx::Size tile_size,
28 GLenum format, 28 GLenum format,
29 gfx::Rect rect_inside_picture); 29 gfx::Rect rect_inside_picture);
30 30
31 const PicturePile* picture_pile() const { 31 const PicturePile* picture_pile() const {
32 return picture_pile_; 32 return picture_pile_;
33 } 33 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 gfx::Rect rect_inside_picture_; 70 gfx::Rect rect_inside_picture_;
71 gfx::Rect opaque_rect_; 71 gfx::Rect opaque_rect_;
72 72
73 TilePriority priority_[2]; 73 TilePriority priority_[2];
74 ManagedTileState managed_state_; 74 ManagedTileState managed_state_;
75 }; 75 };
76 76
77 } // namespace cc 77 } // namespace cc
78 78
79 #endif // CC_TILE_H_ 79 #endif // CC_TILE_H_
OLDNEW
« no previous file with comments | « cc/test/fake_tile_manager_client.h ('k') | cc/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698