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

Unified Diff: ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h

Issue 1028563003: Load and apply a vcgt table from an ICC file to the internal display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix oshima@ feedback Created 5 years, 8 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_gpu_display_manager.h
diff --git a/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h b/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h
index bbfa50834d5bf3b5dd8ddcfe59d61ba626d7dc2b..44ff195ea010d40fce97a8bbf03d739210fe695c 100644
--- a/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h
+++ b/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h
@@ -54,6 +54,12 @@ class DrmGpuDisplayManager {
const base::FileDescriptor& fd);
void RemoveGraphicsDevice(const base::FilePath& path);
+ // Set the gamma ramp for a particular display id.
+ void SetGammaRamp(int64_t id,
+ const std::vector<uint16_t>& r,
+ const std::vector<uint16_t>& g,
+ const std::vector<uint16_t>& b);
+
private:
DrmDisplaySnapshot* FindDisplaySnapshot(int64_t id);
const DrmDisplayMode* FindDisplayMode(const gfx::Size& size,

Powered by Google App Engine
This is Rietveld 408576698