aboutsummaryrefslogtreecommitdiff
path: root/drmplane.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-10-15drm_hwcomposer: Use layer alpha to blend planesSean Paul
Send the layer alpha to the drm plane's alpha property to properly blend layers. BUG=b/24821110 TEST=Tested on smaug with Downloads/About windows, blend properly Change-Id: If96eb28d65d018863c39bc5a3554daef0264144b Signed-off-by: Sean Paul <seanpaul@chromium.org>
2015-07-16drm_hwcomposer: Add rotation support for hw planesSean Paul
This patch adds support for transformed layers by using the rotation property on drm planes. Bug: chrome-os-partner:42093 Test: On smaug using adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:<R> Change-Id: I86bb8ef2f77b5d046a5fddd57db4b87070b5801f 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