From e427a2d2fa536114fac4d2b791beaa99a36a4adb Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 11 Sep 2016 17:42:53 +0200 Subject: [PATCH] Move enums to gfx/video_thread_wrapper.c --- gfx/video_thread_wrapper.c | 34 ++++++++++++++++++++++++++++++++++ gfx/video_thread_wrapper.h | 34 ---------------------------------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/gfx/video_thread_wrapper.c b/gfx/video_thread_wrapper.c index 3c4ae6f16d..014d7a40be 100644 --- a/gfx/video_thread_wrapper.c +++ b/gfx/video_thread_wrapper.c @@ -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; diff --git a/gfx/video_thread_wrapper.h b/gfx/video_thread_wrapper.h index c140a8966f..9cfad4160c 100644 --- a/gfx/video_thread_wrapper.h +++ b/gfx/video_thread_wrapper.h @@ -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,