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

Unified Diff: ui/ozone/platform/drm/mus_thread_proxy.h

Issue 1182063002: Add support for more advanced color correction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@qcms-fixed-point-gamma
Patch Set: Rebase after quirks changes Created 4 years, 9 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 | « ui/ozone/platform/drm/host/gpu_thread_adapter.h ('k') | ui/ozone/platform/drm/mus_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/mus_thread_proxy.h
diff --git a/ui/ozone/platform/drm/mus_thread_proxy.h b/ui/ozone/platform/drm/mus_thread_proxy.h
index 98bf7e81be85458f2ecac7910013e531fc0f01ef..e39eefcb40936f6225b36f21b1f79c854e3615ff 100644
--- a/ui/ozone/platform/drm/mus_thread_proxy.h
+++ b/ui/ozone/platform/drm/mus_thread_proxy.h
@@ -77,8 +77,11 @@ class MusThreadProxy : public GpuThreadAdapter,
bool GpuDisableNativeDisplay(int64_t display_id) override;
bool GpuGetHDCPState(int64_t display_id) override;
bool GpuSetHDCPState(int64_t display_id, ui::HDCPState state) override;
- bool GpuSetGammaRamp(int64_t display_id,
- const std::vector<GammaRampRGBEntry>& lut) override;
+ bool GpuSetColorCorrection(
+ int64_t display_id,
+ const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const std::vector<float>& correction_matrix) override;
// Services needed by DrmWindowHost
bool GpuDestroyWindow(gfx::AcceleratedWidget widget) override;
@@ -135,4 +138,4 @@ class MusThreadProxy : public GpuThreadAdapter,
} // namespace ui
-#endif // UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_
+#endif // UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_
« no previous file with comments | « ui/ozone/platform/drm/host/gpu_thread_adapter.h ('k') | ui/ozone/platform/drm/mus_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698