summaryrefslogtreecommitdiff
path: root/drmproperty.cpp
AgeCommit message (Collapse)Author
2015-10-29drm_hwcomposer: polish for old DRM wrapper codeZach Reizner
- deleted private copy constructors - replace delete with unique_ptr - use in-class assignment - remove default constructors/destructors when no longer needed - remove most iterators used in for loops - move UniqueFd to its own header so drmresources can use it Change-Id: Ib20cc0949cf4d381a58548b8156c5cb368ca3efe
2015-08-13drm_hwcomposer: style fixesZach Reizner
Change-Id: Id04a088a895f8372a32623713589d43d5e0495ef
2015-07-08drm_hwcomposer: Add blob property typeSean Paul
The blob property type doesn't use the values_ vector, instead just storing the blob id directly in value_. Change-Id: Ibde7c64cb7fe515ece9e9f396866de2da518707f Signed-off-by: Sean Paul <seanpaul@chromium.org>
2015-06-15drm_hwcomposer: Use atomic modeset to set crtc timingSean Paul
Use the new drm blob ioctl and atomic modeset properties to do atomic modesetting, as opposed to the old setCrtc call. This allows us to set timing as soon as the system layer requests a new active config, as opposed to delaying it until we have an fb. Aside from reducing complexity, this should help with event control requests as we'll be able to service them with hw vblanks instead of synthesized sleeps. Change-Id: I9c80d44f52f52881a3a25b2ae518973d468bc110 Signed-off-by: Sean Paul <seanpaul@chromium.org>
2015-06-04drm_hwcomposer: Initialize DrmProperty type_ memberSean Paul
Initialize it to an invalid value instead of INT. Change-Id: I5d75b9a3696a748d6352d918263b482034a22001 Signed-off-by: Sean Paul <seanpaul@chromium.org>
2015-05-11drm_hwcomposer: Wrap libdrm ops (minus modeset/flip) in C++ classesSean Paul
This allows us to compartmentalize a bunch of code/logic from hwcomposer.cpp into drm classes. Signed-off-by: Sean Paul <seanpaul@chromium.org> Change-Id: Id3f912126f1fdcd44d32c3eb4fba646f77590278