ui: add egl-helpers

Add helper functions to initialize OpenGL using egl.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
Gerd Hoffmann 2015-01-06 15:40:00 +01:00
parent 896e1a050a
commit 7ced9e9f6d
4 changed files with 168 additions and 1 deletions

2
configure vendored
View file

@ -3166,7 +3166,7 @@ else
fi
if test "$opengl" != "no" ; then
opengl_pkgs="gl glesv2 epoxy"
opengl_pkgs="gl glesv2 epoxy egl"
if $pkg_config $opengl_pkgs x11 && test "$have_glx" = "yes"; then
opengl_cflags="$($pkg_config --cflags $opengl_pkgs) $x11_cflags"
opengl_libs="$($pkg_config --libs $opengl_pkgs) $x11_libs"