[-]
[+]
|
Changed |
_service:tar_git:qt5-qpa-hwcomposer-plugin.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -3,6 +3,6 @@
<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">61d352dfad855974d58690472b46bf77623b22b0</param>
+ <param name="revision">d2b4f01af718600e34764c68f415016ae4e89b6e</param>
</service>
</services>
|
[-]
[+]
|
Changed |
_service:tar_git:qt5-qpa-hwcomposer-plugin-5.1.0.2.tar.bz2/hwcomposer/hwcomposer_backend.cpp
^
|
@@ -124,13 +124,18 @@
break;
#ifdef HWC_DEVICE_API_VERSION_1_2
case HWC_DEVICE_API_VERSION_1_2:
+ /* hwcomposer 1.2 and beyond have virtual displays however virtual displays are
+ only used in hwcomposer 1.2 */
+ return new HwComposerBackend_v11(hwc_module, hwc_device, HWC_NUM_DISPLAY_TYPES);
+ break;
+
#endif /* HWC_DEVICE_API_VERSION_1_2 */
#ifdef HWC_DEVICE_API_VERSION_1_3
case HWC_DEVICE_API_VERSION_1_3:
-#endif /* HWC_DEVICE_API_VERSION_1_3 */
- /* hwcomposer 1.2 and beyond have virtual displays */
- return new HwComposerBackend_v11(hwc_module, hwc_device, HWC_NUM_DISPLAY_TYPES + 1);
+ /* Do not use virtual displays */
+ return new HwComposerBackend_v11(hwc_module, hwc_device, HWC_NUM_PHYSICAL_DISPLAY_TYPES);
break;
+#endif /* HWC_DEVICE_API_VERSION_1_3 */
#endif /* HWC_PLUGIN_HAVE_HWCOMPOSER1_API */
default:
fprintf(stderr, "Unknown hwcomposer API: 0x%x/0x%x/0x%x\n",
|