Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11video.c752 if ( SDL_XPixels ) { in X11_DestroyWindow()
757 while ( SDL_XPixels[pixel] > 0 ) { in X11_DestroyWindow()
760 --SDL_XPixels[pixel]; in X11_DestroyWindow()
763 SDL_free(SDL_XPixels); in X11_DestroyWindow()
764 SDL_XPixels = NULL; in X11_DestroyWindow()
991 SDL_XPixels = SDL_malloc(ncolors * sizeof(int)); in X11_CreateWindow()
992 if(SDL_XPixels == NULL) { in X11_CreateWindow()
996 SDL_memset(SDL_XPixels, 0, ncolors * sizeof(*SDL_XPixels)); in X11_CreateWindow()
1353 if(SDL_XPixels[best]) in allocate_nearest()
1361 ++SDL_XPixels[c->pixel]; in allocate_nearest()
[all …]
DSDL_x11video.h206 #define SDL_XPixels (this->hidden->XPixels) macro