]> code.ossystems Code Review - meta-freescale.git/commit
mesa: Limit OSMesa to DRM and remove swrast
authorTom Hochstein <tom.hochstein@nxp.com>
Fri, 22 Jan 2021 22:25:50 +0000 (16:25 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 26 Jan 2021 11:27:35 +0000 (08:27 -0300)
commit47394d05017483e7fd0cba5b927c76198bdfa062
tree61ba1f86f439f79b2438641da1d5decfe30ee517
parentc19ab3ed009c45e5b016fee24f752f43de427a7a
mesa: Limit OSMesa to DRM and remove swrast

OSMesa was originally added for i.MX 8 only. This limitation was recently dropped
accidentally. Additionally, the 8DualXLite has no GPU and fails to build:

```
| In file included from ../../../mesa-demos-8.4.0/src/osdemos/osdemo32.c:14:
| ../../../mesa-demos-8.4.0/src/util/glut_wrap.h:9:12: fatal error: GL/glut.h: No such file or directory
|     9 | #  include <GL/glut.h>
|       |            ^~~~~~~~~~~
| compilation terminated.
```

Fix the OSMesa configuration by limiting it to parts with DRM.

Also, adding swrast prevents the use of hardware acceleration. Drop swrast.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/mesa/mesa_%.bbappend