Home
last modified time | relevance | path

Searched refs:SDL_SubsystemRefCount (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/src/
A DSDL.c91 static Uint8 SDL_SubsystemRefCount[ 32 ]; variable
98 SDL_assert(SDL_SubsystemRefCount[subsystem_index] < 255); in SDL_PrivateSubsystemRefCountIncr()
99 ++SDL_SubsystemRefCount[subsystem_index]; in SDL_PrivateSubsystemRefCountIncr()
107 if (SDL_SubsystemRefCount[subsystem_index] > 0) { in SDL_PrivateSubsystemRefCountDecr()
108 --SDL_SubsystemRefCount[subsystem_index]; in SDL_PrivateSubsystemRefCountDecr()
117 SDL_assert(SDL_SubsystemRefCount[subsystem_index] < 255); in SDL_PrivateShouldInitSubsystem()
125 if (SDL_SubsystemRefCount[subsystem_index] == 0) { in SDL_PrivateShouldQuitSubsystem()
382 int num_subsystems = SDL_arraysize(SDL_SubsystemRefCount); in SDL_WasInit()
388 return SDL_SubsystemRefCount[subsystem_index] ? flags : 0; in SDL_WasInit()
399 if ((flags & 1) && SDL_SubsystemRefCount[i] > 0) { in SDL_WasInit()
[all …]

Completed in 4 milliseconds