2019-10-13 21:05:39 +02:00
|
|
|
config BR2_PACKAGE_GLMARK2_FLAVOR_ANY
|
|
|
|
bool
|
|
|
|
|
|
|
|
config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL
|
2021-11-13 10:30:08 +01:00
|
|
|
depends on BR2_PACKAGE_HAS_LIBGBM
|
2019-10-13 21:05:39 +02:00
|
|
|
depends on BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
2021-11-13 10:30:07 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs -> libdrm
|
2019-10-13 21:05:39 +02:00
|
|
|
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
|
|
|
|
|
|
|
|
config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GL
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBGL
|
|
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
|
|
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
|
|
|
|
|
|
|
|
config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
depends on BR2_PACKAGE_WAYLAND
|
|
|
|
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
|
|
|
|
|
|
|
|
config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBGL
|
|
|
|
depends on BR2_PACKAGE_WAYLAND
|
|
|
|
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
|
|
|
|
|
|
|
|
config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GLESV2
|
2014-12-14 11:30:22 +01:00
|
|
|
bool
|
|
|
|
default y
|
2019-10-13 21:05:39 +02:00
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
depends on BR2_PACKAGE_XLIB_LIBX11
|
|
|
|
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
|
2014-12-14 11:30:22 +01:00
|
|
|
|
2019-10-13 21:05:39 +02:00
|
|
|
config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GL
|
2014-12-14 11:30:22 +01:00
|
|
|
bool
|
|
|
|
default y
|
2016-04-15 13:30:46 +02:00
|
|
|
depends on BR2_PACKAGE_HAS_LIBGL
|
2019-10-13 21:05:39 +02:00
|
|
|
depends on BR2_PACKAGE_XLIB_LIBX11
|
|
|
|
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
|
2014-12-14 11:30:22 +01:00
|
|
|
|
2017-02-19 11:35:38 +01:00
|
|
|
comment "glmark2 needs a toolchain w/ C++, gcc >= 4.9"
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
|
2019-10-13 21:05:39 +02:00
|
|
|
comment "glmark2 needs an OpenGL or an openGL ES and EGL backend"
|
2017-02-19 11:35:38 +01:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_INSTALL_LIBSTDCPP
|
2019-10-13 21:05:39 +02:00
|
|
|
depends on !BR2_PACKAGE_GLMARK2_FLAVOR_ANY
|
2014-12-14 11:30:22 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_GLMARK2
|
|
|
|
bool "glmark2"
|
2017-02-19 11:35:38 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
2019-10-13 21:05:39 +02:00
|
|
|
depends on BR2_PACKAGE_GLMARK2_FLAVOR_ANY
|
2014-12-14 11:30:22 +01:00
|
|
|
select BR2_PACKAGE_JPEG
|
2021-11-13 10:30:07 +01:00
|
|
|
select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2
|
2014-12-14 11:30:22 +01:00
|
|
|
select BR2_PACKAGE_LIBPNG
|
2021-11-13 10:30:09 +01:00
|
|
|
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL
|
|
|
|
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2
|
2014-12-14 11:30:22 +01:00
|
|
|
help
|
|
|
|
glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.
|
|
|
|
|
|
|
|
https://github.com/glmark2/glmark2
|