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

Side by Side Diff: ui/ozone/common/native_display_delegate_ozone.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: Rebase after quirks changes Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ 5 #ifndef UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_
6 #define UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ 6 #define UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 28 matching lines...) Expand all
39 void GetHDCPState(const ui::DisplaySnapshot& output, 39 void GetHDCPState(const ui::DisplaySnapshot& output,
40 const GetHDCPStateCallback& callback) override; 40 const GetHDCPStateCallback& callback) override;
41 void SetHDCPState(const ui::DisplaySnapshot& output, 41 void SetHDCPState(const ui::DisplaySnapshot& output,
42 ui::HDCPState state, 42 ui::HDCPState state,
43 const SetHDCPStateCallback& callback) override; 43 const SetHDCPStateCallback& callback) override;
44 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( 44 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles(
45 const ui::DisplaySnapshot& output) override; 45 const ui::DisplaySnapshot& output) override;
46 bool SetColorCalibrationProfile( 46 bool SetColorCalibrationProfile(
47 const ui::DisplaySnapshot& output, 47 const ui::DisplaySnapshot& output,
48 ui::ColorCalibrationProfile new_profile) override; 48 ui::ColorCalibrationProfile new_profile) override;
49 bool SetGammaRamp(const ui::DisplaySnapshot& output, 49 bool SetColorCorrection(const ui::DisplaySnapshot& output,
50 const std::vector<GammaRampRGBEntry>& lut) override; 50 const std::vector<GammaRampRGBEntry>& degamma_lut,
51 51 const std::vector<GammaRampRGBEntry>& gamma_lut,
52 const std::vector<float>& correction_matrix) override;
52 void AddObserver(NativeDisplayObserver* observer) override; 53 void AddObserver(NativeDisplayObserver* observer) override;
53 void RemoveObserver(NativeDisplayObserver* observer) override; 54 void RemoveObserver(NativeDisplayObserver* observer) override;
54 55
55 private: 56 private:
56 std::vector<scoped_ptr<DisplaySnapshot>> displays_; 57 std::vector<scoped_ptr<DisplaySnapshot>> displays_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone); 59 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone);
59 }; 60 };
60 61
61 } // namespace ui 62 } // namespace ui
62 63
63 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ 64 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_
OLDNEW
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_messages.h ('k') | ui/ozone/common/native_display_delegate_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698