Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11shape.c46 data->bitmapsize = 0; in X11_CreateShaper()
60 unsigned int bitmapsize = window->w / 8; in X11_ResizeWindowShape() local
64 bitmapsize += 1; in X11_ResizeWindowShape()
65 bitmapsize *= window->h; in X11_ResizeWindowShape()
66 if(data->bitmapsize != bitmapsize || data->bitmap == NULL) { in X11_ResizeWindowShape()
67 data->bitmapsize = bitmapsize; in X11_ResizeWindowShape()
70 data->bitmap = malloc(data->bitmapsize); in X11_ResizeWindowShape()
75 memset(data->bitmap,0,data->bitmapsize); in X11_ResizeWindowShape()
A DSDL_x11shape.h32 Uint32 bitmapsize; member

Completed in 5 milliseconds