Start properly implementing libretro SDK for boolean.h include

header, glsym, and rthreads
This commit is contained in:
twinaphex 2014-10-21 05:05:52 +02:00
parent 0209536d4b
commit c62d52de0f
136 changed files with 1215 additions and 171 deletions

View File

@ -33,6 +33,8 @@ ifeq ($(REENTRANT_TEST), 1)
OBJ += console/test.o
endif
CFLAGS += -I./libretro-sdk/include
# Switches
# Extra menu drivers if GL supported
@ -292,7 +294,7 @@ ifeq ($(HAVE_FREETYPE), 1)
endif
ifeq ($(HAVE_THREADS), 1)
OBJ += autosave.o rthreads/rthreads.o gfx/video_thread_wrapper.o audio/audio_thread_wrapper.o
OBJ += autosave.o libretro-sdk/rthreads/rthreads.o gfx/video_thread_wrapper.o audio/audio_thread_wrapper.o
DEFINES += -DHAVE_THREADS
ifeq ($(findstring Haiku,$(OS)),)
LIBS += -lpthread
@ -362,7 +364,7 @@ ifeq ($(HAVE_OPENGL), 1)
gfx/fonts/gl_raster_font.o \
gfx/math/matrix.o \
gfx/state_tracker.o \
gfx/glsym/rglgen.o
libretro-sdk/glsym/rglgen.o
ifeq ($(HAVE_KMS), 1)
OBJ += gfx/context/drm_egl_ctx.o
@ -415,10 +417,10 @@ ifeq ($(HAVE_OPENGL), 1)
ifeq ($(HAVE_GLES3), 1)
DEFINES += -DHAVE_OPENGLES3
endif
OBJ += gfx/glsym/glsym_es2.o
OBJ += libretro-sdk/glsym/glsym_es2.o
else
DEFINES += -DHAVE_GL_SYNC
OBJ += gfx/glsym/glsym_gl.o
OBJ += libretro-sdk/glsym/glsym_gl.o
ifeq ($(OSX), 1)
LIBS += -framework OpenGL
else ifneq ($(findstring Win32,$(OS)),)

View File

@ -133,6 +133,8 @@ CFLAGS += -Wall -std=gnu99 $(MACHDEP) $(INCLUDE)
OBJ = griffin/griffin.o $(PLATOBJS)
INCLUDE += -I./libretro-sdk/include
ifeq ($(HAVE_LOGGER), 1)
CFLAGS += -DHAVE_LOGGER
CFLAGS += -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT)

View File

@ -34,7 +34,7 @@ EBOOT_PATH = ps3/pkg/USRDIR/EBOOT.BIN
CORE_PATH = ps3/pkg/USRDIR/cores/CORE.SELF
LDDIRS = -L. -L$(CELL_SDK)/target/ppu/lib/PSGL/RSX/ultra-opt
INCDIRS = -I. -Ips3 -Icommon -Ideps/rzlib
INCDIRS = -I. -Ips3 -Icommon -Ideps/rzlib -Ilibretro-sdk/include
# system platform
system_platform = unix

View File

@ -19,7 +19,7 @@ ifeq ($(WHOLE_ARCHIVE_LINK), 1)
WHOLE_END := -Wl,--no-whole-archive
endif
INCDIR = $(PSPPATH)/include
INCDIR = $(PSPPATH)/include libretro-sdk/include
CFLAGS = $(OPTIMIZE_LV) -G0 -std=gnu99 -ffast-math
ASFLAGS = $(CFLAGS)

View File

@ -3,10 +3,12 @@ include $(CLEAR_VARS)
LOCAL_MODULE := retroarch-jni
RARCH_DIR := ../../..
LOCAL_CFLAGS += -std=gnu99 -Wall -DHAVE_LOGGER -DRARCH_DUMMY_LOG -DHAVE_ZLIB -DHAVE_MMAP -I$(LOCAL_PATH)/$(RARCH_DIR)
LOCAL_CFLAGS += -std=gnu99 -Wall -DHAVE_LOGGER -DRARCH_DUMMY_LOG -DHAVE_ZLIB -DHAVE_MMAP
LOCAL_LDLIBS := -llog -lz
LOCAL_SRC_FILES := apk-extract/apk-extract.c $(RARCH_DIR)/file_extract.c $(RARCH_DIR)/file_path.c $(RARCH_DIR)/string_list.c $(RARCH_DIR)/compat/compat.c
LOCAL_C_INCLUDES := $(RARCH_DIR)/libretro-sdk/include/
include $(BUILD_SHARED_LIBRARY)
HAVE_NEON := 1
@ -55,12 +57,14 @@ else
GLES_LIB := -lGLESv2
endif
LOCAL_CFLAGS += -Wall -pthread -Wno-unused-function -fno-stack-protector -funroll-loops -DNDEBUG -DRARCH_MOBILE -DHAVE_GRIFFIN -DANDROID -DHAVE_DYNAMIC -DHAVE_OPENGL -DHAVE_FBO -DHAVE_OVERLAY -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DGLSL_DEBUG -DHAVE_DYLIB -DHAVE_GLSL -DHAVE_MENU -DHAVE_RGUI -DHAVE_ZLIB -DINLINE=inline -DLSB_FIRST -DHAVE_THREADS -D__LIBRETRO__ -DHAVE_RSOUND -DHAVE_NETPLAY -DRARCH_INTERNAL -DHAVE_FILTERS_BUILTIN -DHAVE_LAKKA -DHAVE_GLUI -DHAVE_XMB
LOCAL_CFLAGS += -DHAVE_7ZIP
LOCAL_CFLAGS += -O2
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -landroid -lEGL $(GLES_LIB) $(LOGGER_LDLIBS) -ldl
LOCAL_C_INCLUDES := $(RARCH_DIR)/libretro-sdk/include/
LOCAL_CFLAGS += -DHAVE_SL
LOCAL_LDLIBS += -lOpenSLES -lz

View File

@ -1,10 +1,10 @@
#include "file_extract.h"
#include "file.h"
#include "file_path.h"
#include "../../../../file_extract.h"
#include "../../../../file.h"
#include "../../../../file_path.h"
#include <stdio.h>
#include <string.h>
#include "miscellaneous.h"
#include "../../../../miscellaneous.h"
#include "../native/com_retroarch_browser_NativeInterface.h"
//#define VERBOSE_LOG

View File

@ -17,7 +17,7 @@
#ifndef __IOS_RARCH_BTDYNAMIC_H__
#define __IOS_RARCH_BTDYNAMIC_H__
#include "../../../boolean.h"
#include <boolean.h>
#include "btstack/utils.h"
#include "btstack/btstack.h"

View File

@ -19,7 +19,7 @@
#include <stdlib.h>
#include <alsa/asoundlib.h>
#include "../general.h"
#include "../rthreads/rthreads.h"
#include <rthreads/rthreads.h>
#include "../fifo_buffer.h"
#define TRY_ALSA(x) if (x < 0) { \

View File

@ -14,7 +14,7 @@
*/
#include "audio_thread_wrapper.h"
#include "../rthreads/rthreads.h"
#include <rthreads/rthreads.h>
#include "../general.h"
#include "../performance.h"
#include "../fifo_buffer.h"

View File

@ -17,7 +17,7 @@
#define RARCH_AUDIO_THREAD_H__
#include "../driver.h"
#include "../boolean.h"
#include <boolean.h>
// Starts a audio driver in a new thread.
// Access to audio driver will be mediated through this driver.

View File

@ -19,7 +19,7 @@
#include "../general.h"
#include "../fifo_buffer.h"
#include <stdlib.h>
#include "../boolean.h"
#include <boolean.h>
#include <pthread.h>
#ifdef OSX

View File

@ -41,7 +41,7 @@ static DSMIXBINS dsmb;
#include "../driver.h"
#include <stdlib.h>
#include "../boolean.h"
#include <boolean.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>

View File

@ -16,7 +16,7 @@
#include "../driver.h"
#include <stdlib.h>
#include "../boolean.h"
#include <boolean.h>
#include "../general.h"
#include <string.h>

View File

@ -23,7 +23,7 @@
#include <jack/ringbuffer.h>
#include <pthread.h>
#include <stdint.h>
#include "../boolean.h"
#include <boolean.h>
#include <string.h>
#include <assert.h>

View File

@ -16,7 +16,7 @@
#include "../driver.h"
#include "../general.h"
#include "../rthreads/rthreads.h"
#include <rthreads/rthreads.h>
#include <SLES/OpenSLES.h>
#ifdef ANDROID

View File

@ -17,7 +17,7 @@
#include "driver.h"
#include "general.h"
#include <pulse/pulseaudio.h>
#include "../boolean.h"
#include <boolean.h>
#include <string.h>
#include <stdint.h>

View File

@ -25,7 +25,7 @@ extern "C" {
#include <stddef.h>
#include <stdint.h>
#include <math.h>
#include "../../boolean.h"
#include <boolean.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846264338327

View File

@ -19,7 +19,7 @@
#include <roaraudio.h>
#include <errno.h>
#include <stdint.h>
#include "../boolean.h"
#include <boolean.h>
#include "general.h"
typedef struct

View File

@ -18,8 +18,8 @@
#include <stdlib.h>
#include "rsound.h"
#include "../fifo_buffer.h"
#include "../boolean.h"
#include "../rthreads/rthreads.h"
#include <boolean.h>
#include <rthreads/rthreads.h>
typedef struct rsd
{

View File

@ -24,11 +24,7 @@ extern "C" {
#include <sys/types.h>
#include <unistd.h>
#ifdef STANDALONE
#include "rthreads.h"
#else
#include "../rthreads/rthreads.h"
#endif
#include <rthreads/rthreads.h>
#include <sys/time.h>
#include <time.h>
#include <stdint.h>

View File

@ -16,14 +16,14 @@
#include "../driver.h"
#include <stdlib.h>
#include "../boolean.h"
#include <boolean.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include "SDL.h"
#include "SDL_audio.h"
#include "../rthreads/rthreads.h"
#include <rthreads/rthreads.h>
#include "../general.h"
#include "../fifo_buffer.h"

View File

@ -14,7 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../boolean.h"
#include <boolean.h>
#include "utils.h"
#include "../performance.h"

View File

@ -21,7 +21,7 @@
#include <stdint.h>
#include <stdio.h>
#include "../../msvc/msvc_compat.h"
#include "../../boolean.h"
#include <boolean.h>
#define MAX_BUFFERS 16
#define MAX_BUFFERS_MASK (MAX_BUFFERS - 1)

View File

@ -16,7 +16,7 @@
#include "../driver.h"
#include <stdlib.h>
#include "../boolean.h"
#include <boolean.h>
#include "../general.h"
#include <xenon_sound/sound.h>

View File

@ -16,7 +16,7 @@
#include "autosave.h"
#include "rthreads/rthreads.h"
#include <stdlib.h>
#include "boolean.h"
#include <boolean.h>
#include <string.h>
#include <stdio.h>
#include "general.h"

View File

@ -15,7 +15,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../gfx/glsym/glsym.h"
#include <glsym/glsym.h>
#include "../driver.h"
typedef struct android_camera

View File

@ -21,7 +21,7 @@
#endif
#include <stdint.h>
#include "boolean.h"
#include <boolean.h>
#ifdef __cplusplus
extern "C" {

View File

@ -21,7 +21,7 @@
#ifndef HAVE_GETOPT_LONG
#include <string.h>
#include "../boolean.h"
#include <boolean.h>
#include <stddef.h>
#include <stdlib.h>
#include <ctype.h>

View File

@ -20,7 +20,7 @@
#include <stdlib.h>
#include <ctype.h>
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#include "../posix_string.h"
#ifndef RXML_TEST

View File

@ -22,7 +22,7 @@ extern "C" {
#endif
#include <stdint.h>
#include "../boolean.h"
#include <boolean.h>
#include <stdio.h>
#include <stddef.h>

View File

@ -17,7 +17,7 @@
#ifndef __CONFIG_DEF_H
#define __CONFIG_DEF_H
#include "boolean.h"
#include <boolean.h>
#include "libretro.h"
#include "driver.h"
#include "gfx/gfx_common.h"

View File

@ -2,7 +2,7 @@
#define __RARCH_FEATURES_H
#include <stddef.h>
#include "boolean.h"
#include <boolean.h>
#ifdef HAVE_CONFIG_H
#include "config.h"

View File

@ -16,7 +16,7 @@
#ifndef CORE_OPTIONS_H__
#define CORE_OPTIONS_H__
#include "boolean.h"
#include <boolean.h>
#include "libretro.h"
#include <stddef.h>

View File

@ -39,6 +39,16 @@
#include <unistd.h>
#endif
/* Some platforms do not set this value.
* Just assume a value. It's usually 4KiB.
* Platforms with a known value (like Win32)
* set this value explicitly in platform specific headers.
*/
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
static int qstrcmp_plain(const void *a_, const void *b_)
{
const struct string_list_elem *a = (const struct string_list_elem*)a_;

View File

@ -19,7 +19,7 @@
#define __DRIVER__H
#include <sys/types.h>
#include "boolean.h"
#include <boolean.h>
#include "libretro_private.h"
#include <stdlib.h>
#include <stdint.h>

View File

@ -28,7 +28,7 @@
#include "config.h"
#endif
#include "boolean.h"
#include <boolean.h>
#include "libretro_private.h"
#include "dynamic_dummy.h"

View File

@ -16,7 +16,7 @@
#ifndef __DYNAMIC_H
#define __DYNAMIC_H
#include "boolean.h"
#include <boolean.h>
#include "libretro.h"
#ifdef HAVE_CONFIG_H

View File

@ -18,7 +18,7 @@
#ifndef DYNAMIC_DUMMY_H__
#define DYNAMIC_DUMMY_H__
#include "boolean.h"
#include <boolean.h>
#include "libretro.h"
void libretro_dummy_retro_init(void);

View File

@ -15,7 +15,7 @@
#include <stdlib.h>
#include <unistd.h>
#include "../boolean.h"
#include <boolean.h>
unsigned RWebAudioSampleRate(void);
void *RWebAudioInit(unsigned latency);

View File

@ -14,7 +14,7 @@
*/
#include <stdint.h>
#include "../boolean.h"
#include <boolean.h>
#include "../driver.h"
void *RWebCamInit(uint64_t caps, unsigned width, unsigned height);

2
file.c
View File

@ -17,7 +17,7 @@
#include "file_path.h"
#include "general.h"
#include <stdlib.h>
#include "boolean.h"
#include <boolean.h>
#include "libretro.h"
#include <string.h>
#include <time.h>

2
file.h
View File

@ -16,7 +16,7 @@
#ifndef __RARCH_FILE_H
#define __RARCH_FILE_H
#include "boolean.h"
#include <boolean.h>
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>

View File

@ -16,7 +16,7 @@
#ifndef FILE_EXTRACT_H__
#define FILE_EXTRACT_H__
#include "boolean.h"
#include <boolean.h>
#include "file.h"
#include <stddef.h>
#include <stdint.h>

View File

@ -21,7 +21,7 @@
extern "C" {
#endif
#include "boolean.h"
#include <boolean.h>
struct item_file
{

View File

@ -16,7 +16,7 @@
#include "file_path.h"
#include <stdlib.h>
#include "boolean.h"
#include <boolean.h>
#include <string.h>
#include <time.h>
#include <errno.h>

View File

@ -17,7 +17,7 @@
#ifndef __RARCH_FILE_PATH_H
#define __RARCH_FILE_PATH_H
#include "boolean.h"
#include <boolean.h>
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>

View File

@ -20,7 +20,7 @@
#include <stdint.h>
#include <stddef.h>
#include "../boolean.h"
#include <boolean.h>
#include "frontend_context.h"
#ifdef __cplusplus

View File

@ -18,7 +18,7 @@
#define __FRONTEND_CONTEXT_H
#include <stddef.h>
#include "../boolean.h"
#include <boolean.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"

View File

@ -15,7 +15,7 @@
*/
#include <stdint.h>
#include "../boolean.h"
#include <boolean.h>
#include <stddef.h>
#include <string.h>

View File

@ -22,7 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "../../boolean.h"
#include <boolean.h>
#include "../../general.h"
#include "menu_navigation.h"
#include "../../core_info.h"

View File

@ -19,7 +19,7 @@
#include <stddef.h>
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#include "menu_list.h"
#include "../../settings_list.h"

View File

@ -27,7 +27,7 @@
#include <android/window.h>
#include <android/sensor.h>
#include "../../thread.h"
#include <rthreads/rthreads.h>
struct android_app
{

View File

@ -21,7 +21,7 @@
#include "../frontend.h"
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#include <stddef.h>
#include <string.h>

View File

@ -15,7 +15,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../boolean.h"
#include <boolean.h>
#include "../../driver.h"
#include "../../general.h"
#include "../../libretro_private.h"

View File

@ -17,7 +17,7 @@
#include "../frontend_context.h"
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#include <stddef.h>
#include <string.h>

View File

@ -22,6 +22,7 @@
#include "../../conf/config_file.h"
#include "../../general.h"
#include "../../file.h"
#include "../../file_path.h"
#define EMULATOR_CONTENT_DIR "SSNE10000"

View File

@ -21,12 +21,13 @@
#include <pspsdk.h>
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#include <stddef.h>
#include <string.h>
#include "../../gfx/psp/sdk_defines.h"
#include "../../file.h"
#include "../../file_path.h"
#include "../../general.h"
#if defined(HAVE_KERNEL_PRX) || defined(IS_SALAMANDER)

View File

@ -17,7 +17,7 @@
#include <bps/bps.h>
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#include <stddef.h>
#include <string.h>
#include "../../dynamic.h"

View File

@ -17,7 +17,7 @@
#ifndef __RARCH_GENERAL_H
#define __RARCH_GENERAL_H
#include "boolean.h"
#include <boolean.h>
#include <stdint.h>
#include <limits.h>
#include <setjmp.h>

View File

@ -29,7 +29,7 @@
#include <X11/extensions/Xinerama.h>
#endif
#include "../../boolean.h"
#include <boolean.h>
void x11_show_mouse(Display *dpy, Window win, bool state);
void x11_windowed_fullscreen(Display *dpy, Window win);

View File

@ -32,7 +32,7 @@ struct rarch_soft_plug
};
#ifdef HAVE_THREADS
#include "../rthreads/rthreads.h"
#include <rthreads/rthreads.h>
struct filter_thread_data
{

View File

@ -57,7 +57,7 @@ endif
CC := $(compiler)
CXX := $(subst CC,++,$(compiler)) -std=gnu++0x
flags := -fPIC $(extra_flags)
flags := -fPIC $(extra_flags) -I../../libretro-sdk/include
asflags := -fPIC $(extra_flags)
objects :=
flags += -std=c99

View File

@ -18,7 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "boolean.h"
#include <boolean.h>
#include "snes_ntsc/snes_ntsc.h"
#include "snes_ntsc/snes_ntsc.c"

View File

@ -1,33 +0,0 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
*
* 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/>.
*/
#ifndef __RARCH_BOOLEAN_H
#define __RARCH_BOOLEAN_H
#ifndef __cplusplus
#if defined(_MSC_VER) && !defined(SN_TARGET_PS3)
/* Hack applied for MSVC when compiling in C89 mode as it isn't C99 compliant. */
#define bool unsigned char
#define true 1
#define false 0
#else
#include <stdbool.h>
#endif
#endif
#endif

View File

@ -15,7 +15,7 @@
*/
#include "softfilter.h"
#include "boolean.h"
#include <boolean.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

View File

@ -19,7 +19,7 @@
#include <stdlib.h>
#include <math.h>
#include "../../msvc/msvc_compat.h"
#include "../../boolean.h"
#include <boolean.h>
#define ATLAS_COLS 16
#define ATLAS_ROWS 16

View File

@ -17,7 +17,7 @@
#define D3D_FONT_H__
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#include "../../driver.h"
#ifdef __cplusplus

View File

@ -18,7 +18,7 @@
#define __RARCH_FONTS_H
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
/* All coordinates and offsets are top-left oriented.
*

View File

@ -17,7 +17,7 @@
#define GL_FONT_H__
#include "../../driver.h"
#include "../../boolean.h"
#include <boolean.h>
struct font_glyph;

View File

@ -23,7 +23,7 @@ extern "C" {
#include <stddef.h>
#include <stdint.h>
#include "../general.h"
#include "../boolean.h"
#include <boolean.h>
#include "../performance.h"
#ifdef HAVE_CONFIG_H

View File

@ -16,7 +16,7 @@
#ifndef __GFX_CONTEXT_H
#define __GFX_CONTEXT_H
#include "../boolean.h"
#include <boolean.h>
#include "../driver.h"
#ifdef HAVE_CONFIG_H

View File

@ -35,7 +35,7 @@
#include <EGL/eglext.h>
#endif
#include "glsym/glsym.h"
#include <glsym/glsym.h>
#define context_bind_hw_render(gl, enable) if (gl->shared_context_use && gl->ctx_driver->bind_hw_render) gl->ctx_driver->bind_hw_render(gl, enable)

View File

@ -17,7 +17,7 @@
#define __RARCH_IMAGE_CONTEXT_H
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#ifdef _WIN32
#include "../context/win32_common.h"

View File

@ -17,7 +17,7 @@
#ifndef MATH_MATRIX_3X3_H__
#define MATH_MATRIX_3X3_H__
#include "boolean.h"
#include <boolean.h>
typedef struct math_matrix_3x3
{

View File

@ -14,14 +14,13 @@
*/
#include <Python.h>
#include "../../boolean.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "py_state.h"
#include "../../dynamic.h"
#include "../../libretro.h"
#include "py_state.h"
#include "../../general.h"
#include "../../compat/strl.h"
#include "../../compat/posix_string.h"

View File

@ -17,7 +17,7 @@
#define __RARCH_PY_STATE_H
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#ifndef PY_STATE_OMIT_DECLARATION
typedef struct py_state py_state_t;

View File

@ -18,7 +18,7 @@
#include <stdint.h>
#include "../../boolean.h"
#include <boolean.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"

View File

@ -17,7 +17,7 @@
#ifndef FILTER_H__
#define FILTER_H__
#include "../../boolean.h"
#include <boolean.h>
#include "scaler.h"
bool scaler_gen_filter(struct scaler_ctx *ctx);

View File

@ -18,7 +18,7 @@
#include <stdint.h>
#include <stddef.h>
#include "../../boolean.h"
#include <boolean.h>
#include "scaler_common.h"
#define FILTER_UNITY (1 << 14)

View File

@ -17,7 +17,7 @@
#ifndef SHADER_CONTEXT_H__
#define SHADER_CONTEXT_H__
#include "../../boolean.h"
#include <boolean.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"

View File

@ -13,7 +13,6 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../boolean.h"
#include <string.h>
#include "../../general.h"
#include "shader_glsl.h"
@ -28,8 +27,6 @@
#include "../../config.h"
#endif
#include "../glsym/glsym.h"
#include "../gfx_context.h"
#include <stdlib.h>

View File

@ -17,7 +17,7 @@
#ifndef __RARCH_GLSL_H
#define __RARCH_GLSL_H
#include "../../boolean.h"
#include <boolean.h>
#include "shader_context.h"
void gl_glsl_set_get_proc_address(gfx_ctx_proc_t (*proc)(const char*));

View File

@ -14,7 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../boolean.h"
#include <boolean.h>
#include <string.h>
#include "../../general.h"
#include "../../compat/strl.h"

View File

@ -16,7 +16,7 @@
#ifndef SHADER_PARSE_H
#define SHADER_PARSE_H
#include "../../boolean.h"
#include <boolean.h>
#include "../state_tracker.h"
#include "../../conf/config_file.h"
#include "../../miscellaneous.h"

View File

@ -21,7 +21,7 @@ extern "C" {
#endif
#include <stdint.h>
#include "../boolean.h"
#include <boolean.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"

View File

@ -17,8 +17,8 @@
#define RARCH_VIDEO_THREAD_H__
#include "../driver.h"
#include "../boolean.h"
#include "../rthreads/rthreads.h"
#include <boolean.h>
#include <rthreads/rthreads.h>
#include "../general.h"
/* Starts a video driver in a new thread.

View File

@ -216,11 +216,11 @@ VIDEO DRIVER
#include "../gfx/gl_common.c"
#ifndef HAVE_PSGL
#include "../gfx/glsym/rglgen.c"
#include "../libretro-sdk/glsym/rglgen.c"
#ifdef HAVE_OPENGLES2
#include "../gfx/glsym/glsym_es2.c"
#include "../libretro-sdk/glsym/glsym_es2.c"
#else
#include "../gfx/glsym/glsym_gl.c"
#include "../libretro-sdk/glsym/glsym_gl.c"
#endif
#endif
@ -616,7 +616,7 @@ THREAD
#if defined(HAVE_THREADS) && defined(XENON)
#include "../thread/xenon_sdl_threads.c"
#elif defined(HAVE_THREADS)
#include "../rthreads/rthreads.c"
#include "../libretro-sdk/rthreads/rthreads.c"
#include "../gfx/video_thread_wrapper.c"
#include "../audio/audio_thread_wrapper.c"
#include "../autosave.c"

View File

@ -17,7 +17,7 @@
#include <string.h>
#include <stdlib.h>
#include "../../boolean.h"
#include <boolean.h>
#include "joypad_connection.h"
struct hidpad_ps3_data

View File

@ -17,7 +17,7 @@
#include <string.h>
#include <stdlib.h>
#include "../../boolean.h"
#include <boolean.h>
#include "joypad_connection.h"
struct hidpad_ps4_data

View File

@ -22,7 +22,7 @@
#include <dinput.h>
#include "../general.h"
#include "../boolean.h"
#include <boolean.h>
#include "input_common.h"
#include "retroarch_logger.h"
#include <stdlib.h>

View File

@ -20,7 +20,7 @@
extern "C" {
#endif
#include "../boolean.h"
#include <boolean.h>
#include "../libretro.h"
#include <stdint.h>

View File

@ -16,7 +16,7 @@
#ifndef INPUT_OVERLAY_H__
#define INPUT_OVERLAY_H__
#include "../boolean.h"
#include <boolean.h>
#include "../libretro.h"
#include <stdint.h>

View File

@ -18,7 +18,7 @@
#include <stdlib.h>
#include <sdk_version.h>
#include "../boolean.h"
#include <boolean.h>
#include "../ps3/sdk_defines.h"

View File

@ -17,7 +17,7 @@
#include "../driver.h"
#include "../boolean.h"
#include <boolean.h>
#include "../general.h"
#include "keyboard_line.h"

View File

@ -17,7 +17,7 @@
#include "SDL.h"
#include "../gfx/gfx_context.h"
#include "../boolean.h"
#include <boolean.h>
#include "../general.h"
#include <stdint.h>
#include <stdlib.h>

View File

@ -23,7 +23,7 @@
#include "input_common.h"
#include "../general.h"
#include "../boolean.h"
#include <boolean.h>
#include <stdlib.h>
#include <stddef.h>

View File

@ -17,7 +17,7 @@
#include "../driver.h"
#include "../boolean.h"
#include <boolean.h>
#include "../general.h"
#include <stdint.h>
#include <stdlib.h>

View File

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "glsym.h"
#include <glsym/glsym.h>
#include <stddef.h>
#define SYM(x) { "gl" #x, &(gl##x) }

Some files were not shown because too many files have changed in this diff Show More