diff options
Diffstat (limited to 'src/plugins/platforms/eglfs')
19 files changed, 0 insertions, 409 deletions
diff --git a/src/plugins/platforms/eglfs/api/api.pri b/src/plugins/platforms/eglfs/api/api.pri deleted file mode 100644 index bcb72c9ea7..0000000000 --- a/src/plugins/platforms/eglfs/api/api.pri +++ /dev/null @@ -1,36 +0,0 @@ - -SOURCES += $$PWD/qeglfswindow.cpp \ - $$PWD/qeglfsscreen.cpp \ - $$PWD/qeglfshooks.cpp \ - $$PWD/qeglfsdeviceintegration.cpp \ - $$PWD/qeglfsintegration.cpp \ - $$PWD/qeglfsoffscreenwindow.cpp - -HEADERS += $$PWD/qeglfswindow_p.h \ - $$PWD/qeglfsscreen_p.h \ - $$PWD/qeglfshooks_p.h \ - $$PWD/qeglfsdeviceintegration_p.h \ - $$PWD/qeglfsintegration_p.h \ - $$PWD/qeglfsoffscreenwindow_p.h \ - $$PWD/qeglfsglobal_p.h - -qtConfig(opengl) { - QT += opengl-private - SOURCES += \ - $$PWD/qeglfscursor.cpp \ - $$PWD/qeglfscontext.cpp - HEADERS += \ - $$PWD/qeglfscursor_p.h \ - $$PWD/qeglfscontext_p.h -} - -qtConfig(vulkan) { - SOURCES += \ - $$PWD/vulkan/qeglfsvulkaninstance.cpp \ - $$PWD/vulkan/qeglfsvulkanwindow.cpp - HEADERS += \ - $$PWD/vulkan/qeglfsvulkaninstance_p.h \ - $$PWD/vulkan/qeglfsvulkanwindow_p.h -} - -INCLUDEPATH += $$PWD diff --git a/src/plugins/platforms/eglfs/deviceintegration/deviceintegration.pro b/src/plugins/platforms/eglfs/deviceintegration/deviceintegration.pro deleted file mode 100644 index 8c207d1413..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/deviceintegration.pro +++ /dev/null @@ -1,18 +0,0 @@ -TEMPLATE = subdirs -QT_FOR_CONFIG += gui-private - -qtConfig(eglfs_x11): SUBDIRS += eglfs_x11 -qtConfig(eglfs_gbm): SUBDIRS *= eglfs_kms_support eglfs_kms -qtConfig(eglfs_egldevice): SUBDIRS *= eglfs_kms_support eglfs_kms_egldevice -qtConfig(eglfs_vsp2): SUBDIRS += eglfs_kms_vsp2 -qtConfig(eglfs_brcm): SUBDIRS += eglfs_brcm -qtConfig(eglfs_mali): SUBDIRS += eglfs_mali -qtConfig(eglfs_viv): SUBDIRS += eglfs_viv -qtConfig(eglfs_rcar): SUBDIRS += eglfs_rcar -qtConfig(eglfs_viv_wl): SUBDIRS += eglfs_viv_wl -qtConfig(eglfs_openwfd): SUBDIRS += eglfs_openwfd -qtConfig(opengl): SUBDIRS += eglfs_emu - -eglfs_kms_egldevice.depends = eglfs_kms_support -eglfs_kms_vsp2.depends = eglfs_kms_support -eglfs_kms.depends = eglfs_kms_support diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm/eglfs_brcm.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm/eglfs_brcm.pro deleted file mode 100644 index aa487be8c0..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm/eglfs_brcm.pro +++ /dev/null @@ -1,22 +0,0 @@ -TARGET = qeglfs-brcm-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl - -LIBS += -lbcm_host - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -SOURCES += $$PWD/qeglfsbrcmmain.cpp \ - $$PWD/qeglfsbrcmintegration.cpp - -HEADERS += $$PWD/qeglfsbrcmintegration.h - -OTHER_FILES += $$PWD/eglfs_brcm.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSBrcmIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_emu/eglfs_emu.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_emu/eglfs_emu.pro deleted file mode 100644 index 609f04e8a9..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_emu/eglfs_emu.pro +++ /dev/null @@ -1,27 +0,0 @@ -TARGET = qeglfs-emu-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl - -# Avoid X11 header collision -DEFINES += QT_EGL_NO_X11 - -OTHER_FILES += $$PWD/eglfs_emu.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSEmulatorIntegrationPlugin -load(qt_plugin) - -DISTFILES += \ - eglfs_emu.json - -SOURCES += \ - qeglfsemumain.cpp \ - qeglfsemulatorintegration.cpp \ - qeglfsemulatorscreen.cpp - -HEADERS += \ - qeglfsemulatorintegration.h \ - qeglfsemulatorscreen.h diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms-plugin.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms-plugin.pro deleted file mode 100644 index 37c0e09c74..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms-plugin.pro +++ /dev/null @@ -1,17 +0,0 @@ -TARGET = qeglfs-kms-integration - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSKmsGbmIntegrationPlugin -load(qt_plugin) - -QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private eglfs_kms_gbm_support-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += gbm drm -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsgbmmain.cpp - -OTHER_FILES += $$PWD/eglfs_kms.json diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms.pro deleted file mode 100644 index 23063c052e..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms.pro +++ /dev/null @@ -1,5 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS += eglfs_kms_gbm_support.pro -SUBDIRS += eglfs_kms-plugin.pro diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms_gbm_support.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms_gbm_support.pro deleted file mode 100644 index 8c05f16008..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms_gbm_support.pro +++ /dev/null @@ -1,23 +0,0 @@ -TARGET = QtEglFsKmsGbmSupport -CONFIG += internal_module -load(qt_module) - -QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += gbm drm -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsgbmintegration.cpp \ - $$PWD/qeglfskmsgbmdevice.cpp \ - $$PWD/qeglfskmsgbmscreen.cpp \ - $$PWD/qeglfskmsgbmcursor.cpp \ - $$PWD/qeglfskmsgbmwindow.cpp - -HEADERS += $$PWD/qeglfskmsgbmintegration_p.h \ - $$PWD/qeglfskmsgbmdevice_p.h \ - $$PWD/qeglfskmsgbmscreen_p.h \ - $$PWD/qeglfskmsgbmcursor_p.h \ - $$PWD/qeglfskmsgbmwindow_p.h diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/eglfs_kms_egldevice.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/eglfs_kms_egldevice.pro deleted file mode 100644 index 1b6255b03f..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/eglfs_kms_egldevice.pro +++ /dev/null @@ -1,24 +0,0 @@ -TARGET = qeglfs-kms-egldevice-integration - -QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += drm -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsegldevicemain.cpp \ - $$PWD/qeglfskmsegldeviceintegration.cpp \ - qeglfskmsegldevice.cpp \ - qeglfskmsegldevicescreen.cpp - -HEADERS += $$PWD/qeglfskmsegldeviceintegration.h \ - qeglfskmsegldevice.h \ - qeglfskmsegldevicescreen.h - -OTHER_FILES += $$PWD/eglfs_kms_egldevice.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSKmsEglDeviceIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_support/eglfs_kms_support.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_support/eglfs_kms_support.pro deleted file mode 100644 index 0df31117a7..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_support/eglfs_kms_support.pro +++ /dev/null @@ -1,22 +0,0 @@ -TARGET = QtEglFsKmsSupport -CONFIG += internal_module -load(qt_module) - -QT += core-private gui-private eglfsdeviceintegration-private kms_support-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += drm -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsintegration.cpp \ - $$PWD/qeglfskmsdevice.cpp \ - $$PWD/qeglfskmsscreen.cpp \ - $$PWD/qeglfskmseventreader.cpp - -HEADERS += $$PWD/qeglfskmsintegration_p.h \ - $$PWD/qeglfskmsdevice_p.h \ - $$PWD/qeglfskmsscreen_p.h \ - $$PWD/qeglfskmshelpers_p.h \ - $$PWD/qeglfskmseventreader_p.h diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/eglfs_kms_vsp2.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/eglfs_kms_vsp2.pro deleted file mode 100644 index a1a1c55383..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/eglfs_kms_vsp2.pro +++ /dev/null @@ -1,30 +0,0 @@ -TARGET = qeglfs-kms-vsp2-integration - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSKmsVsp2IntegrationPlugin -load(qt_plugin) - -QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private - -INCLUDEPATH += $$PWD/../../api $$PWD/../eglfs_kms_support - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += gbm drm v4l2 -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsvsp2main.cpp \ - $$PWD/qeglfskmsvsp2integration.cpp \ - $$PWD/qeglfskmsvsp2device.cpp \ - $$PWD/qeglfskmsvsp2screen.cpp \ - $$PWD/qlinuxmediadevice.cpp \ - $$PWD/qvsp2blendingdevice.cpp - -HEADERS += $$PWD/qeglfskmsvsp2integration.h \ - $$PWD/qeglfskmsvsp2device.h \ - $$PWD/qeglfskmsvsp2screen.h \ - $$PWD/qlinuxmediadevice.h \ - $$PWD/qvsp2blendingdevice.h - -OTHER_FILES += $$PWD/eglfs_kms.json diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/eglfs_mali.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/eglfs_mali.pro deleted file mode 100644 index 3261a6dbba..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/eglfs_mali.pro +++ /dev/null @@ -1,20 +0,0 @@ -TARGET = qeglfs-mali-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl - -SOURCES += $$PWD/qeglfsmalimain.cpp \ - $$PWD/qeglfsmaliintegration.cpp - -HEADERS += $$PWD/qeglfsmaliintegration.h - -OTHER_FILES += $$PWD/eglfs_mali.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSMaliIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_openwfd/eglfs_openwfd.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_openwfd/eglfs_openwfd.pro deleted file mode 100644 index 448b4cbe21..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_openwfd/eglfs_openwfd.pro +++ /dev/null @@ -1,17 +0,0 @@ -TARGET = qeglfs-openwfd-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl - -SOURCES += $$PWD/qeglfsopenwfdmain.cpp \ - $$PWD/qeglfsopenwfdintegration.cpp - -HEADERS += $$PWD/qeglfsopenwfdintegration.h - -OTHER_FILES += $$PWD/eglfs_openwfd.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSOpenWFDIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_rcar/eglfs_rcar.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_rcar/eglfs_rcar.pro deleted file mode 100644 index 62acd51cea..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_rcar/eglfs_rcar.pro +++ /dev/null @@ -1,18 +0,0 @@ -TARGET = qeglfs-rcar-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl -DEFINES += LINUX=1 EGL_API_FB=1 - -SOURCES += $$PWD/qeglfsrcarmain.cpp \ - $$PWD/qeglfsrcarintegration.cpp - -HEADERS += $$PWD/qeglfsrcarintegration.h - -OTHER_FILES += $$PWD/eglfs_rcar.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSRcarIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/eglfs_viv.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/eglfs_viv.pro deleted file mode 100644 index 8d3be9c2ac..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/eglfs_viv.pro +++ /dev/null @@ -1,18 +0,0 @@ -TARGET = qeglfs-viv-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl -DEFINES += LINUX=1 EGL_API_FB=1 - -SOURCES += $$PWD/qeglfsvivmain.cpp \ - $$PWD/qeglfsvivintegration.cpp - -HEADERS += $$PWD/qeglfsvivintegration.h - -OTHER_FILES += $$PWD/eglfs_viv.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSVivIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv_wl/eglfs_viv_wl.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv_wl/eglfs_viv_wl.pro deleted file mode 100644 index 45d73e1eb8..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv_wl/eglfs_viv_wl.pro +++ /dev/null @@ -1,20 +0,0 @@ -TARGET = qeglfs-viv-wl-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl -DEFINES += LINUX=1 EGL_API_FB=1 - -SOURCES += $$PWD/qeglfsvivwlmain.cpp \ - $$PWD/qeglfsvivwlintegration.cpp - -HEADERS += $$PWD/qeglfsvivwlintegration.h - -OTHER_FILES += $$PWD/eglfs_viv_wl.json - -QMAKE_USE_PRIVATE += wayland_server - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSVivWaylandIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/eglfs_x11.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/eglfs_x11.pro deleted file mode 100644 index 6b55918f03..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/eglfs_x11.pro +++ /dev/null @@ -1,22 +0,0 @@ -TARGET = qeglfs-x11-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -INCLUDEPATH += $$PWD/../../api - -CONFIG += egl -QMAKE_USE += xcb_xlib xcb xlib - -SOURCES += $$PWD/qeglfsx11main.cpp \ - $$PWD/qeglfsx11integration.cpp - -HEADERS += $$PWD/qeglfsx11integration.h - -OTHER_FILES += $$PWD/eglfs_x11.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSX11IntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/eglfs-plugin.pro b/src/plugins/platforms/eglfs/eglfs-plugin.pro deleted file mode 100644 index 90da265000..0000000000 --- a/src/plugins/platforms/eglfs/eglfs-plugin.pro +++ /dev/null @@ -1,17 +0,0 @@ -TARGET = qeglfs - -QT += eglfsdeviceintegration-private - -CONFIG += egl - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -SOURCES += $$PWD/qeglfsmain.cpp - -OTHER_FILES += $$PWD/eglfs.json - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QEglFSIntegrationPlugin -!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/eglfs.pro b/src/plugins/platforms/eglfs/eglfs.pro deleted file mode 100644 index d91ffd60a1..0000000000 --- a/src/plugins/platforms/eglfs/eglfs.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS += eglfsdeviceintegration.pro -SUBDIRS += eglfs-plugin.pro -SUBDIRS += deviceintegration diff --git a/src/plugins/platforms/eglfs/eglfsdeviceintegration.pro b/src/plugins/platforms/eglfs/eglfsdeviceintegration.pro deleted file mode 100644 index 720e35c226..0000000000 --- a/src/plugins/platforms/eglfs/eglfsdeviceintegration.pro +++ /dev/null @@ -1,47 +0,0 @@ -# The device integration plugin base class has to live in a shared library, -# placing it into a static lib like platformsupport is not sufficient since we -# have to keep the QObject magic like qobject_cast working. -# Hence this private-only module. -# By having _p headers, it also enables developing out-of-tree integration plugins. - -TARGET = QtEglFSDeviceIntegration -CONFIG += internal_module -MODULE = eglfsdeviceintegration - -QT += \ - core-private gui-private \ - devicediscovery_support-private \ - fb_support-private - -qtHaveModule(input_support-private): \ - QT += input_support-private - -qtConfig(opengl): QT += opengl-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -DEFINES += QT_BUILD_EGL_DEVICE_LIB - -include($$PWD/api/api.pri) - -!isEmpty(EGLFS_PLATFORM_HOOKS_SOURCES) { - HEADERS += $$EGLFS_PLATFORM_HOOKS_HEADERS - SOURCES += $$EGLFS_PLATFORM_HOOKS_SOURCES - LIBS += $$EGLFS_PLATFORM_HOOKS_LIBS - DEFINES += EGLFS_PLATFORM_HOOKS -} - -!isEmpty(EGLFS_DEVICE_INTEGRATION) { - DEFINES += EGLFS_PREFERRED_PLUGIN=$$EGLFS_DEVICE_INTEGRATION -} - -CONFIG += egl - -# Prevent gold linker from crashing. -# This started happening when QtPlatformSupport was modularized. -use_gold_linker: CONFIG += no_linker_version_script - -!contains(DEFINES, QT_NO_CURSOR): RESOURCES += $$PWD/cursor.qrc - -load(qt_module) |