RetroArch/griffin/griffin_cpp.cpp

89 lines
2.7 KiB
C++
Raw Normal View History

2017-12-31 04:07:39 +00:00
/* RetroArch - A frontend for libretro.
2017-01-22 12:40:32 +00:00
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
2015-04-12 16:59:50 +00:00
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
#define HAVE_SHADERS 1
2015-04-12 16:59:50 +00:00
#endif
#if defined(HAVE_ZLIB) || defined(HAVE_7ZIP)
#define HAVE_COMPRESSION 1
2015-04-12 16:59:50 +00:00
#endif
#if defined(_MSC_VER)
#include <string.h>
2015-04-12 16:59:50 +00:00
#include <compat/posix_string.h>
#endif
/*============================================================
MENU
============================================================ */
2016-01-12 08:23:17 +00:00
#ifdef HAVE_XUI
#include "../menu/drivers/xui.cpp"
#endif
/*============================================================
UI
============================================================ */
2016-06-09 18:11:26 +00:00
#if defined(HAVE_QT)
2016-06-10 08:15:38 +00:00
#include "../ui/drivers/ui_qt.cpp"
2016-06-09 18:11:26 +00:00
#include "../ui/drivers/qt/ui_qt_window.cpp"
2016-06-10 08:15:38 +00:00
#include "../ui/drivers/qt/ui_qt_browser_window.cpp"
#include "../ui/drivers/qt/ui_qt_msg_window.cpp"
2016-06-09 18:18:08 +00:00
#include "../ui/drivers/qt/ui_qt_application.cpp"
2016-06-09 18:11:26 +00:00
#endif
2016-11-20 02:19:56 +00:00
#if defined(HAVE_QT_WRAPPER)
#include "../ui/drivers/ui_qt.cpp"
#endif
2016-06-09 18:11:26 +00:00
/*============================================================
VIDEO DRIVER
============================================================ */
2016-02-17 04:22:17 +00:00
#ifdef HAVE_VULKAN
#include "../gfx/drivers_shader/shader_vulkan.cpp"
#endif
#ifdef HAVE_SPIRV_CROSS
#include "../deps/SPIRV-Cross/spirv_cross.cpp"
2016-12-04 03:19:13 +00:00
#include "../deps/SPIRV-Cross/spirv_cfg.cpp"
#include "../deps/SPIRV-Cross/spirv_glsl.cpp"
#include "../deps/SPIRV-Cross/spirv_hlsl.cpp"
#include "../deps/SPIRV-Cross/spirv_msl.cpp"
#ifdef HAVE_SLANG
#include "../gfx/drivers_shader/glslang_util.cpp"
#include "../gfx/drivers_shader/slang_preprocess.cpp"
#include "../gfx/drivers_shader/slang_process.cpp"
#include "../gfx/drivers_shader/slang_reflection.cpp"
#endif
2016-02-17 04:22:17 +00:00
#endif
/*============================================================
FONTS
============================================================ */
2015-11-17 21:47:27 +00:00
#if defined(_XBOX360)
#include "../gfx/drivers_font/xdk360_fonts.cpp"
#endif
#ifdef WANT_GLSLANG
#ifdef _WIN32
#include "../deps/glslang/glslang/glslang/OSDependent/Windows/ossource.cpp"
#endif
#if defined(__linux__) && !defined(ANDROID)
#include "../deps/glslang/glslang/glslang/OSDependent/Unix/ossource.cpp"
#endif
#endif