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

Unified Diff: ui/ozone/platform/drm/host/drm_display_host.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: Improve memory management / casting Created 4 years, 10 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/drm_display_host.h
diff --git a/ui/ozone/platform/drm/host/drm_display_host.h b/ui/ozone/platform/drm/host/drm_display_host.h
index 515c19bbf1f81e479a1d1a18ae9533939462e042..9316f54dbab00c2c8b344b1d7d720c6b15f7bbc1 100644
--- a/ui/ozone/platform/drm/host/drm_display_host.h
+++ b/ui/ozone/platform/drm/host/drm_display_host.h
@@ -32,7 +32,9 @@ class DrmDisplayHost : public GpuThreadObserver {
const ConfigureCallback& callback);
void GetHDCPState(const GetHDCPStateCallback& callback);
void SetHDCPState(HDCPState state, const SetHDCPStateCallback& callback);
- void SetGammaRamp(const std::vector<GammaRampRGBEntry>& lut);
+ void SetColorCorrection(const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const std::vector<float>& correction_matrix);
// Called when the IPC from the GPU process arrives to answer the above
// commands.

Powered by Google App Engine
This is Rietveld 408576698