OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_ATOMIC_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_ATOMIC_H_ |
6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_ATOMIC_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_ATOMIC_H_ |
7 | 7 |
8 #include "ui/ozone/platform/drm/gpu/hardware_display_plane.h" | 8 #include "ui/ozone/platform/drm/gpu/hardware_display_plane.h" |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 #include <xf86drmMode.h> | 11 #include <xf86drmMode.h> |
12 | 12 |
| 13 namespace gfx { |
| 14 class Rect; |
| 15 } // namespace gfx |
| 16 |
13 namespace ui { | 17 namespace ui { |
14 | 18 |
15 class CrtcController; | 19 class CrtcController; |
16 class DrmDevice; | 20 class DrmDevice; |
17 | 21 |
18 class HardwareDisplayPlaneAtomic : public HardwareDisplayPlane { | 22 class HardwareDisplayPlaneAtomic : public HardwareDisplayPlane { |
19 public: | 23 public: |
20 HardwareDisplayPlaneAtomic(uint32_t plane_id, uint32_t possible_crtcs); | 24 HardwareDisplayPlaneAtomic(uint32_t plane_id, uint32_t possible_crtcs); |
21 ~HardwareDisplayPlaneAtomic() override; | 25 ~HardwareDisplayPlaneAtomic() override; |
22 | 26 |
(...skipping 28 matching lines...) Expand all Loading... |
51 Property src_x_prop_; | 55 Property src_x_prop_; |
52 Property src_y_prop_; | 56 Property src_y_prop_; |
53 Property src_w_prop_; | 57 Property src_w_prop_; |
54 Property src_h_prop_; | 58 Property src_h_prop_; |
55 CrtcController* crtc_ = nullptr; | 59 CrtcController* crtc_ = nullptr; |
56 }; | 60 }; |
57 | 61 |
58 } // namespace ui | 62 } // namespace ui |
59 | 63 |
60 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_ATOMIC_H_ | 64 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_ATOMIC_H_ |
OLD | NEW |