Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
endif # BR2_PACKAGE_XORG7
+comment "Off-screen Rendering"
+
+config BR2_PACKAGE_MESA3D_OSMESA
+ bool "OSMesa library"
+ help
+ The OSMesa API provides functions for making off-screen renderings.
+
if BR2_PACKAGE_MESA3D_DRIVER
comment "Additional API Support"
# APIs
+ifeq ($(BR2_PACKAGE_MESA3D_OSMESA),y)
+MESA3D_CONF_OPTS += --enable-osmesa
+else
+MESA3D_CONF_OPTS += --disable-osmesa
+endif
+
# Always enable OpenGL:
# - it is needed for GLES (mesa3d's ./configure is a bit weird)
# - but if no DRI driver is enabled, then libgl is not built,