[-]
[+]
|
Changed |
_service:tar_git:qt5-qpa-hwcomposer-plugin.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:qt5-qpa-hwcomposer-plugin.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin.git</param>
<param name="branch">master</param>
- <param name="revision">21088a7172a329490339512c0706b2103cc3a1c5</param>
+ <param name="revision">f3258694ea8cd1fc19dd6d0fa3d4cf83fcc564ed</param>
<param name="token"/>
<param name="debian"/>
<param name="dumb"/>
|
[-]
[+]
|
Changed |
_service:tar_git:qt5-qpa-hwcomposer-plugin-5.6.2.0.tar.bz2/hwcomposer/hwcomposer_backend_v11.cpp
^
|
@@ -327,6 +327,7 @@
// screen has been turned off. Doing so leads to logcat errors being
// logged.
m_vsyncTimeout.stop();
+ hwc_device->eventControl(hwc_device, 0, HWC_EVENT_VSYNC, 0);
#ifdef HWC_DEVICE_API_VERSION_1_4
if (hwc_version == HWC_DEVICE_API_VERSION_1_4) {
@@ -355,6 +356,12 @@
if (hwc_list) {
hwc_list->flags |= HWC_GEOMETRY_CHANGED;
}
+
+ // If we have pending updates, make sure those start happening now..
+ if (m_pendingUpdate.size()) {
+ hwc_device->eventControl(hwc_device, 0, HWC_EVENT_VSYNC, 1);
+ m_vsyncTimeout.start(50, this);
+ }
}
}
@@ -389,7 +396,8 @@
{
if (e->type() == QEvent::User) {
static int idleTime = qBound(0, qgetenv("QPA_HWC_IDLE_TIME").toInt(), 100);
- m_deliverUpdateTimeout.start(idleTime, this);
+ if (!m_deliverUpdateTimeout.isActive())
+ m_deliverUpdateTimeout.start(idleTime, this);
return true;
}
return QObject::event(e);
|