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

Unified Diff: ui/gl/dc_renderer_layer_params.cc

Issue 2852953003: Use real colorspace for DirectComposition overlays.
Patch Set: rebase Created 3 years, 7 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
« cc/output/gl_renderer.cc ('K') | « ui/gl/dc_renderer_layer_params.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/dc_renderer_layer_params.cc
diff --git a/ui/gl/dc_renderer_layer_params.cc b/ui/gl/dc_renderer_layer_params.cc
index 023e3a9788ede51e5e4061aff654b38e600e69ea..21c659956049a0508cd1513a440ee9a4311ce236 100644
--- a/ui/gl/dc_renderer_layer_params.cc
+++ b/ui/gl/dc_renderer_layer_params.cc
@@ -19,7 +19,8 @@ DCRendererLayerParams::DCRendererLayerParams(
unsigned background_color,
unsigned edge_aa_mask,
float opacity,
- unsigned filter)
+ unsigned filter,
+ const gfx::ColorSpace& color_space)
: is_clipped(is_clipped),
clip_rect(clip_rect),
z_order(z_order),
@@ -30,7 +31,8 @@ DCRendererLayerParams::DCRendererLayerParams(
background_color(background_color),
edge_aa_mask(edge_aa_mask),
opacity(opacity),
- filter(filter) {}
+ filter(filter),
+ color_space(color_space) {}
DCRendererLayerParams::DCRendererLayerParams(
const DCRendererLayerParams& other) = default;
« cc/output/gl_renderer.cc ('K') | « ui/gl/dc_renderer_layer_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698