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

Unified Diff: components/mus/surfaces/direct_output_surface_ozone.cc

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
Index: components/mus/surfaces/direct_output_surface_ozone.cc
diff --git a/components/mus/surfaces/direct_output_surface_ozone.cc b/components/mus/surfaces/direct_output_surface_ozone.cc
index e4fcbe5ad7a00727520b66757ec6fb3caf87f06f..5148336078a2b9498e44ef1335eb7b5b39a7a272 100644
--- a/components/mus/surfaces/direct_output_surface_ozone.cc
+++ b/components/mus/surfaces/direct_output_surface_ozone.cc
@@ -156,8 +156,9 @@ uint32_t DirectOutputSurfaceOzone::GetFramebufferCopyTextureFormat() {
// must create the native window in the size that the hardware reports.
void DirectOutputSurfaceOzone::Reshape(const gfx::Size& size,
float scale_factor,
+ const gfx::ColorSpace& color_space,
bool alpha) {
- OutputSurface::Reshape(size, scale_factor, alpha);
+ OutputSurface::Reshape(size, scale_factor, color_space, alpha);
DCHECK(buffer_queue_);
buffer_queue_->Reshape(SurfaceSize(), scale_factor);
}
« no previous file with comments | « components/mus/surfaces/direct_output_surface_ozone.h ('k') | content/browser/compositor/gpu_process_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698