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

Unified Diff: cc/resources/tile.h

Issue 13665003: cc: Moved contents_swizzled out of TileManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed unittest compile Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/platform_color.h ('k') | cc/resources/tile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index 8d47da76f316f8d463ea879b031d07e26728f97b..d519851dc1370bb23fe307605a18d4333e04f0f7 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -25,7 +25,6 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
Tile(TileManager* tile_manager,
PicturePileImpl* picture_pile,
gfx::Size tile_size,
- GLenum format,
gfx::Rect content_rect,
gfx::Rect opaque_rect,
float contents_scale,
@@ -75,7 +74,6 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
const ManagedTileState& managed_state() const { return managed_state_; }
inline size_t bytes_consumed_if_allocated() const {
- DCHECK(format_ == GL_RGBA);
return 4 * tile_size_.width() * tile_size_.height();
}
@@ -87,7 +85,6 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
TileManager* tile_manager_;
scoped_refptr<PicturePileImpl> picture_pile_;
gfx::Rect tile_size_;
- GLenum format_;
gfx::Rect content_rect_;
float contents_scale_;
gfx::Rect opaque_rect_;
« no previous file with comments | « cc/resources/platform_color.h ('k') | cc/resources/tile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698