| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 gfx::Size buffer_size; | 66 gfx::Size buffer_size; |
| 67 gfx::OverlayTransform transform = gfx::OVERLAY_TRANSFORM_NONE; | 67 gfx::OverlayTransform transform = gfx::OVERLAY_TRANSFORM_NONE; |
| 68 gfx::BufferFormat format = gfx::BufferFormat::BGRA_8888; | 68 gfx::BufferFormat format = gfx::BufferFormat::BGRA_8888; |
| 69 gfx::Rect display_rect; | 69 gfx::Rect display_rect; |
| 70 gfx::RectF crop_rect; | 70 gfx::RectF crop_rect; |
| 71 int plane_z_order = 0; | 71 int plane_z_order = 0; |
| 72 // By default we mark this configuration valid for promoting it to an overlay. | 72 // By default we mark this configuration valid for promoting it to an overlay. |
| 73 bool is_overlay_candidate = true; | 73 bool is_overlay_candidate = true; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 struct OverlayCheckReturn_Params { |
| 77 OverlayCheckReturn_Params() = default; |
| 78 OverlayCheckReturn_Params(const OverlayCheckReturn_Params& other) = default; |
| 79 ~OverlayCheckReturn_Params() = default; |
| 80 |
| 81 enum Status { PENDING, ABLE, NOT, LAST = NOT }; |
| 82 Status status = Status::PENDING; |
| 83 }; |
| 84 |
| 76 } // namespace ui | 85 } // namespace ui |
| 77 | 86 |
| 78 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ | 87 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ |
| OLD | NEW |