1*4882a593Smuzhiyunconfig BR2_PACKAGE_SDL2 2*4882a593Smuzhiyun bool "sdl2" 3*4882a593Smuzhiyun depends on !BR2_STATIC_LIBS 4*4882a593Smuzhiyun help 5*4882a593Smuzhiyun Simple DirectMedia Layer 2 - SDL2 is a library that allows 6*4882a593Smuzhiyun programs portable low level access to a video framebuffer, 7*4882a593Smuzhiyun audio output, mouse, and keyboard. It is not compatible with 8*4882a593Smuzhiyun SDL1. 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun http://www.libsdl.org/ 11*4882a593Smuzhiyun 12*4882a593Smuzhiyunif BR2_PACKAGE_SDL2 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunconfig BR2_PACKAGE_SDL2_DIRECTFB 15*4882a593Smuzhiyun bool "DirectFB video driver" 16*4882a593Smuzhiyun depends on BR2_PACKAGE_DIRECTFB 17*4882a593Smuzhiyun 18*4882a593Smuzhiyuncomment "DirectFB video driver needs directfb" 19*4882a593Smuzhiyun depends on !BR2_PACKAGE_DIRECTFB 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunconfig BR2_PACKAGE_SDL2_X11 22*4882a593Smuzhiyun bool "X11 video driver" 23*4882a593Smuzhiyun depends on BR2_PACKAGE_XORG7 24*4882a593Smuzhiyun depends on BR2_USE_MMU # fork() 25*4882a593Smuzhiyun select BR2_PACKAGE_XLIB_LIBX11 26*4882a593Smuzhiyun select BR2_PACKAGE_XLIB_LIBXEXT 27*4882a593Smuzhiyun 28*4882a593Smuzhiyuncomment "X11 video driver needs X.org" 29*4882a593Smuzhiyun depends on !BR2_PACKAGE_XORG7 30*4882a593Smuzhiyun depends on BR2_USE_MMU 31*4882a593Smuzhiyun 32*4882a593Smuzhiyunconfig BR2_PACKAGE_SDL2_KMSDRM 33*4882a593Smuzhiyun bool "KMS/DRM video driver" 34*4882a593Smuzhiyun depends on BR2_PACKAGE_LIBDRM 35*4882a593Smuzhiyun depends on BR2_PACKAGE_HAS_LIBGBM 36*4882a593Smuzhiyun 37*4882a593Smuzhiyuncomment "KMS/DRM video driver needs libdrm" 38*4882a593Smuzhiyun depends on !BR2_PACKAGE_LIBDRM 39*4882a593Smuzhiyun 40*4882a593Smuzhiyuncomment "KMS/DRM video driver needs GBM" 41*4882a593Smuzhiyun depends on !BR2_PACKAGE_HAS_LIBGBM 42*4882a593Smuzhiyun 43*4882a593Smuzhiyunconfig BR2_PACKAGE_SDL2_OPENGL 44*4882a593Smuzhiyun bool "OpenGL (GLX)" 45*4882a593Smuzhiyun depends on BR2_PACKAGE_HAS_LIBGL 46*4882a593Smuzhiyun depends on BR2_PACKAGE_XORG7 47*4882a593Smuzhiyun depends on BR2_USE_MMU # X11 video driver 48*4882a593Smuzhiyun select BR2_PACKAGE_SDL2_X11 49*4882a593Smuzhiyun 50*4882a593Smuzhiyuncomment "OpenGL support needs X11 and an OpenGL provider" 51*4882a593Smuzhiyun depends on BR2_USE_MMU 52*4882a593Smuzhiyun depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7 53*4882a593Smuzhiyun 54*4882a593Smuzhiyunconfig BR2_PACKAGE_SDL2_OPENGLES 55*4882a593Smuzhiyun bool "OpenGL ES" 56*4882a593Smuzhiyun depends on BR2_PACKAGE_HAS_LIBGLES 57*4882a593Smuzhiyun 58*4882a593Smuzhiyuncomment "OpenGL ES support needs an OpenGL ES provider" 59*4882a593Smuzhiyun depends on !BR2_PACKAGE_HAS_LIBGLES 60*4882a593Smuzhiyun 61*4882a593Smuzhiyunconfig BR2_PACKAGE_SDL2_WAYLAND 62*4882a593Smuzhiyun bool "Wayland video driver" 63*4882a593Smuzhiyun depends on BR2_PACKAGE_WAYLAND 64*4882a593Smuzhiyun 65*4882a593Smuzhiyuncomment "Wayland video driver needs wayland" 66*4882a593Smuzhiyun depends on !BR2_PACKAGE_WAYLAND 67*4882a593Smuzhiyun 68*4882a593Smuzhiyunendif 69*4882a593Smuzhiyun 70*4882a593Smuzhiyuncomment "sdl2 needs a toolchain w/ dynamic library" 71*4882a593Smuzhiyun depends on BR2_STATIC_LIBS 72