Cleanups to 'features'

This commit is contained in:
twinaphex 2015-04-19 18:41:11 +02:00
parent 5105519d8d
commit 79d57de207
2 changed files with 27 additions and 13 deletions

View File

@ -116,6 +116,12 @@ static const bool _alsa_supp = true;
static const bool _alsa_supp = false; static const bool _alsa_supp = false;
#endif #endif
#ifdef HAVE_COREAUDIO
static const bool _coreaudio_supp = true;
#else
static const bool _coreaudio_supp = false;
#endif
#if defined(HAVE_OSS) || defined(HAVE_OSS_BSD) #if defined(HAVE_OSS) || defined(HAVE_OSS_BSD)
static const bool _oss_supp = true; static const bool _oss_supp = true;
#else #else
@ -266,6 +272,12 @@ static const bool _cocoa_supp = true;
static const bool _cocoa_supp = false; static const bool _cocoa_supp = false;
#endif #endif
#ifdef HAVE_QT
static const bool _qt_supp = true;
#else
static const bool _qt_supp = false;
#endif
#ifdef HAVE_RPNG #ifdef HAVE_RPNG
static const bool _rpng_supp = true; static const bool _rpng_supp = true;
#else #else

View File

@ -95,18 +95,19 @@ static void print_features(void)
_PSUPP(libretrodb, "LibretroDB", "LibretroDB support"); _PSUPP(libretrodb, "LibretroDB", "LibretroDB support");
_PSUPP(command, "Command", "Command interface support"); _PSUPP(command, "Command", "Command interface support");
_PSUPP(network_command, "Network Command", "Network Command interface support"); _PSUPP(network_command, "Network Command", "Network Command interface support");
_PSUPP(sdl, "SDL", "SDL drivers"); _PSUPP(sdl, "SDL", "SDL input/audio/video drivers");
_PSUPP(sdl2, "SDL2", "SDL2 drivers"); _PSUPP(sdl2, "SDL2", "SDL2 input/audio/video drivers");
_PSUPP(x11, "X11", "X11 drivers"); _PSUPP(x11, "X11", "X11 input/video drivers");
_PSUPP(wayland, "wayland", "Wayland drivers"); _PSUPP(wayland, "wayland", "Wayland input/video drivers");
_PSUPP(thread, "Threads", "Threading support"); _PSUPP(thread, "Threads", "Threading support");
_PSUPP(opengl, "OpenGL", "OpenGL driver"); _PSUPP(opengl, "OpenGL", "OpenGL driver");
_PSUPP(opengles, "OpenGL ES", "OpenGL ES driver"); _PSUPP(opengles, "OpenGL ES", "OpenGL ES driver");
_PSUPP(kms, "KMS", "KMS/EGL context support"); _PSUPP(xvideo, "XVideo", "XVideo video driver");
_PSUPP(udev, "UDEV", "UDEV/EVDEV input driver support"); _PSUPP(udev, "UDEV", "UDEV/EVDEV input driver support");
_PSUPP(egl, "EGL", "EGL context support"); _PSUPP(egl, "EGL", "context driver");
_PSUPP(vg, "OpenVG", "OpenVG output support"); _PSUPP(kms, "KMS", "context driver");
_PSUPP(xvideo, "XVideo", "XVideo output"); _PSUPP(vg, "OpenVG", "context driver");
_PSUPP(coreaudio, "CoreAudio", "audio driver");
_PSUPP(alsa, "ALSA", "audio driver"); _PSUPP(alsa, "ALSA", "audio driver");
_PSUPP(oss, "OSS", "audio driver"); _PSUPP(oss, "OSS", "audio driver");
_PSUPP(jack, "Jack", "audio driver"); _PSUPP(jack, "Jack", "audio driver");
@ -115,26 +116,27 @@ static void print_features(void)
_PSUPP(pulse, "PulseAudio", "audio driver"); _PSUPP(pulse, "PulseAudio", "audio driver");
_PSUPP(dsound, "DirectSound", "audio driver"); _PSUPP(dsound, "DirectSound", "audio driver");
_PSUPP(xaudio, "XAudio2", "audio driver"); _PSUPP(xaudio, "XAudio2", "audio driver");
_PSUPP(7zip, "7zip", "7zip support");
_PSUPP(zlib, "zlib", ".zip extraction");
_PSUPP(rpng, "rpng", "PNG encode/decode");
_PSUPP(al, "OpenAL", "audio driver"); _PSUPP(al, "OpenAL", "audio driver");
_PSUPP(sl, "OpenSL", "audio driver"); _PSUPP(sl, "OpenSL", "audio driver");
_PSUPP(7zip, "7zip", "7zip support");
_PSUPP(zlib, "zlib", ".zip extraction");
_PSUPP(dylib, "External", "External filter and plugin support"); _PSUPP(dylib, "External", "External filter and plugin support");
_PSUPP(cg, "Cg", "Cg pixel shaders"); _PSUPP(cg, "Cg", "Cg pixel shaders");
_PSUPP(glsl, "GLSL", "GLSL pixel shaders"); _PSUPP(glsl, "GLSL", "GLSL pixel shaders");
_PSUPP(glsl, "HLSL", "HLSL pixel shaders"); _PSUPP(glsl, "HLSL", "HLSL pixel shaders");
_PSUPP(libxml2, "libxml2", "libxml2 XML parsing"); _PSUPP(libxml2, "libxml2", "libxml2 XML parsing");
_PSUPP(sdl_image, "SDL_image", "SDL_image image loading"); _PSUPP(sdl_image, "SDL_image", "SDL_image image loading");
_PSUPP(rpng, "rpng", "PNG image loading/encoding");
_PSUPP(fbo, "FBO", "OpenGL render-to-texture (multi-pass shaders)"); _PSUPP(fbo, "FBO", "OpenGL render-to-texture (multi-pass shaders)");
_PSUPP(dynamic, "Dynamic", "Dynamic run-time loading of libretro library"); _PSUPP(dynamic, "Dynamic", "Dynamic run-time loading of libretro library");
_PSUPP(ffmpeg, "FFmpeg", "On-the-fly recording of gameplay with libavcodec"); _PSUPP(ffmpeg, "FFmpeg", "On-the-fly recording of gameplay with libavcodec");
_PSUPP(freetype, "FreeType", "TTF font rendering with FreeType"); _PSUPP(freetype, "FreeType", "TTF font rendering with FreeType");
_PSUPP(coretext, "CoreText", "TTF font rendering with Apple CoreText"); _PSUPP(coretext, "CoreText", "TTF font rendering (for OSX and/or iOS)");
_PSUPP(netplay, "Netplay", "Peer-to-peer netplay"); _PSUPP(netplay, "Netplay", "Peer-to-peer netplay");
_PSUPP(python, "Python", "Script support in shaders"); _PSUPP(python, "Python", "Script support in shaders");
_PSUPP(libusb, "Libusb", "Libusb support"); _PSUPP(libusb, "Libusb", "Libusb support");
_PSUPP(cocoa, "Cocoa", "Cocoa UI companion support (for OSX and/or iOS)."); _PSUPP(cocoa, "Cocoa", "Cocoa UI companion support (for OSX and/or iOS)");
_PSUPP(qt, "QT", "QT UI companion support");
} }
#undef _PSUPP #undef _PSUPP