kwin/plugins/platforms/hwcomposer
Bhushan Shah f906e21f3d [platforms/hwcomposer] Support for hwcomposer 1.4 and 1.5 version
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 5X which reports 1.5 version of hwcomposer

Reviewers: graesslin, #plasma

Reviewed By: graesslin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3686
2016-12-16 09:22:48 +05:30
..
CMakeLists.txt
egl_hwcomposer_backend.cpp Support restarting the OpenGL compositor on Wayland 2016-07-20 14:08:23 +02:00
egl_hwcomposer_backend.h
hwcomposer.json SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-02 04:38:37 +01:00
hwcomposer_backend.cpp [platforms/hwcomposer] Support for hwcomposer 1.4 and 1.5 version 2016-12-16 09:22:48 +05:30
hwcomposer_backend.h [platforms/hwcomposer] Support for hwcomposer 1.4 and 1.5 version 2016-12-16 09:22:48 +05:30
logging.cpp
logging.h
screens_hwcomposer.cpp
screens_hwcomposer.h