OLD | NEW |
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 25 matching lines...) Expand all Loading... |
36 | 36 |
37 int64_t display_id = 0; | 37 int64_t display_id = 0; |
38 gfx::Point origin; | 38 gfx::Point origin; |
39 gfx::Size physical_size; | 39 gfx::Size physical_size; |
40 DisplayConnectionType type = DISPLAY_CONNECTION_TYPE_NONE; | 40 DisplayConnectionType type = DISPLAY_CONNECTION_TYPE_NONE; |
41 bool is_aspect_preserving_scaling = false; | 41 bool is_aspect_preserving_scaling = false; |
42 bool has_overscan = false; | 42 bool has_overscan = false; |
43 std::string display_name; | 43 std::string display_name; |
44 base::FilePath sys_path; | 44 base::FilePath sys_path; |
45 std::vector<DisplayMode_Params> modes; | 45 std::vector<DisplayMode_Params> modes; |
46 std::vector<uint8_t> edid; | |
47 bool has_current_mode = false; | 46 bool has_current_mode = false; |
48 DisplayMode_Params current_mode; | 47 DisplayMode_Params current_mode; |
49 bool has_native_mode = false; | 48 bool has_native_mode = false; |
50 DisplayMode_Params native_mode; | 49 DisplayMode_Params native_mode; |
51 int64_t product_id = 0; | 50 int64_t product_id = 0; |
52 std::string string_representation; | 51 std::string string_representation; |
53 }; | 52 }; |
54 | 53 |
55 struct OZONE_BASE_EXPORT OverlayCheck_Params { | 54 struct OZONE_BASE_EXPORT OverlayCheck_Params { |
56 OverlayCheck_Params(); | 55 OverlayCheck_Params(); |
(...skipping 10 matching lines...) Expand all Loading... |
67 gfx::RectF crop_rect; | 66 gfx::RectF crop_rect; |
68 int plane_z_order = 0; | 67 int plane_z_order = 0; |
69 // By default we mark this configuration valid for promoting it to an overlay. | 68 // By default we mark this configuration valid for promoting it to an overlay. |
70 bool is_overlay_candidate = true; | 69 bool is_overlay_candidate = true; |
71 }; | 70 }; |
72 | 71 |
73 } // namespace ui | 72 } // namespace ui |
74 | 73 |
75 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ | 74 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ |
76 | 75 |
OLD | NEW |