Searched refs:shaper (Results 1 – 12 of 12) sorted by relevance
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_shape.c | 46 window->shaper = result; in DirectFB_CreateShaper() 55 SDL_ShapeData* data = window->shaper->driverdata; in DirectFB_ResizeWindowShape() 60 window->shaper->userx = window->x; in DirectFB_ResizeWindowShape() 61 window->shaper->usery = window->y; in DirectFB_ResizeWindowShape() 71 if(shaper == NULL || shape == NULL || shaper->driverdata == NULL) in DirectFB_SetWindowShape() 75 if(shape->w != shaper->window->w || shape->h != shaper->window->h) in DirectFB_SetWindowShape() 87 SDL_ShapeData *data = shaper->driverdata; in DirectFB_SetWindowShape() 101 SDL_CalculateShapeBitmap(shaper->mode,shape,bitmap,1); in DirectFB_SetWindowShape() 107 h = shaper->window->h; in DirectFB_SetWindowShape() 109 for (w = 0; w < shaper->window->w; w++) { in DirectFB_SetWindowShape() [all …]
|
A D | SDL_DirectFB_shape.h | 36 extern int DirectFB_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode …
|
A D | SDL_DirectFB_window.c | 423 if (window->shaper) in DirectFB_DestroyWindow() 425 SDL_ShapeData *data = window->shaper->driverdata; in DirectFB_DestroyWindow() 429 SDL_DFB_FREE(window->shaper); in DirectFB_DestroyWindow()
|
A D | SDL_DirectFB_render.c | 837 SDL_ShapeData *shape_data = (window->shaper ? window->shaper->driverdata : NULL); in DirectFB_RenderPresent()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11shape.c | 48 window->shaper = result; in X11_CreateShaper() 59 SDL_ShapeData* data = window->shaper->driverdata; in X11_ResizeWindowShape() 77 window->shaper->userx = window->x; in X11_ResizeWindowShape() 78 window->shaper->usery = window->y; in X11_ResizeWindowShape() 85 X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) { in X11_SetWindowShape() argument 90 if(shaper == NULL || shape == NULL || shaper->driverdata == NULL) in X11_SetWindowShape() 96 if(shape->w != shaper->window->w || shape->h != shaper->window->h) in X11_SetWindowShape() 98 data = shaper->driverdata; in X11_SetWindowShape() 101 SDL_CalculateShapeBitmap(shaper->mode,shape,data->bitmap,8); in X11_SetWindowShape() 103 windowdata = (SDL_WindowData*)(shaper->window->driverdata); in X11_SetWindowShape() [all …]
|
A D | SDL_x11shape.h | 37 extern int X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shap…
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsshape.c | 41 window->shaper = result; in Win32_CreateShaper() 65 Win32_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) { in Win32_SetWindowShape() argument 69 if( (shaper == NULL) || in Win32_SetWindowShape() 72 (shape->w != shaper->window->w) || in Win32_SetWindowShape() 73 (shape->h != shaper->window->h) ) { in Win32_SetWindowShape() 77 data = (SDL_ShapeData*)shaper->driverdata; in Win32_SetWindowShape() 85 SetWindowRgn(((SDL_WindowData *)(shaper->window->driverdata))->hwnd, mask_region, TRUE); in Win32_SetWindowShape() 96 data = (SDL_ShapeData *)window->shaper->driverdata; in Win32_ResizeWindowShape() 102 if(window->shaper->hasshape == SDL_TRUE) { in Win32_ResizeWindowShape() 103 window->shaper->userx = window->x; in Win32_ResizeWindowShape() [all …]
|
A D | SDL_windowsshape.h | 37 extern int Win32_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *sh…
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_shape.c | 43 if(result->shaper != NULL) { in SDL_CreateShapedWindow() 44 result->shaper->userx = x; in SDL_CreateShapedWindow() 45 result->shaper->usery = y; in SDL_CreateShapedWindow() 48 result->shaper->hasshape = SDL_FALSE; in SDL_CreateShapedWindow() 270 window->shaper->mode = *shape_mode; in SDL_SetWindowShape() 272 window->shaper->hasshape = SDL_TRUE; in SDL_SetWindowShape() 273 if(window->shaper->userx != 0 && window->shaper->usery != 0) { in SDL_SetWindowShape() 274 SDL_SetWindowPosition(window,window->shaper->userx,window->shaper->usery); in SDL_SetWindowShape() 275 window->shaper->userx = 0; in SDL_SetWindowShape() 276 window->shaper->usery = 0; in SDL_SetWindowShape() [all …]
|
A D | SDL_sysvideo.h | 62 …int (*SetWindowShape)(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode); 105 SDL_WindowShaper *shaper; member
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoashape.m | 45 window->shaper = result; 75 Cocoa_SetWindowShape(SDL_WindowShaper *shaper, SDL_Surface *shape, SDL_WindowShapeMode *shape_mode) 78 SDL_ShapeData* data = (SDL_ShapeData*)shaper->driverdata; 79 SDL_WindowData* windata = (SDL_WindowData*)shaper->window->driverdata; 96 closure.window = shaper->window; 106 SDL_ShapeData* data = window->shaper->driverdata;
|
A D | SDL_cocoashape.h | 40 extern int Cocoa_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *sh…
|
Completed in 20 milliseconds