Review Request 126083: [hwcomposer] Don't waitVsync if we haven't activated vsync yet
Martin Gräßlin
mgraesslin at kde.org
Mon Nov 16 11:43:29 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126083/
-----------------------------------------------------------
Review request for Plasma.
Repository: kwin
Description
-------
Would just hit the timeout, no need to wait 16 msec for nothing.
[hwcomposer] Add support for backlight through light_device_t
We use the hw module's backlight and set the color to either 0
or FF depending on whetehr we want to have the screen on or off.
This turns the backlight off properly. It is bound to the toggleBlank
functionality so that we always turn on/off the backlight depending
on whether our compositor is on or off.
In addition we listen to key release events on the power button to
toggle the state.
Diffs
-----
backends/hwcomposer/hwcomposer_backend.cpp a4c83d8346b38e284037925a09048da81c1b2056
backends/hwcomposer/hwcomposer_backend.h a6d85ea35f15626e6df3776b96e68ba5c9b14c66
Diff: https://git.reviewboard.kde.org/r/126083/diff/
Testing
-------
Thanks,
Martin Gräßlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151116/bc58553d/attachment-0001.html>
More information about the Plasma-devel
mailing list