On Mon, Sep 09, 2013 at 04:57:40PM +0000, Kamble, Nitin A wrote: > Hi Ross, > This is a clever way to deal with unnecessary rebuilding of mesa we were > seeing earlier. With this mesa-gl, the mesa also need modification to remove > gl from the default recipe. > > Also looks like there is a need from community for mesa-gl-lib and > mesa-gl-headers, as some platforms need just the mesa-gl-headers and not the > libs. > > Nitin
Ross, Nitin, This is a great and very welcomed development! This would definitely allow our TI machines (and other ARM ones, as you said) to happily co-exist with Mesa software rendering. -- Denys > > -----Original Message----- > > From: openembedded-core-boun...@lists.openembedded.org > > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf > > Of Ross Burton > > Sent: Monday, September 09, 2013 5:27 AM > > To: openembedded-core@lists.openembedded.org > > Subject: [OE-core] [RFC][PATCH] mesa-gl: add GL-only Mesa recipe > > > > Some machines have hardware-specific GL drivers that do EGL and GLES > > (many ARM boards). Others have their own EGL/GLES drivers and provide a > > Mesa DRI driver (EMGD). Previously adding Mesa, for software GL/GLX > > rendering in the first case and hardware GLX in the second, involved > > bbappends and changing Mesa to be machine-specific. > > > > By adding a just-GL Mesa the machine definition can combine it with the > > hardware drivers cleanly. > > > > Signed-off-by: Ross Burton <ross.bur...@intel.com> > > --- > > meta/recipes-graphics/mesa/mesa-gl_9.1.6.bb | 5 +++++ > > 1 file changed, 5 insertions(+) > > create mode 100644 meta/recipes-graphics/mesa/mesa-gl_9.1.6.bb > > > > diff --git a/meta/recipes-graphics/mesa/mesa-gl_9.1.6.bb b/meta/recipes- > > graphics/mesa/mesa-gl_9.1.6.bb > > new file mode 100644 > > index 0000000..521a830 > > --- /dev/null > > +++ b/meta/recipes-graphics/mesa/mesa-gl_9.1.6.bb > > @@ -0,0 +1,5 @@ > > +require mesa_${PV}.bb > > + > > +FILESPATH = "${FILE_DIRNAME}/mesa-${PV}:${FILE_DIRNAME}/mesa" > > + > > +PACKAGECONFIG ??= "dri gl" > > -- > > 1.7.10.4 > > > > _______________________________________________ > > Openembedded-core mailing list > > Openembedded-core@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core