struct `0159
Files: /home/neil/synopsis/ggi/include/ggi/ggi.h
Unions Summary:
`0160

Variables Summary:
uint32_ttype
intframe
ggi_resource_tresource
void*read
void*write
unsigned intpage_size
uint32_tnoaccess
uint32_talign
ggi_bufferlayoutlayout
`0160buffer

Variable Details:
uint32_t type

/* Buffer types */

int frame

/* buffer type */

ggi_resource_t resource

/* framenumber (GGI_DB_NORMAL) */

void* read

/* If non-NULL you must acquire the buffer before using it */

void* write

/* buffer address for reads */

unsigned int page_size

/* buffer address for writes */

uint32_t noaccess

/* zero for true linear buffers */

uint32_t align

/* bitfield. bit x set means you may _not_ access this DB at the width of 2^x bytes. Usually 0, but _check_ it. */

ggi_bufferlayout layout

/* bitfield. bit x set means you may only access this DB at the width of 2^x bytes, when the access is aligned to a multiple of 2^x. Note that bit 0 is a bit bogus here, but it should be always 0, as then ((noaccess|align)==0) is a quick check for "no restrictions". */