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

Unified Diff: ui/ozone/platform/drm/host/gpu_thread_adapter.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: "reimplement" drmMode{Create,Destroy}PropertyBlob to fix build 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
Index: ui/ozone/platform/drm/host/gpu_thread_adapter.h
diff --git a/ui/ozone/platform/drm/host/gpu_thread_adapter.h b/ui/ozone/platform/drm/host/gpu_thread_adapter.h
index 15212fcec31b86eccb53f7e2b082d1832c18770f..5070e1ac9cdd7c951c1ade8e9ae1696a1a6b98bb 100644
--- a/ui/ozone/platform/drm/host/gpu_thread_adapter.h
+++ b/ui/ozone/platform/drm/host/gpu_thread_adapter.h
@@ -58,8 +58,11 @@ class GpuThreadAdapter {
virtual bool GpuDisableNativeDisplay(int64_t display_id) = 0;
virtual bool GpuGetHDCPState(int64_t display_id) = 0;
virtual bool GpuSetHDCPState(int64_t display_id, ui::HDCPState state) = 0;
- virtual bool GpuSetGammaRamp(int64_t display_id,
- const std::vector<GammaRampRGBEntry>& lut) = 0;
+ virtual bool SetColorCorrection(
+ int64_t display_id,
+ const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const std::vector<float>& correction_matrix) = 0;
// Services needed by DrmWindowHost
virtual bool GpuDestroyWindow(gfx::AcceleratedWidget widget) = 0;

Powered by Google App Engine
This is Rietveld 408576698