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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2102203003: Color: Plumb color profile from ui::Compositor to cc::DirectRenderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on top of s/ColorProfile/ColorSpace/ Created 4 years, 6 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/test/pixel_test_output_surface.cc ('k') | components/mus/surfaces/direct_output_surface_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ba448b7e4737bc7ce45659ad446d2682900a907f..8c4e7498c3110a67a0ec37387251717a43ad5e70 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1686,11 +1686,12 @@ void LayerTreeHostImpl::DrawLayers(FrameData* frame) {
use_image_hijack_canvas);
temp_software_renderer->DrawFrame(
&frame->render_passes, active_tree_->device_scale_factor(),
- DeviceViewport(), DeviceClip(), disable_picture_quad_image_filtering);
+ gfx::ColorSpace(), DeviceViewport(), DeviceClip(),
+ disable_picture_quad_image_filtering);
} else {
renderer_->DrawFrame(&frame->render_passes,
- active_tree_->device_scale_factor(), DeviceViewport(),
- DeviceClip(), false);
+ active_tree_->device_scale_factor(), gfx::ColorSpace(),
+ DeviceViewport(), DeviceClip(), false);
}
// The render passes should be consumed by the renderer.
DCHECK(frame->render_passes.empty());
« no previous file with comments | « cc/test/pixel_test_output_surface.cc ('k') | components/mus/surfaces/direct_output_surface_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698