package/mesa3d: Add option to build OSMesa
PATCH 1/1 package/mesa3d: Add option to build OSMesa
Signed-off-by Andr?? Hentschel <[email protected]>
--- package/mesa3d/Config.in | 7 +++++++ package/mesa3d/mesa3d.mk | 6 ++++++ 2 files changed, 13 insertions(+)
package/mesa3d/Config.in +7 -0
@@ -117,6 +117,13 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON 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"
package/mesa3d/mesa3d.mk +6 -0
@@ -110,6 +110,12 @@ endif # 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,
Signature · 1 line
1.9.1
PATCH 1/1 package/mesa3d: Add option to build OSMesa
Hi,
Just wanted to note that this patch was tested with various other mesa3d options and on different archs and toolchains (uclibc, glibc, musl, extern, intern) since I submitted it
Signed-off-by Andr? Hentschel <[email protected]>
Am 03.10.2015 um 19:21 schrieb Andr? Hentschel:
Quoted 42 lines
Signed-off-by Andr?? Hentschel <[email protected]>--- package/mesa3d/Config.in | 7 +++++++ package/mesa3d/mesa3d.mk | 6 ++++++ 2 files changed, 13 insertions(+)package/mesa3d/Config.in +7
-0@@ -117,6 +117,13 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON 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"package/mesa3d/mesa3d.mk +6
-0@@ -110,6 +110,12 @@ endif # 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,
PATCH 1/1 package/mesa3d: Add option to build OSMesa
In reply to André HentschelAm Sat, 03 Oct 2015 19:21:55 +0200 schrieb Andr? Hentschel:
Quoted 11 lines
Signed-off-by Andr?? Hentschel <[email protected]>--- package/mesa3d/Config.in | 7 +++++++ package/mesa3d/mesa3d.mk | 6 ++++++ 2 files changed, 13 insertions(+)package/mesa3d/Config.in +0
-0
package/mesa3d/Config.in config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON · line 126
Quoted 10 lines
package/mesa3d/Config.in +7
-0@@ -117,6 +117,13 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON 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. +
Reviewed-by Bernd Kuhls <[email protected]>
Thomas Petazzoni
AppliedPATCH 1/1 package/mesa3d: Add option to build OSMesa
In reply to André HentschelDear Andr? Hentschel,
Quoted 5 lines · Andr? Hentschel
Signed-off-by Andr?? Hentschel <[email protected]>--- package/mesa3d/Config.in | 7 +++++++ package/mesa3d/mesa3d.mk | 6 ++++++ 2 files changed, 13 insertions(+)
Applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com