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

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: 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 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 return false; 107 return false;
108 } 108 }
109 109
110 bool NativeDisplayDelegateOzone::SetGammaRamp( 110 bool NativeDisplayDelegateOzone::SetGammaRamp(
111 const ui::DisplaySnapshot& output, 111 const ui::DisplaySnapshot& output,
112 const std::vector<GammaRampRGBEntry>& lut) { 112 const std::vector<GammaRampRGBEntry>& lut) {
113 NOTIMPLEMENTED(); 113 NOTIMPLEMENTED();
114 return false; 114 return false;
115 } 115 }
116 116
117 bool NativeDisplayDelegateOzone::SetColorCorrection(
118 const ui::DisplaySnapshot& output,
119 const std::vector<GammaRampRGBEntry>& degamma_lut,
120 const std::vector<GammaRampRGBEntry>& gamma_lut,
121 const float correction_matrix[9]) {
122 NOTIMPLEMENTED();
123 return false;
124 }
125
117 void NativeDisplayDelegateOzone::AddObserver(NativeDisplayObserver* observer) { 126 void NativeDisplayDelegateOzone::AddObserver(NativeDisplayObserver* observer) {
118 NOTIMPLEMENTED(); 127 NOTIMPLEMENTED();
119 } 128 }
120 129
121 void NativeDisplayDelegateOzone::RemoveObserver( 130 void NativeDisplayDelegateOzone::RemoveObserver(
122 NativeDisplayObserver* observer) { 131 NativeDisplayObserver* observer) {
123 NOTIMPLEMENTED(); 132 NOTIMPLEMENTED();
124 } 133 }
125 134
126 } // namespace ui 135 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698