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

Unified Diff: ui/ozone/platform/drm/gpu/drm_display.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: Refactor for glevin@ and load VCGT always Created 5 years, 1 month 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/gpu/drm_display.h
diff --git a/ui/ozone/platform/drm/gpu/drm_display.h b/ui/ozone/platform/drm/gpu/drm_display.h
index 7d3f1875b8461332552816a6c80253cd743ae702..8a0968359ec54526e17b84d193a260dfc54bcea6 100644
--- a/ui/ozone/platform/drm/gpu/drm_display.h
+++ b/ui/ozone/platform/drm/gpu/drm_display.h
@@ -41,6 +41,9 @@ class DrmDisplay {
bool GetHDCPState(HDCPState* state);
bool SetHDCPState(HDCPState state);
void SetGammaRamp(const std::vector<GammaRampRGBEntry>& lut);
+ void SetColorCorrection(const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const float correction_matrix[9]);
spang 2015/11/09 19:40:47 This declaration just turns into const float*, the
robert.bradford 2016/02/04 18:52:28 Done.
private:
ScreenManager* screen_manager_; // Not owned.

Powered by Google App Engine
This is Rietveld 408576698