21#include "../../SDL_internal.h"
23#if SDL_VIDEO_DRIVER_DIRECTFB
30#include "../SDL_shape_internals.h"
41 result->mode.parameters.binarizationCutoff = 1;
85 DFBSurfaceDescription dsc;
91 dsc.flags = DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PIXELFORMAT | DSDESC_CAPS;
93 dsc.height = shape->
h;
94 dsc.caps = DSCAPS_PREMULTIPLIED;
95 dsc.pixelformat = DSPF_ARGB;
void DirectFB_WM_RedrawLayout(_THIS, SDL_Window *window)
int DirectFB_ResizeWindowShape(SDL_Window *window)
int DirectFB_SetWindowShape(SDL_WindowShaper *shaper, SDL_Surface *shape, SDL_WindowShapeMode *shapeMode)
SDL_WindowShaper * DirectFB_CreateShaper(SDL_Window *window)
#define SDL_DFB_CHECKERR(x...)
#define SDL_DFB_ALLOC_CLEAR(r, s)
#define SDL_DFB_CHECK(x...)
#define SDL_DFB_DEVICEDATA(dev)
#define SDL_DFB_RELEASE(x)
#define SDL_assert(condition)
#define SDL_SetWindowPosition
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLsizei GLfixed GLfixed GLfixed GLfixed const GLubyte * bitmap
GLfloat GLfloat GLfloat GLfloat h
GLubyte GLubyte GLubyte GLubyte w
void SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode, SDL_Surface *shape, Uint8 *bitmap, Uint8 ppb)
@ ShapeModeDefault
The default mode, a binarized alpha cutoff of 1.
#define SDL_SHAPEMODEALPHA(mode)
SDL_VideoDisplay * SDL_GetDisplayForWindow(SDL_Window *window)
EGLSurface EGLNativeWindowType * window
A collection of pixels used in software blitting.
The type used to identify a window.
A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents.
WindowShapeMode mode
The mode of these window-shape parameters.