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

Unified Diff: components/mus/surfaces/direct_output_surface_ozone.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/trees/layer_tree_host_impl.cc ('k') | components/mus/surfaces/direct_output_surface_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/surfaces/direct_output_surface_ozone.h
diff --git a/components/mus/surfaces/direct_output_surface_ozone.h b/components/mus/surfaces/direct_output_surface_ozone.h
index bbca53bf20a6e82b2798a755f6a7aa6386383293..8f6f4e4bb764ae9f79c7a0c18e255a7aecf2e22e 100644
--- a/components/mus/surfaces/direct_output_surface_ozone.h
+++ b/components/mus/surfaces/direct_output_surface_ozone.h
@@ -56,7 +56,10 @@ class DirectOutputSurfaceOzone : public cc::OutputSurface {
void SwapBuffers(cc::CompositorFrame frame) override;
void BindFramebuffer() override;
uint32_t GetFramebufferCopyTextureFormat() override;
- void Reshape(const gfx::Size& size, float scale_factor, bool alpha) override;
+ void Reshape(const gfx::Size& size,
+ float scale_factor,
+ const gfx::ColorSpace& color_space,
+ bool alpha) override;
bool IsDisplayedAsOverlayPlane() const override;
unsigned GetOverlayTextureId() const override;
bool BindToClient(cc::OutputSurfaceClient* client) override;
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | components/mus/surfaces/direct_output_surface_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698