mirror of
https://github.com/libretro/RetroArch
synced 2024-07-08 20:25:47 +00:00
Use retro_common_api.h
This commit is contained in:
parent
8ce3c2bbc8
commit
8fc8ff4ed9
|
@ -18,6 +18,7 @@
|
|||
#define __VIDEO_CONTEXT_DRIVER_H
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#include "video_driver.h"
|
||||
|
||||
|
@ -25,9 +26,7 @@
|
|||
#include "../config.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
#ifndef MAX_EGLIMAGE_TEXTURES
|
||||
#define MAX_EGLIMAGE_TEXTURES 32
|
||||
|
@ -324,9 +323,6 @@ bool video_context_driver_has_windowed(void);
|
|||
|
||||
void video_context_driver_free(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -21,10 +21,9 @@
|
|||
#include <string.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
struct video_fbo_rect
|
||||
{
|
||||
|
@ -93,8 +92,6 @@ bool video_coord_array_append(video_coord_array_t *ca,
|
|||
|
||||
void video_coord_array_free(video_coord_array_t *ca);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
#include <libretro.h>
|
||||
|
||||
#include "font_driver.h"
|
||||
|
@ -30,10 +31,7 @@
|
|||
|
||||
#include "../input/input_driver.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
enum texture_filter_type
|
||||
{
|
||||
|
@ -554,8 +552,6 @@ extern video_driver_t video_sunxi;
|
|||
extern video_driver_t video_xshm;
|
||||
extern video_driver_t video_null;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#define VIDEO_SHADER_DRIVER_H__
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#include <gfx/math/matrix_4x4.h>
|
||||
|
||||
|
@ -51,9 +52,7 @@
|
|||
|
||||
#include "video_context_driver.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
enum shader_uniform_type
|
||||
{
|
||||
|
@ -301,8 +300,6 @@ extern const shader_backend_t hlsl_backend;
|
|||
extern const shader_backend_t gl_cg_backend;
|
||||
extern const shader_backend_t shader_null_backend;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
#ifndef __VIDEO_SHADER_PARSE_H
|
||||
#define __VIDEO_SHADER_PARSE_H
|
||||
|
||||
#include <boolean.h>
|
||||
#include <file/config_file.h>
|
||||
#include "video_state_tracker.h"
|
||||
#include <retro_miscellaneous.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
#include <retro_miscellaneous.h>
|
||||
#include <file/config_file.h>
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
#ifndef GFX_MAX_SHADERS
|
||||
#define GFX_MAX_SHADERS 26
|
||||
|
@ -218,9 +218,6 @@ bool video_shader_resolve_parameters(config_file_t *conf,
|
|||
enum rarch_shader_type video_shader_parse_type(const char *path,
|
||||
enum rarch_shader_type fallback);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#define __VIDEO_STATE_PYTHON_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
#ifndef PY_STATE_OMIT_DECLARATION
|
||||
|
|
|
@ -17,17 +17,17 @@
|
|||
#ifndef __VIDEO_STATE_TRACKER_H
|
||||
#define __VIDEO_STATE_TRACKER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "../config.h"
|
||||
#endif
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
enum state_tracker_type
|
||||
{
|
||||
RARCH_STATE_CAPTURE = 0,
|
||||
|
@ -113,8 +113,6 @@ unsigned state_tracker_get_uniform(state_tracker_t *tracker,
|
|||
struct state_tracker_uniform *uniforms,
|
||||
unsigned elem, unsigned frame_count);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,12 +20,11 @@
|
|||
#include <limits.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#include "video_driver.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
enum thread_cmd
|
||||
{
|
||||
|
@ -120,8 +119,6 @@ bool video_thread_font_init(
|
|||
unsigned video_thread_texture_load(void *data,
|
||||
custom_command_method_t func);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
#ifndef __STATE_MANAGER_H
|
||||
#define __STATE_MANAGER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
typedef struct state_manager state_manager_t;
|
||||
|
||||
|
@ -42,8 +42,6 @@ void state_manager_event_init(void);
|
|||
**/
|
||||
void state_manager_check_rewind(bool pressed);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user