OpenGL pulls in lot of X dependencies on linux. To avoid this we also support OpenGLES2 now. This will also allow to run kmscon on embedded/mobile platforms. We still get X dependencies through EGL which we cannot avoid as EGL is compiled with multiple backends on most systems. However, switching to GLES2 reduces memory footprint by 30MB which is pretty good. This also enables GLES2 as default in autogen.sh. However, default behaviour of configure will still be GL. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
5 lines
97 B
Bash
Executable File
5 lines
97 B
Bash
Executable File
#!/bin/sh
|
|
mkdir -p m4/
|
|
autoreconf -i
|
|
./configure --enable-debug --enable-pango --enable-gles2 $*
|