Openembedded Core Discussions
 help / color / mirror / Atom feed
* [RFC][PATCH] mesa-gl: add GL-only Mesa recipe
@ 2013-09-09 12:26 Ross Burton
  2013-09-09 16:57 ` Kamble, Nitin A
  0 siblings, 1 reply; 11+ messages in thread
From: Ross Burton @ 2013-09-09 12:26 UTC (permalink / raw)
  To: openembedded-core

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.burton@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



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-09-16 17:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-09 12:26 [RFC][PATCH] mesa-gl: add GL-only Mesa recipe Ross Burton
2013-09-09 16:57 ` Kamble, Nitin A
2013-09-09 17:24   ` Denys Dmytriyenko
2013-09-10  9:51   ` Burton, Ross
2013-09-11  0:23     ` Kamble, Nitin A
2013-09-11 13:08       ` Burton, Ross
2013-09-14  0:49         ` Kamble, Nitin A
2013-09-16 15:00           ` Burton, Ross
2013-09-16 15:01             ` Burton, Ross
2013-09-16 16:16             ` Kamble, Nitin A
2013-09-16 17:59               ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox