Add _opengles_supp to config.features.h

This commit is contained in:
twinaphex 2015-04-16 22:13:16 +02:00
parent d9f5f7c457
commit 182c4e5e37
3 changed files with 12 additions and 0 deletions

View File

@ -62,6 +62,12 @@ static const bool _opengl_supp = true;
static const bool _opengl_supp = false;
#endif
#if defined(HAVE_OPENGLES) || defined(HAVE_OPENGLES2) || defined(HAVE_OPENGLES3)
static const bool _opengles_supp = true;
#else
static const bool _opengles_supp = false;
#endif
#ifdef HAVE_KMS
static const bool _kms_supp = true;
#else

View File

@ -446,6 +446,11 @@ static int deferred_push_system_information(void *data, void *userdata,
menu_list_push(list, feat_str, "",
MENU_SETTINGS_CORE_INFO_NONE, 0);
snprintf(feat_str, sizeof(feat_str),
"OpenGL ES support: %s", _opengles_supp ? "true" : "false");
menu_list_push(list, feat_str, "",
MENU_SETTINGS_CORE_INFO_NONE, 0);
snprintf(feat_str, sizeof(feat_str),
"Threading support: %s", _thread_supp ? "true" : "false");
menu_list_push(list, feat_str, "",

View File

@ -101,6 +101,7 @@ static void print_features(void)
_PSUPP(wayland, "wayland", "Wayland drivers");
_PSUPP(thread, "Threads", "Threading support");
_PSUPP(opengl, "OpenGL", "OpenGL driver");
_PSUPP(opengles, "OpenGL ES", "OpenGL ES driver");
_PSUPP(kms, "KMS", "KMS/EGL context support");
_PSUPP(udev, "UDEV", "UDEV/EVDEV input driver support");
_PSUPP(egl, "EGL", "EGL context support");