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

Side by Side Diff: ui/ozone/common/gpu/ozone_gpu_messages.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: Address oshima & spang 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 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 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_descriptor_posix.h" 10 #include "base/file_descriptor_posix.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_RemoveGraphicsDevice, 96 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_RemoveGraphicsDevice,
97 base::FilePath /* device_path */) 97 base::FilePath /* device_path */)
98 98
99 // Take control of the display 99 // Take control of the display
100 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_TakeDisplayControl) 100 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_TakeDisplayControl)
101 101
102 // Let other entity control the display 102 // Let other entity control the display
103 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RelinquishDisplayControl) 103 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RelinquishDisplayControl)
104 104
105 // Provides the gamma ramp for display adjustment.
106 IPC_MESSAGE_CONTROL4(OzoneGpuMsg_SetGammaRamp,
107 int64_t, // display ID,
108 std::vector<uint16_t>, // r
109 std::vector<uint16_t>, // g,
110 std::vector<uint16_t>) // b
111
105 //------------------------------------------------------------------------------ 112 //------------------------------------------------------------------------------
106 // Browser Messages 113 // Browser Messages
107 // These messages are from the GPU to the browser process. 114 // These messages are from the GPU to the browser process.
108 115
109 // Updates the list of active displays. 116 // Updates the list of active displays.
110 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays, 117 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays,
111 std::vector<ui::DisplaySnapshot_Params>) 118 std::vector<ui::DisplaySnapshot_Params>)
112 119
113 IPC_MESSAGE_CONTROL2(OzoneHostMsg_DisplayConfigured, 120 IPC_MESSAGE_CONTROL2(OzoneHostMsg_DisplayConfigured,
114 int64_t /* display_id */, 121 int64_t /* display_id */,
115 bool /* status */) 122 bool /* status */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698