s_surface_s Struct Reference
[Client Library - Surface API]

#include <src/lib/xynth.h>


Detailed Description

surface struct


Data Fields

S_SURFACE_MODE mode
 bitwise ored SURFACE_REAL, SURFACE_VIRTUAL
int bytesperpixel
 surface buytes per pixel
int bitsperpixel
 surface bits per pixel
int colors
 number of colors
int blueoffset
 blue color offset
int greenoffset
 green color offset
int redoffset
 red color offset
int bluelength
 blue color length
int greenlength
 green color length
int redlength
 red color length
int width
 surface virtual buffer width
int height
 surface virtual buffer height
unsigned char * vbuf
 surface's virtual buffer
s_rect_tbuf
 virtual buffers' seen part on screen
s_rect_twin
 window coordinated that hold surface on screen (if any)
unsigned char * linear_buf
 memory mapped shared buffer, this is the readl video buffer (usually)
int linear_buf_width
 video buffer width
int linear_buf_pitch
 video buffer pitch
int linear_buf_height
 video buffer height
unsigned int linear_mem_base
 video buffer linear mem base
unsigned int linear_mem_size
 video buffer linear mem size
int shm_mid
 shared memory id for screen matrix
unsigned char * matrix
 shared memory buffer for screen matrix
int shm_sid
 shared video memory id
S_SURFACE_MODE need_expose
 this is either, 0, SURFACE_NEEDSTREAM, or SURFACE_NEEDEXPOSE
char * device
 device name
int * id
 ugly hack for overlay operations, window->surface->id = &(window->client->id)
s_window_twindow
 ugly hack, window->surface->window = window


Generated on Wed Dec 27 17:53:06 2006 for xynth-0.8.40 by  doxygen 1.4.7