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