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

Side by Side Diff: ui/display/chromeos/test/test_native_display_delegate.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/display/chromeos/test/test_native_display_delegate.h" 5 #include "ui/display/chromeos/test/test_native_display_delegate.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "ui/display/chromeos/test/action_logger.h" 9 #include "ui/display/chromeos/test/action_logger.h"
10 #include "ui/display/types/display_mode.h" 10 #include "ui/display/types/display_mode.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 return false; 134 return false;
135 } 135 }
136 136
137 bool TestNativeDisplayDelegate::SetGammaRamp( 137 bool TestNativeDisplayDelegate::SetGammaRamp(
138 const ui::DisplaySnapshot& output, 138 const ui::DisplaySnapshot& output,
139 const std::vector<GammaRampRGBEntry>& lut) { 139 const std::vector<GammaRampRGBEntry>& lut) {
140 log_->AppendAction(SetGammaRampAction(output, lut)); 140 log_->AppendAction(SetGammaRampAction(output, lut));
141 return true; 141 return true;
142 } 142 }
143 143
144 bool TestNativeDisplayDelegate::SetColorCorrection(
145 const ui::DisplaySnapshot& output,
146 const std::vector<GammaRampRGBEntry>& degamma_lut,
147 const std::vector<GammaRampRGBEntry>& gamma_lut,
148 const float correction_matrix[9]) {
149 return false;
150 }
151
144 void TestNativeDisplayDelegate::AddObserver(NativeDisplayObserver* observer) { 152 void TestNativeDisplayDelegate::AddObserver(NativeDisplayObserver* observer) {
145 } 153 }
146 154
147 void TestNativeDisplayDelegate::RemoveObserver( 155 void TestNativeDisplayDelegate::RemoveObserver(
148 NativeDisplayObserver* observer) { 156 NativeDisplayObserver* observer) {
149 } 157 }
150 158
151 } // namespace test 159 } // namespace test
152 } // namespace ui 160 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698