#include <src/lib/xynth.h>
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_t * | buf |
| virtual buffers' seen part on screen | |
| s_rect_t * | win |
| 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_t * | window |
| ugly hack, window->surface->window = window | |
1.4.7