32#ifndef SDL_test_common_h_
33#define SDL_test_common_h_
37#ifdef SDL_PLATFORM_PSP
38#define DEFAULT_WINDOW_WIDTH 480
39#define DEFAULT_WINDOW_HEIGHT 272
40#elif defined(SDL_PLATFORM_VITA)
41#define DEFAULT_WINDOW_WIDTH 960
42#define DEFAULT_WINDOW_HEIGHT 544
44#define DEFAULT_WINDOW_WIDTH 640
45#define DEFAULT_WINDOW_HEIGHT 480
48#define VERBOSE_VIDEO 0x00000001
49#define VERBOSE_MODES 0x00000002
50#define VERBOSE_RENDER 0x00000004
51#define VERBOSE_EVENT 0x00000008
52#define VERBOSE_AUDIO 0x00000010
53#define VERBOSE_MOTION 0x00000020
struct SDL_Texture SDL_Texture
SDL_RendererLogicalPresentation
struct SDL_Renderer SDL_Renderer
void SDLTest_CommonQuit(SDLTest_CommonState *state)
SDL_bool SDLTest_CommonDefaultArgs(SDLTest_CommonState *state, const int argc, char **argv)
SDLTest_CommonState * SDLTest_CommonCreateState(char **argv, Uint32 flags)
void SDLTest_CommonEvent(SDLTest_CommonState *state, SDL_Event *event, int *done)
int SDLTest_CommonArg(SDLTest_CommonState *state, int index)
void SDLTest_CommonDrawWindowInfo(SDL_Renderer *renderer, SDL_Window *window, float *usedHeight)
SDL_bool SDLTest_CommonInit(SDLTest_CommonState *state)
void SDLTest_CommonDestroyState(SDLTest_CommonState *state)
void SDLTest_CommonLogUsage(SDLTest_CommonState *state, const char *argv0, const char **options)
int SDLTest_CommonEventMainCallbacks(SDLTest_CommonState *state, const SDL_Event *event)
struct SDL_Window SDL_Window
int gl_multisamplebuffers
SDL_bool fullscreen_exclusive
SDL_ScaleMode logical_scale_mode
const char * window_title
int gl_multisamplesamples
SDL_bool flash_on_focus_loss
SDL_AudioDeviceID audio_id
SDL_AudioFormat audio_format
SDL_RendererLogicalPresentation logical_presentation
const char * renderdriver
SDL_bool auto_scale_content
SDL_WindowFlags window_flags
SDL_Renderer ** renderers
SDL_DisplayMode fullscreen_mode