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

Unified Diff: ui/ozone/platform/drm/gpu/drm_thread.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/gpu/drm_thread.h
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.h b/ui/ozone/platform/drm/gpu/drm_thread.h
index 0edd26c71c8fa25b09a9249c52f4896edaaf611c..f16f2ed71cf36ea802c720b2ef775fa5fc295db0 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.h
+++ b/ui/ozone/platform/drm/gpu/drm_thread.h
@@ -104,7 +104,10 @@ class DrmThread : public base::Thread {
void SetHDCPState(int64_t display_id,
HDCPState state,
const base::Callback<void(int64_t, bool)>& callback);
- void SetGammaRamp(int64_t id, const std::vector<GammaRampRGBEntry>& lut);
+ void SetColorCorrection(int64_t display_id,
+ const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const std::vector<float>& correction_matrix);
// base::Thread:
void Init() override;

Powered by Google App Engine
This is Rietveld 408576698