mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/qt5base: add vulkan option
Notes:
- eglfs/vulkan is only implemented for eglfs_viv
(see stub implementation for QEglFSDeviceIntegration::createPlatformVulkanInstance()
in src/plugins/platforms/eglfs/api/qeglfsdeviceintegration.cpp and
real implementation for QEglFSVivIntegration::createPlatformVulkanInstance()
in src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/qeglfsvivintegration.cpp)
- or for xcb (see QXcbIntegration::createPlatformVulkanInstance()
in src/plugins/platforms/xcb/qxcbintegration.cpp)
Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
028403c47c
commit
c6b2a5049e
@@ -180,6 +180,16 @@ config BR2_PACKAGE_QT5BASE_OPENGL_LIB
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
config BR2_PACKAGE_QT5BASE_VULKAN
|
||||||
|
bool "Vulkan support"
|
||||||
|
depends on BR2_INSTALL_LIBSTDCPP # vulkan-loader
|
||||||
|
depends on !BR2_STATIC_LIBS # vulkan-loader
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS # vulkan-loader
|
||||||
|
select BR2_PACKAGE_VULKAN_HEADERS
|
||||||
|
select BR2_PACKAGE_VULKAN_LOADER
|
||||||
|
help
|
||||||
|
This option enables Vulkan support.
|
||||||
|
|
||||||
config BR2_PACKAGE_QT5BASE_LINUXFB
|
config BR2_PACKAGE_QT5BASE_LINUXFB
|
||||||
bool "linuxfb support"
|
bool "linuxfb support"
|
||||||
|
|
||||||
|
|||||||
@@ -206,6 +206,13 @@ else
|
|||||||
QT5BASE_CONFIGURE_OPTS += -no-opengl
|
QT5BASE_CONFIGURE_OPTS += -no-opengl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_QT5BASE_VULKAN),y)
|
||||||
|
QT5BASE_CONFIGURE_OPTS += -feature-vulkan
|
||||||
|
QT5BASE_DEPENDENCIES += vulkan-headers vulkan-loader
|
||||||
|
else
|
||||||
|
QT5BASE_CONFIGURE_OPTS += -no-feature-vulkan
|
||||||
|
endif
|
||||||
|
|
||||||
QT5BASE_DEFAULT_QPA = $(call qstrip,$(BR2_PACKAGE_QT5BASE_DEFAULT_QPA))
|
QT5BASE_DEFAULT_QPA = $(call qstrip,$(BR2_PACKAGE_QT5BASE_DEFAULT_QPA))
|
||||||
QT5BASE_CONFIGURE_OPTS += $(if $(QT5BASE_DEFAULT_QPA),-qpa $(QT5BASE_DEFAULT_QPA))
|
QT5BASE_CONFIGURE_OPTS += $(if $(QT5BASE_DEFAULT_QPA),-qpa $(QT5BASE_DEFAULT_QPA))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user