xref: /OK3568_Linux_fs/buildroot/package/glslsandbox-player/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER
2*4882a593Smuzhiyun	bool "glslsandbox-player"
3*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_LIBEGL
4*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_LIBGLES
5*4882a593Smuzhiyun	# Doesn't really depend on threads, but this makes sure we have at least
6*4882a593Smuzhiyun	# one native windowing system available, and is good enough in practice.
7*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
8*4882a593Smuzhiyun	help
9*4882a593Smuzhiyun	  GLSL Sandbox standalone player allow one to run and render
10*4882a593Smuzhiyun	  (most of) nice shaders available online on the
11*4882a593Smuzhiyun	  http://glslsandbox.com/ website, but without the need of an
12*4882a593Smuzhiyun	  Internet connection, a web browser or any of its
13*4882a593Smuzhiyun	  dependencies. Instead, the only requirement of
14*4882a593Smuzhiyun	  glslsandbox-player is a working EGL and GLESv2 libraries.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	  This package is useful for stressing and testing GLES shader
17*4882a593Smuzhiyun	  compiler in GPU drivers.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	  https://github.com/jolivain/glslsandbox-player
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunif BR2_PACKAGE_GLSLSANDBOX_PLAYER
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_PNG
24*4882a593Smuzhiyun	bool "Enable PNG support"
25*4882a593Smuzhiyun	select BR2_PACKAGE_LIBPNG
26*4882a593Smuzhiyun	help
27*4882a593Smuzhiyun	  Enable PNG texture loading support
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_TESTING
30*4882a593Smuzhiyun	bool "Enable testing"
31*4882a593Smuzhiyun	help
32*4882a593Smuzhiyun	  Generate and install test suite on target
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS
35*4882a593Smuzhiyun	bool "Install scripts"
36*4882a593Smuzhiyun	depends on !BR2_PACKAGE_PYTHON # python3
37*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # python3
38*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # python3
39*4882a593Smuzhiyun	depends on BR2_USE_MMU # bash, python3
40*4882a593Smuzhiyun	depends on BR2_USE_WCHAR # python3
41*4882a593Smuzhiyun	select BR2_PACKAGE_BASH # runtime
42*4882a593Smuzhiyun	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS if BR2_PACKAGE_BUSYBOX # bash
43*4882a593Smuzhiyun	select BR2_PACKAGE_COREUTILS # runtime (timeout)
44*4882a593Smuzhiyun	select BR2_PACKAGE_LIBCURL_CURL # runtime
45*4882a593Smuzhiyun	select BR2_PACKAGE_IMAGEMAGICK # runtime
46*4882a593Smuzhiyun	select BR2_PACKAGE_JPEG # runtime
47*4882a593Smuzhiyun	select BR2_PACKAGE_LIBCURL # runtime
48*4882a593Smuzhiyun	select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL # runtime
49*4882a593Smuzhiyun	select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL # runtime
50*4882a593Smuzhiyun	select BR2_PACKAGE_MAKE # runtime
51*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL # runtime
52*4882a593Smuzhiyun	select BR2_PACKAGE_PYTHON3 # runtime
53*4882a593Smuzhiyun	help
54*4882a593Smuzhiyun	  Install additional helper scripts
55*4882a593Smuzhiyun
56*4882a593Smuzhiyunchoice
57*4882a593Smuzhiyun	prompt "Native windowing system"
58*4882a593Smuzhiyun	default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI  if BR2_PACKAGE_SUNXI_MALI_MAINLINE
59*4882a593Smuzhiyun	default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X if BR2_PACKAGE_MALI_T76X
60*4882a593Smuzhiyun	default BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI   if BR2_PACKAGE_RPI_USERLAND
61*4882a593Smuzhiyun	default BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2  if BR2_PACKAGE_SDL2_OPENGLES
62*4882a593Smuzhiyun	default BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX if BR2_PACKAGE_TI_SGX_UM
63*4882a593Smuzhiyun	default BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
64*4882a593Smuzhiyun	default BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL    if BR2_PACKAGE_WAYLAND
65*4882a593Smuzhiyun	default BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11   if BR2_PACKAGE_XORG7
66*4882a593Smuzhiyun	help
67*4882a593Smuzhiyun	  Select the native windowing system you wish to use.
68*4882a593Smuzhiyun
69*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS
70*4882a593Smuzhiyun	bool "KMS/DRM/GBM"
71*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
72*4882a593Smuzhiyun	select BR2_PACKAGE_LIBDRM
73*4882a593Smuzhiyun
74*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI
75*4882a593Smuzhiyun	bool "Allwinner ARM/Mali Frame Buffer"
76*4882a593Smuzhiyun	depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE
77*4882a593Smuzhiyun
78*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X
79*4882a593Smuzhiyun	bool "ARM/Mali T76x Frame Buffer"
80*4882a593Smuzhiyun	depends on BR2_PACKAGE_MALI_T76X
81*4882a593Smuzhiyun
82*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI
83*4882a593Smuzhiyun	bool "RaspberryPI Frame Buffer"
84*4882a593Smuzhiyun	depends on BR2_PACKAGE_RPI_USERLAND
85*4882a593Smuzhiyun
86*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2
87*4882a593Smuzhiyun	bool "SDL2"
88*4882a593Smuzhiyun	depends on BR2_PACKAGE_SDL2_OPENGLES
89*4882a593Smuzhiyun
90*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX
91*4882a593Smuzhiyun	bool "TI/SGX Frame Buffer"
92*4882a593Smuzhiyun	depends on BR2_PACKAGE_TI_SGX_UM
93*4882a593Smuzhiyun
94*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB
95*4882a593Smuzhiyun	bool "Vivante Frame Buffer"
96*4882a593Smuzhiyun	depends on BR2_PACKAGE_IMX_GPU_VIV
97*4882a593Smuzhiyun
98*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL
99*4882a593Smuzhiyun	bool "Wayland"
100*4882a593Smuzhiyun	depends on BR2_PACKAGE_WAYLAND
101*4882a593Smuzhiyun
102*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11
103*4882a593Smuzhiyun	bool "X11"
104*4882a593Smuzhiyun	depends on BR2_PACKAGE_XORG7
105*4882a593Smuzhiyun	select BR2_PACKAGE_XLIB_LIBX11
106*4882a593Smuzhiyun
107*4882a593Smuzhiyunendchoice
108*4882a593Smuzhiyun
109*4882a593Smuzhiyunif BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL
110*4882a593Smuzhiyunconfig BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_IVI
111*4882a593Smuzhiyun	bool "Wayland IVI shell support"
112*4882a593Smuzhiyunendif
113*4882a593Smuzhiyun
114*4882a593Smuzhiyunendif
115*4882a593Smuzhiyun
116*4882a593Smuzhiyuncomment "glslsandbox-player needs a toolchain w/ threads and an openGL ES and EGL driver"
117*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
118*4882a593Smuzhiyun		!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES
119