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

Unified Diff: cc/tiles/tile.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.h
diff --git a/cc/tiles/tile.h b/cc/tiles/tile.h
index 76142e86699118f284d0e11acb86aba35ad80348..17fb02b6d22140231ab393fe5c52162efb3f68f4 100644
--- a/cc/tiles/tile.h
+++ b/cc/tiles/tile.h
@@ -105,6 +105,8 @@ class CC_EXPORT Tile {
return invalidated_content_rect_;
}
+ const gfx::ColorSpace color_space() const { return color_space_; }
+
bool HasRasterTask() const { return !!raster_task_.get(); }
private:
@@ -115,6 +117,7 @@ class CC_EXPORT Tile {
// Methods called by by tile manager.
Tile(TileManager* tile_manager,
const CreateInfo& info,
+ const gfx::ColorSpace& color_space,
ccameron 2016/09/12 23:44:24 This didn't seem appropriate to have as part of Cr
int layer_id,
int source_frame_number,
int flags);
@@ -124,6 +127,7 @@ class CC_EXPORT Tile {
const gfx::Rect content_rect_;
const gfx::Rect enclosing_layer_rect_;
const float contents_scale_;
+ const gfx::ColorSpace color_space_;
TileDrawInfo draw_info_;
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/tiles/tile.cc » ('j') | cc/tiles/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698