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

Side by Side Diff: ui/ozone/common/gpu/ozone_gpu_message_params.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
« no previous file with comments | « ui/ozone/common/display_util.cc ('k') | ui/ozone/common/gpu/ozone_gpu_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ 5 #ifndef UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
6 #define UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ 6 #define UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 21 matching lines...) Expand all
32 struct DisplaySnapshot_Params { 32 struct DisplaySnapshot_Params {
33 DisplaySnapshot_Params(); 33 DisplaySnapshot_Params();
34 ~DisplaySnapshot_Params(); 34 ~DisplaySnapshot_Params();
35 35
36 int64_t display_id = 0; 36 int64_t display_id = 0;
37 gfx::Point origin; 37 gfx::Point origin;
38 gfx::Size physical_size; 38 gfx::Size physical_size;
39 DisplayConnectionType type = DISPLAY_CONNECTION_TYPE_NONE; 39 DisplayConnectionType type = DISPLAY_CONNECTION_TYPE_NONE;
40 bool is_aspect_preserving_scaling = false; 40 bool is_aspect_preserving_scaling = false;
41 bool has_overscan = false; 41 bool has_overscan = false;
42 bool has_color_correction_matrix = false;
42 std::string display_name; 43 std::string display_name;
43 base::FilePath sys_path; 44 base::FilePath sys_path;
44 std::vector<DisplayMode_Params> modes; 45 std::vector<DisplayMode_Params> modes;
45 std::vector<uint8_t> edid; 46 std::vector<uint8_t> edid;
46 bool has_current_mode = false; 47 bool has_current_mode = false;
47 DisplayMode_Params current_mode; 48 DisplayMode_Params current_mode;
48 bool has_native_mode = false; 49 bool has_native_mode = false;
49 DisplayMode_Params native_mode; 50 DisplayMode_Params native_mode;
50 int64_t product_id = 0; 51 int64_t product_id = 0;
51 std::string string_representation; 52 std::string string_representation;
(...skipping 14 matching lines...) Expand all
66 gfx::RectF crop_rect; 67 gfx::RectF crop_rect;
67 int plane_z_order = 0; 68 int plane_z_order = 0;
68 // By default we mark this configuration valid for promoting it to an overlay. 69 // By default we mark this configuration valid for promoting it to an overlay.
69 bool is_overlay_candidate = true; 70 bool is_overlay_candidate = true;
70 }; 71 };
71 72
72 } // namespace ui 73 } // namespace ui
73 74
74 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ 75 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
75 76
OLDNEW
« no previous file with comments | « ui/ozone/common/display_util.cc ('k') | ui/ozone/common/gpu/ozone_gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698