Index: ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h |
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h |
index 03a289ed582ec7738e0fd839103c1a03732f24d7..7110cc3a3c6816b455f7ea2c2c2e8a4cdbf1f26b 100644 |
--- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h |
+++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h |
@@ -64,6 +64,10 @@ struct OZONE_EXPORT HardwareDisplayPlaneList { |
// pageflipping. |
std::vector<PageFlipInfo> legacy_page_flips; |
+#if defined(USE_DRM_ATOMIC) |
+ ScopedDrmPropertySetPtr atomic_property_set; |
+#endif // defined(USE_DRM_ATOMIC) |
+ |
// Set if the last operation on this list was a Commit(). |
bool committed; |
}; |
@@ -101,6 +105,10 @@ class OZONE_EXPORT HardwareDisplayPlaneManager { |
uint32_t crtc_id, |
const gfx::Rect& src_rect, |
CrtcController* crtc) = 0; |
+ |
+ virtual scoped_ptr<HardwareDisplayPlane> CreatePlane(uint32_t plane_id, |
+ uint32_t possible_crtcs); |
+ |
// Finds the plane located at or after |*index| that is not in use and can |
// be used with |crtc_index|. |
HardwareDisplayPlane* FindNextUnusedPlane(size_t* index, uint32_t crtc_index); |