32 #ifndef _SDL_test_common_h
33 #define _SDL_test_common_h
38 #define DEFAULT_WINDOW_WIDTH 480
39 #define DEFAULT_WINDOW_HEIGHT 272
41 #define DEFAULT_WINDOW_WIDTH 640
42 #define DEFAULT_WINDOW_HEIGHT 480
45 #define VERBOSE_VIDEO 0x00000001
46 #define VERBOSE_MODES 0x00000002
47 #define VERBOSE_RENDER 0x00000004
48 #define VERBOSE_EVENT 0x00000008
49 #define VERBOSE_AUDIO 0x00000010
SDLTest_CommonState * SDLTest_CommonCreateState(char **argv, Uint32 flags)
Parse command line parameters and create common state.
int SDLTest_CommonArg(SDLTest_CommonState *state, int index)
Process one common argument.
const char * renderdriver
SDL_bool SDLTest_CommonInit(SDLTest_CommonState *state)
Open test window.
uint32_t Uint32
An unsigned 32-bit integer type.
void SDLTest_CommonEvent(SDLTest_CommonState *state, SDL_Event *event, int *done)
Common event handler for test windows.
int gl_multisamplebuffers
int gl_multisamplesamples
const char * SDLTest_CommonUsage(SDLTest_CommonState *state)
Returns common usage information.
SDL_Renderer ** renderers
GLenum GLsizei GLsizei GLsizei GLsizei GLbitfield flags
void SDLTest_CommonQuit(SDLTest_CommonState *state)
Close test window.
const char * window_title