[Differential] [Request, 20 lines] D3686: [platforms/hwcomposer] Support for hwcomposer 1.4 and 1.5 version
bshah (Bhushan Shah)
noreply at phabricator.kde.org
Thu Dec 15 14:11:48 UTC 2016
bshah created this revision.
bshah added reviewers: Plasma, graesslin.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY
HWcomposer version 1.4 introduced setPowerMode, which replaces the
blank(). This adds support for it. There are various code paths
possible,
- If KWin is built against hwcomposer 1.3 headers, then setPowerMode
code is not compiled in, and it will use blank to turn display off.
- If KWin is built against hwcomposer 1.4 headers, it will have
setPowerMode code path compiled in. It will be used only on devices with
1.4 and 1.5 version of hwcomposer.
This is slightly insane, because Android can report hwcomposer 1.5 even
when headers are of 1.4 version..
TEST PLAN
Tested this on Nexus 5.X which reports 1.5 version of hwcomposer
REPOSITORY
R108 KWin
BRANCH
support-hwc-1.5
REVISION DETAIL
https://phabricator.kde.org/D3686
AFFECTED FILES
plugins/platforms/hwcomposer/hwcomposer_backend.cpp
plugins/platforms/hwcomposer/hwcomposer_backend.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: bshah, #plasma, graesslin
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161215/fec87ea9/attachment-0001.html>
More information about the Plasma-devel
mailing list