Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxvideo.c617 if ( SDL_XPixels ) { in CGX_DestroyWindow()
632 if(SDL_XPixels[pixel]>=0) in CGX_DestroyWindow()
633 ReleasePen(GFX_Display->ViewPort.ColorMap,SDL_XPixels[pixel]); in CGX_DestroyWindow()
637 SDL_free(SDL_XPixels); in CGX_DestroyWindow()
638 SDL_XPixels = NULL; in CGX_DestroyWindow()
765 SDL_XPixels = (Sint32 *)SDL_malloc(ncolors * sizeof(Sint32)); in CGX_CreateWindow()
767 if(SDL_XPixels == NULL) { in CGX_CreateWindow()
774 SDL_XPixels[i]=-1; in CGX_CreateWindow()
1262 if ( SDL_XPixels == NULL ) { in CGX_SetColors()
1274 if(SDL_XPixels[pixel]>=0) in CGX_SetColors()
[all …]
DSDL_cgximage.c454 SDL_RastPort,SDL_XPixels,SDL_Window->BorderLeft+rects[i].x,SDL_Window->BorderTop+rects[i].y, in CGX_NormalUpdate()
496 mask=(unsigned char *)(&SDL_XPixels[src[k]]); in CGX_NormalUpdate()
551 srcl=(Uint16 *)&SDL_XPixels[src[k]]; in CGX_NormalUpdate()
603 srcl=(Uint32 *)&SDL_XPixels[src[k]]; in CGX_NormalUpdate()
742 SDL_RastPort,SDL_XPixels,SDL_Window->BorderLeft,SDL_Window->BorderTop, in CGX_RefreshDisplay()
770 mask=(unsigned char *)(&SDL_XPixels[src[k]]); in CGX_RefreshDisplay()
811 srcl=(Uint16 *)&SDL_XPixels[src[k]]; in CGX_RefreshDisplay()
849 srcl=(Uint32 *)&SDL_XPixels[src[k]]; in CGX_RefreshDisplay()
DSDL_cgxvideo.h141 #define SDL_XPixels (this->hidden->XPixels) macro
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11video.c731 if ( SDL_XPixels ) { in X11_DestroyWindow()
736 while ( SDL_XPixels[pixel] > 0 ) { in X11_DestroyWindow()
739 --SDL_XPixels[pixel]; in X11_DestroyWindow()
742 SDL_free(SDL_XPixels); in X11_DestroyWindow()
743 SDL_XPixels = NULL; in X11_DestroyWindow()
971 SDL_XPixels = SDL_malloc(ncolors * sizeof(int)); in X11_CreateWindow()
972 if(SDL_XPixels == NULL) { in X11_CreateWindow()
976 SDL_memset(SDL_XPixels, 0, ncolors * sizeof(*SDL_XPixels)); in X11_CreateWindow()
1328 if(SDL_XPixels[best]) in allocate_nearest()
1336 ++SDL_XPixels[c->pixel]; in allocate_nearest()
[all …]
DSDL_x11video.h212 #define SDL_XPixels (this->hidden->XPixels) macro