SDL
2.0
|
Go to the source code of this file.
Macros | |
#define | DEFAULT_RESOLUTION 1 |
Functions | |
static Uint32 | ticktock (Uint32 interval, void *param) |
static Uint32 | callback (Uint32 interval, void *param) |
int | main (int argc, char *argv[]) |
Variables | |
static int | ticks = 0 |
#define DEFAULT_RESOLUTION 1 |
Definition at line 22 of file testtimer.c.
Referenced by main().
Definition at line 34 of file testtimer.c.
References SDL_Log.
Referenced by main(), SDL_AddTimer(), SDL_CaptureAudio(), SDL_LogSetOutputFunction(), SDL_RunAudio(), SDL_SetWindowHitTest(), SDLTest_SetTestTimeout(), wl_display_sync(), and wl_surface_frame().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 41 of file testtimer.c.
References callback(), DEFAULT_RESOLUTION, i, NULL, SDL_AddTimer, SDL_Delay, SDL_GetError, SDL_GetPerformanceCounter, SDL_GetPerformanceFrequency(), SDL_GetTicks(), SDL_Init, SDL_INIT_TIMER, SDL_Log, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogError, SDL_LogSetPriority, SDL_PRIu64, SDL_Quit, SDL_RemoveTimer, ticks, and ticktock().
|
static |
Definition at line 24 of file testtimer.c.
Referenced by main(), and ticktock().