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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2336853002: cc: Plumb device color space through to rasterization (Closed)
Patch Set: Use suggested approach 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/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 7f424f9897c6de8d5aa805c2032c17783022631f..ffb90b4451dc636c732b8c2ff8482f3cfeab43fe 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1323,6 +1323,10 @@ void LayerTreeHostImpl::SetIsLikelyToRequireADraw(
is_likely_to_require_a_draw_ = is_likely_to_require_a_draw;
}
+const gfx::ColorSpace& LayerTreeHostImpl::GetTileColorSpace() const {
+ return sync_tree()->device_color_space();
ccameron 2016/09/13 23:34:16 I'd vaguely want to put the device_color_space han
vmpstr 2016/09/14 23:00:43 sync_tree might be nullptr, right? If we activate
ccameron 2016/09/15 07:13:42 I was planning to have this return a gfx::ColorSpa
+}
+
void LayerTreeHostImpl::NotifyReadyToActivate() {
client_->NotifyReadyToActivate();
}

Powered by Google App Engine
This is Rietveld 408576698