[-]
[+]
|
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">294e3267a1c34545d78e85b1da45b8f26b515c33</param>
+ <param name="revision">21088a7172a329490339512c0706b2103cc3a1c5</param>
<param name="token"/>
<param name="debian"/>
<param name="dumb"/>
|
[-]
[+]
|
Changed |
_service:tar_git:qt5-qpa-hwcomposer-plugin-5.1.0.18.tar.bz2/hwcomposer/hwcomposer_backend.cpp
^
|
@@ -128,6 +128,9 @@
#ifdef HWC_DEVICE_API_VERSION_1_4
case HWC_DEVICE_API_VERSION_1_4:
#endif
+#ifdef HWC_DEVICE_API_VERSION_1_5
+ case HWC_DEVICE_API_VERSION_1_5:
+#endif
// HWC_NUM_DISPLAY_TYPES is the actual size of the array, otherwise
// underrun/overruns happen
return new HwComposerBackend_v11(hwc_module, hwc_device, HWC_NUM_DISPLAY_TYPES);
|
[-]
[+]
|
Changed |
_service:tar_git:qt5-qpa-hwcomposer-plugin-5.1.0.18.tar.bz2/hwcomposer/hwcomposer_backend_v11.cpp
^
|
@@ -247,6 +247,9 @@
bool tryToForceGLES = !qgetenv("QPA_HWC_FORCE_GLES").isEmpty();
layer->planeAlpha = tryToForceGLES ? 1 : 255;
#endif
+#ifdef HWC_DEVICE_API_VERSION_1_5
+ layer->surfaceDamage.numRects = 0;
+#endif
layer = &hwc_list->hwLayers[1];
memset(layer, 0, sizeof(hwc_layer_1_t));
@@ -272,6 +275,9 @@
#if (ANDROID_VERSION_MAJOR >= 4) && (ANDROID_VERSION_MINOR >= 3) || (ANDROID_VERSION_MAJOR >= 5)
layer->planeAlpha = 0xff;
#endif
+#ifdef HWC_DEVICE_API_VERSION_1_5
+ layer->surfaceDamage.numRects = 0;
+#endif
hwc_list->retireFenceFd = -1;
hwc_list->flags = HWC_GEOMETRY_CHANGED;
@@ -327,6 +333,11 @@
HWC_PLUGIN_EXPECT_ZERO(hwc_device->setPowerMode(hwc_device, 0, HWC_POWER_MODE_OFF));
} else
#endif
+#ifdef HWC_DEVICE_API_VERSION_1_5
+ if (hwc_version == HWC_DEVICE_API_VERSION_1_5) {
+ HWC_PLUGIN_EXPECT_ZERO(hwc_device->setPowerMode(hwc_device, 0, HWC_POWER_MODE_OFF));
+ } else
+#endif
HWC_PLUGIN_EXPECT_ZERO(hwc_device->blank(hwc_device, 0, 1));
} else {
#ifdef HWC_DEVICE_API_VERSION_1_4
@@ -334,6 +345,11 @@
HWC_PLUGIN_EXPECT_ZERO(hwc_device->setPowerMode(hwc_device, 0, HWC_POWER_MODE_NORMAL));
} else
#endif
+#ifdef HWC_DEVICE_API_VERSION_1_5
+ if (hwc_version == HWC_DEVICE_API_VERSION_1_5) {
+ HWC_PLUGIN_EXPECT_ZERO(hwc_device->setPowerMode(hwc_device, 0, HWC_POWER_MODE_NORMAL));
+ } else
+#endif
HWC_PLUGIN_EXPECT_ZERO(hwc_device->blank(hwc_device, 0, 0));
if (hwc_list) {
|