glmark2: new package

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Spenser Gilliland
2014-12-14 11:30:22 +01:00
committed by Thomas Petazzoni
parent 131300e6f1
commit 8304c360b0
3 changed files with 99 additions and 0 deletions

31
package/glmark2/Config.in Normal file
View File

@@ -0,0 +1,31 @@
config BR2_PACKAGE_GLMARK2_EGL_GLES
bool
default y
depends on BR2_PACKAGE_HAS_LIBEGL
depends on BR2_PACKAGE_HAS_LIBGLES
depends on BR2_PACKAGE_MESA3D
config BR2_PACKAGE_GLMARK2_GL
bool
default y
depends on BR2_PACKAGE_HAS_LIBGL
depends on BR2_PACKAGE_MESA3D
comment "glmark2 needs an OpenGL or an openGL ES and EGL backend provided by mesa3d"
depends on BR2_LARGEFILE
depends on !BR2_PACKAGE_GLMARK2_GL && !BR2_PACKAGE_GLMARK2_EGL_GLES
config BR2_PACKAGE_GLMARK2
bool "glmark2"
depends on BR2_LARGEFILE
depends on BR2_PACKAGE_GLMARK2_GL || BR2_PACKAGE_GLMARK2_EGL_GLES
select BR2_PACKAGE_JPEG
select BR2_PACKAGE_LIBPNG
help
glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.
https://github.com/glmark2/glmark2
comment "glmark2 needs udev /dev management and a toolchain w/ C++, largefile, NPTL"
depends on !BR2_LARGEFILE || !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_HAS_UDEV