package/glslsandbox-player: add mali-t76x support

mali-t76x frame buffer driver requires a "null" native windowing
system. With such a system, the default EGL display is selected.

Fixes:
http://autobuild.buildroot.net/results/4a579346463d0d946d6d2a05723270135d728981

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Julien Olivain 2021-09-03 21:50:20 +02:00 committed by Thomas Petazzoni
parent 2bc053c2b1
commit 7744f8f350
2 changed files with 8 additions and 0 deletions

View File

@ -56,6 +56,7 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS
choice
prompt "Native windowing system"
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI if BR2_PACKAGE_SUNXI_MALI_MAINLINE
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X if BR2_PACKAGE_MALI_T76X
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI if BR2_PACKAGE_RPI_USERLAND
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2 if BR2_PACKAGE_SDL2_OPENGLES
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX if BR2_PACKAGE_TI_SGX_UM
@ -73,6 +74,10 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI
bool "Allwinner ARM/Mali Frame Buffer"
depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X
bool "ARM/Mali T76x Frame Buffer"
depends on BR2_PACKAGE_MALI_T76X
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI
bool "RaspberryPI Frame Buffer"
depends on BR2_PACKAGE_RPI_USERLAND

View File

@ -44,6 +44,9 @@ GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=kms
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-mainline
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=mali
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += mali-t76x
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += rpi-userland
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=rpi