| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 struct OZONE_EXPORT DisplaySnapshot_Params { | 30 struct OZONE_EXPORT DisplaySnapshot_Params { |
| 31 DisplaySnapshot_Params(); | 31 DisplaySnapshot_Params(); |
| 32 ~DisplaySnapshot_Params(); | 32 ~DisplaySnapshot_Params(); |
| 33 | 33 |
| 34 int64_t display_id = 0; | 34 int64_t display_id = 0; |
| 35 gfx::Point origin; | 35 gfx::Point origin; |
| 36 gfx::Size physical_size; | 36 gfx::Size physical_size; |
| 37 DisplayConnectionType type = DISPLAY_CONNECTION_TYPE_NONE; | 37 DisplayConnectionType type = DISPLAY_CONNECTION_TYPE_NONE; |
| 38 bool is_aspect_preserving_scaling = false; | 38 bool is_aspect_preserving_scaling = false; |
| 39 bool has_overscan = false; | 39 bool has_overscan = false; |
| 40 bool has_color_correction_matrix = false; |
| 40 std::string display_name; | 41 std::string display_name; |
| 41 std::vector<DisplayMode_Params> modes; | 42 std::vector<DisplayMode_Params> modes; |
| 42 bool has_current_mode = false; | 43 bool has_current_mode = false; |
| 43 DisplayMode_Params current_mode; | 44 DisplayMode_Params current_mode; |
| 44 bool has_native_mode = false; | 45 bool has_native_mode = false; |
| 45 DisplayMode_Params native_mode; | 46 DisplayMode_Params native_mode; |
| 46 int64_t product_id = 0; | 47 int64_t product_id = 0; |
| 47 std::string string_representation; | 48 std::string string_representation; |
| 48 }; | 49 }; |
| 49 | 50 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 64 uint32_t weight; | 65 uint32_t weight; |
| 65 // Will be set in GPU process. These are unique plane ids of primary display | 66 // Will be set in GPU process. These are unique plane ids of primary display |
| 66 // supporting this configuration. | 67 // supporting this configuration. |
| 67 std::vector<uint32_t> plane_ids; | 68 std::vector<uint32_t> plane_ids; |
| 68 }; | 69 }; |
| 69 | 70 |
| 70 } // namespace ui | 71 } // namespace ui |
| 71 | 72 |
| 72 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ | 73 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ |
| 73 | 74 |
| OLD | NEW |