mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Move enums to gfx/video_thread_wrapper.c
This commit is contained in:
parent
88c7976104
commit
e427a2d2fa
@ -31,6 +31,40 @@
|
||||
#include "../runloop.h"
|
||||
#include "../verbosity.h"
|
||||
|
||||
enum thread_cmd
|
||||
{
|
||||
CMD_VIDEO_NONE = 0,
|
||||
CMD_INIT,
|
||||
CMD_SET_SHADER,
|
||||
CMD_FREE,
|
||||
CMD_ALIVE, /* Blocking alive check. Used when paused. */
|
||||
CMD_SET_VIEWPORT,
|
||||
CMD_SET_ROTATION,
|
||||
CMD_READ_VIEWPORT,
|
||||
|
||||
CMD_OVERLAY_ENABLE,
|
||||
CMD_OVERLAY_LOAD,
|
||||
CMD_OVERLAY_TEX_GEOM,
|
||||
CMD_OVERLAY_VERTEX_GEOM,
|
||||
CMD_OVERLAY_FULL_SCREEN,
|
||||
|
||||
CMD_POKE_SET_VIDEO_MODE,
|
||||
CMD_POKE_SET_FILTERING,
|
||||
CMD_POKE_GET_VIDEO_OUTPUT_SIZE,
|
||||
CMD_POKE_GET_VIDEO_OUTPUT_PREV,
|
||||
CMD_POKE_GET_VIDEO_OUTPUT_NEXT,
|
||||
|
||||
CMD_POKE_SET_FBO_STATE,
|
||||
CMD_POKE_GET_FBO_STATE,
|
||||
|
||||
CMD_POKE_SET_ASPECT_RATIO,
|
||||
CMD_POKE_SET_OSD_MSG,
|
||||
CMD_FONT_INIT,
|
||||
CMD_CUSTOM_COMMAND,
|
||||
|
||||
CMD_DUMMY = INT_MAX
|
||||
};
|
||||
|
||||
struct thread_packet
|
||||
{
|
||||
enum thread_cmd type;
|
||||
|
@ -26,40 +26,6 @@
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
enum thread_cmd
|
||||
{
|
||||
CMD_VIDEO_NONE = 0,
|
||||
CMD_INIT,
|
||||
CMD_SET_SHADER,
|
||||
CMD_FREE,
|
||||
CMD_ALIVE, /* Blocking alive check. Used when paused. */
|
||||
CMD_SET_VIEWPORT,
|
||||
CMD_SET_ROTATION,
|
||||
CMD_READ_VIEWPORT,
|
||||
|
||||
CMD_OVERLAY_ENABLE,
|
||||
CMD_OVERLAY_LOAD,
|
||||
CMD_OVERLAY_TEX_GEOM,
|
||||
CMD_OVERLAY_VERTEX_GEOM,
|
||||
CMD_OVERLAY_FULL_SCREEN,
|
||||
|
||||
CMD_POKE_SET_VIDEO_MODE,
|
||||
CMD_POKE_SET_FILTERING,
|
||||
CMD_POKE_GET_VIDEO_OUTPUT_SIZE,
|
||||
CMD_POKE_GET_VIDEO_OUTPUT_PREV,
|
||||
CMD_POKE_GET_VIDEO_OUTPUT_NEXT,
|
||||
|
||||
CMD_POKE_SET_FBO_STATE,
|
||||
CMD_POKE_GET_FBO_STATE,
|
||||
|
||||
CMD_POKE_SET_ASPECT_RATIO,
|
||||
CMD_POKE_SET_OSD_MSG,
|
||||
CMD_FONT_INIT,
|
||||
CMD_CUSTOM_COMMAND,
|
||||
|
||||
CMD_DUMMY = INT_MAX
|
||||
};
|
||||
|
||||
typedef int (*custom_command_method_t)(void*);
|
||||
|
||||
typedef bool (*custom_font_command_method_t)(const void **font_driver,
|
||||
|
Loading…
Reference in New Issue
Block a user