Skip to contentSkip to conversation

arago.conf: Use OpenGL ES2 rendering with SDL2

PATCH New Andrew F. Davis 1 participant 1 message Jan 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arago.conf: Use OpenGL ES2 rendering with SDL2

When the SDL2 recipe detects "opengl" as a distro feature it selects desktop OpenGL, although we advertise "opengl" as a feature we only actually support the embedded standard ES. This causes a build failure on libsdl2 for our platforms. Specify the correct GL standard.

---
 meta-arago-distro/conf/distro/arago.conf | 3 +++
 1 file changed, 3 insertions(+)
meta-arago-distro/conf/distro/arago.conf +3 -0
index e7c274a1..99ba36f8 100644
@@ -128,6 +128,9 @@ PACKAGECONFIG_append_pn-open62541 = " encrypt"
 # Enable netperf intervals/pacing and histogram
 PACKAGECONFIG_append_pn-netperf = "intervals histogram"
 
+# Use OpenGL ES2 for SDL2
+PACKAGECONFIG_GL_pn-libsdl2 = "gles2"
+
 # Configure RAMFS for jailhouse linux-demo
 JH_RAMFS_IMAGE = "arago-tiny-image"
 
Signature · 1 line
2.17.1