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

Unified Diff: cc/output/output_surface.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/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index e29f253732f4e40a8561e1bbb4e5a8d682fb8f02..d0f1a3e43d7e0e5c0e4cb007f74832a125236f24 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -26,6 +26,7 @@ class LatencyInfo;
}
namespace gfx {
+class ColorProfile;
class Rect;
class Size;
class Transform;
@@ -123,7 +124,10 @@ class CC_EXPORT OutputSurface : public base::trace_event::MemoryDumpProvider {
virtual void EnsureBackbuffer();
virtual void DiscardBackbuffer();
- virtual void Reshape(const gfx::Size& size, float scale_factor, bool alpha);
+ virtual void Reshape(const gfx::Size& size,
+ float scale_factor,
+ const gfx::ColorProfile& color_profile,
+ bool alpha);
gfx::Size SurfaceSize() const { return surface_size_; }
float device_scale_factor() const { return device_scale_factor_; }

Powered by Google App Engine
This is Rietveld 408576698