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_PLATFORM_DRM_GPU_CRTC_CONTROLLER_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_CRTC_CONTROLLER_H_ |
6 #define UI_OZONE_PLATFORM_DRM_GPU_CRTC_CONTROLLER_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_CRTC_CONTROLLER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include <xf86drmMode.h> | 10 #include <xf86drmMode.h> |
11 | 11 |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "ui/ozone/ozone_export.h" | 14 #include "ui/ozone/ozone_export.h" |
| 15 #include "ui/ozone/platform/drm/common/scoped_drm_types.h" |
15 #include "ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h" | 16 #include "ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h" |
16 #include "ui/ozone/platform/drm/gpu/overlay_plane.h" | 17 #include "ui/ozone/platform/drm/gpu/overlay_plane.h" |
17 #include "ui/ozone/platform/drm/gpu/scoped_drm_types.h" | |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 | 20 |
21 class DrmDevice; | 21 class DrmDevice; |
22 class PageFlipRequest; | 22 class PageFlipRequest; |
23 | 23 |
24 // Wrapper around a CRTC. | 24 // Wrapper around a CRTC. |
25 // | 25 // |
26 // One CRTC can be paired up with one or more connectors. The simplest | 26 // One CRTC can be paired up with one or more connectors. The simplest |
27 // configuration represents one CRTC driving one monitor, while pairing up a | 27 // configuration represents one CRTC driving one monitor, while pairing up a |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 // The time of the last page flip event as reported by the kernel callback. | 99 // The time of the last page flip event as reported by the kernel callback. |
100 uint64_t time_of_last_flip_; | 100 uint64_t time_of_last_flip_; |
101 | 101 |
102 DISALLOW_COPY_AND_ASSIGN(CrtcController); | 102 DISALLOW_COPY_AND_ASSIGN(CrtcController); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace ui | 105 } // namespace ui |
106 | 106 |
107 #endif // UI_OZONE_PLATFORM_DRM_GPU_CRTC_CONTROLLER_H_ | 107 #endif // UI_OZONE_PLATFORM_DRM_GPU_CRTC_CONTROLLER_H_ |
OLD | NEW |