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

Unified Diff: cc/tiles/tile_manager.h

Issue 2336853002: cc: Plumb device color space through to rasterization (Closed)
Patch Set: Created 4 years, 3 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
Index: cc/tiles/tile_manager.h
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h
index 3510c20ddd8571001715dbe1cc25d525454829a0..f7d7a6ba884142eb3500b09419a321df2c0901da 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -128,6 +128,7 @@ class CC_EXPORT TileManager {
void Flush();
ScopedTilePtr CreateTile(const Tile::CreateInfo& info,
+ const gfx::ColorSpace& color_space,
int layer_id,
int source_frame_number,
int flags);
@@ -148,7 +149,8 @@ class CC_EXPORT TileManager {
TileDrawInfo& draw_info = tiles[i]->draw_info();
draw_info.resource_ = resource_pool_->AcquireResource(
tiles[i]->desired_texture_size(),
- raster_buffer_provider_->GetResourceFormat(false), gfx::ColorSpace());
+ raster_buffer_provider_->GetResourceFormat(false),
+ tiles[i]->color_space());
}
}

Powered by Google App Engine
This is Rietveld 408576698