Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h

Issue 994503004: Preliminary atomic patch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change gyp var Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698