FreeBASIC  0.91.0
gfx_driver_x11.c File Reference
#include "../fb_gfx.h"
#include "fb_gfx_x11.h"
#include <sys/shm.h>
Include dependency graph for gfx_driver_x11.c:

Go to the source code of this file.

Functions

static int driver_init (char *title, int w, int h, int depth, int refresh_rate, int flags)
 
static void update_mask_8 (unsigned char *pixel, unsigned char *mask, int w, int h)
 
static void update_mask_16 (unsigned char *pixel, unsigned char *mask, int w, int h)
 
static void update_mask_32 (unsigned char *pixel, unsigned char *mask, int w, int h)
 
static int x11_init (void)
 
void fb_hX11WaitUnmapped (Window w)
 
static void x11_exit (void)
 
static void x11_update (void)
 

Variables

GFXDRIVER fb_gfxDriverX11
 
static XImage * image
 
static XImage * shape_image
 
static Pixmap shape_pixmap
 
static GC shape_gc
 
static XShmSegmentInfo shm_info
 
static BLITTERblitter
 
static int is_shm
 
static void(* update_mask )(unsigned char *src, unsigned char *mask, int w, int h)
 

Function Documentation

static int driver_init ( char *  title,
int  w,
int  h,
int  depth,
int  refresh_rate,
int  flags 
)
static

Definition at line 260 of file gfx_driver_x11.c.

Here is the call graph for this function:

void fb_hX11WaitUnmapped ( Window  w)

Definition at line 194 of file gfx_driver_x11.c.

Here is the caller graph for this function:

static void update_mask_16 ( unsigned char *  pixel,
unsigned char *  mask,
int  w,
int  h 
)
static

Definition at line 62 of file gfx_driver_x11.c.

Here is the caller graph for this function:

static void update_mask_32 ( unsigned char *  pixel,
unsigned char *  mask,
int  w,
int  h 
)
static

Definition at line 84 of file gfx_driver_x11.c.

Here is the caller graph for this function:

static void update_mask_8 ( unsigned char *  pixel,
unsigned char *  mask,
int  w,
int  h 
)
static

Definition at line 40 of file gfx_driver_x11.c.

Here is the caller graph for this function:

static void x11_exit ( void  )
static

Definition at line 203 of file gfx_driver_x11.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static int x11_init ( void  )
static

Definition at line 106 of file gfx_driver_x11.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void x11_update ( void  )
static

Definition at line 234 of file gfx_driver_x11.c.

Here is the caller graph for this function:

Variable Documentation

BLITTER* blitter
static

Definition at line 34 of file gfx_driver_x11.c.

XImage* image
static

Definition at line 30 of file gfx_driver_x11.c.

int is_shm
static

Definition at line 35 of file gfx_driver_x11.c.

GC shape_gc
static

Definition at line 32 of file gfx_driver_x11.c.

XImage * shape_image
static

Definition at line 30 of file gfx_driver_x11.c.

Pixmap shape_pixmap
static

Definition at line 31 of file gfx_driver_x11.c.

XShmSegmentInfo shm_info
static

Definition at line 33 of file gfx_driver_x11.c.

void(* update_mask)(unsigned char *src, unsigned char *mask, int w, int h)
static

Definition at line 36 of file gfx_driver_x11.c.