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

Unified Diff: cc/output/renderer.h

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: Fix ozone build 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
Index: cc/output/renderer.h
diff --git a/cc/output/renderer.h b/cc/output/renderer.h
index 42a864d72cb58612e805b58b4bccbb7127e3ab90..8bfe58f768df1b3dcafb76c9a99367dc3dc53fca 100644
--- a/cc/output/renderer.h
+++ b/cc/output/renderer.h
@@ -12,6 +12,7 @@
#include "cc/output/compositor_frame_metadata.h"
#include "cc/output/renderer_capabilities.h"
#include "cc/output/renderer_settings.h"
+#include "ui/gfx/color_profile.h"
#include "ui/gfx/geometry/rect.h"
namespace cc {
@@ -70,6 +71,7 @@ class CC_EXPORT Renderer {
// window space.
virtual void DrawFrame(RenderPassList* render_passes_in_draw_order,
float device_scale_factor,
+ const gfx::ColorProfile& device_color_profile,
const gfx::Rect& device_viewport_rect,
const gfx::Rect& device_clip_rect,
bool disable_picture_quad_image_filtering) = 0;

Powered by Google App Engine
This is Rietveld 408576698