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

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: 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/output/overlay_unittest.cc ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/renderer.h
diff --git a/cc/output/renderer.h b/cc/output/renderer.h
index 42a864d72cb58612e805b58b4bccbb7127e3ab90..2b5a52c929c0b2cf3f1d0f480503371bcc0392e9 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_space.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::ColorSpace& device_color_space,
const gfx::Rect& device_viewport_rect,
const gfx::Rect& device_clip_rect,
bool disable_picture_quad_image_filtering) = 0;
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698