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

Side by Side Diff: ui/ozone/common/native_display_delegate_ozone.cc

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 #include "ui/ozone/common/native_display_delegate_ozone.h" 5 #include "ui/ozone/common/native_display_delegate_ozone.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/ozone/common/display_snapshot_proxy.h" 8 #include "ui/ozone/common/display_snapshot_proxy.h"
9 #include "ui/ozone/common/display_util.h" 9 #include "ui/ozone/common/display_util.h"
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 return std::vector<ui::ColorCalibrationProfile>(); 103 return std::vector<ui::ColorCalibrationProfile>();
104 } 104 }
105 105
106 bool NativeDisplayDelegateOzone::SetColorCalibrationProfile( 106 bool NativeDisplayDelegateOzone::SetColorCalibrationProfile(
107 const ui::DisplaySnapshot& output, 107 const ui::DisplaySnapshot& output,
108 ui::ColorCalibrationProfile new_profile) { 108 ui::ColorCalibrationProfile new_profile) {
109 NOTIMPLEMENTED(); 109 NOTIMPLEMENTED();
110 return false; 110 return false;
111 } 111 }
112 112
113 bool NativeDisplayDelegateOzone::SetGammaRamp( 113 bool NativeDisplayDelegateOzone::SetColorCorrection(
114 const ui::DisplaySnapshot& output, 114 const ui::DisplaySnapshot& output,
115 const std::vector<GammaRampRGBEntry>& lut) { 115 const std::vector<GammaRampRGBEntry>& degamma_lut,
116 const std::vector<GammaRampRGBEntry>& gamma_lut,
117 const std::vector<float>& correction_matrix) {
116 NOTIMPLEMENTED(); 118 NOTIMPLEMENTED();
117 return false; 119 return false;
118 } 120 }
119 121
120 void NativeDisplayDelegateOzone::AddObserver(NativeDisplayObserver* observer) { 122 void NativeDisplayDelegateOzone::AddObserver(NativeDisplayObserver* observer) {
121 NOTIMPLEMENTED(); 123 NOTIMPLEMENTED();
122 } 124 }
123 125
124 void NativeDisplayDelegateOzone::RemoveObserver( 126 void NativeDisplayDelegateOzone::RemoveObserver(
125 NativeDisplayObserver* observer) { 127 NativeDisplayObserver* observer) {
126 NOTIMPLEMENTED(); 128 NOTIMPLEMENTED();
127 } 129 }
128 130
129 } // namespace ui 131 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/common/native_display_delegate_ozone.h ('k') | ui/ozone/platform/drm/common/drm_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698