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

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: 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/gl_renderer_unittest.cc ('k') | cc/output/output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index e29f253732f4e40a8561e1bbb4e5a8d682fb8f02..b9360068882fdd19e4d3eebd8c41107cd750b079 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -26,6 +26,7 @@ class LatencyInfo;
}
namespace gfx {
+class ColorSpace;
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::ColorSpace& color_space,
+ bool alpha);
gfx::Size SurfaceSize() const { return surface_size_; }
float device_scale_factor() const { return device_scale_factor_; }
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698