| 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 21 matching lines...) Expand all Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |