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

Unified Diff: ui/gl/dc_renderer_layer_params.h

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
Index: ui/gl/dc_renderer_layer_params.h
diff --git a/ui/gl/dc_renderer_layer_params.h b/ui/gl/dc_renderer_layer_params.h
index 933bf02fcac50d0e301b65235aeab505500cdd14..efbcf059e4828f64457f8cfe0651868febc404e7 100644
--- a/ui/gl/dc_renderer_layer_params.h
+++ b/ui/gl/dc_renderer_layer_params.h
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "third_party/skia/include/core/SkColor.h"
+#include "ui/gfx/color_space.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
@@ -32,7 +33,8 @@ struct GL_EXPORT DCRendererLayerParams {
unsigned background_color,
unsigned edge_aa_mask,
float opacity,
- unsigned filter);
+ unsigned filter,
+ const gfx::ColorSpace& color_space);
DCRendererLayerParams(const DCRendererLayerParams& other);
~DCRendererLayerParams();
@@ -47,6 +49,7 @@ struct GL_EXPORT DCRendererLayerParams {
unsigned edge_aa_mask;
float opacity;
unsigned filter;
+ gfx::ColorSpace color_space;
// This is a subset of cc::FilterOperation::FilterType.
enum class FilterEffectType : uint32_t {

Powered by Google App Engine
This is Rietveld 408576698