tile

tile

Synopsis

#define             TILE_WIDTH
#define             TILE_HEIGHT
Tile *              tile_new                            (gint bpp);
void                tile_lock                           (Tile *tile);
void                tile_release                        (Tile *tile,
                                                         gboolean dirty);
void                tile_alloc                          (Tile *tile);
gint                tile_size                           (Tile *tile);
gint                tile_ewidth                         (Tile *tile);
gint                tile_eheight                        (Tile *tile);
gint                tile_bpp                            (Tile *tile);
gboolean            tile_is_valid                       (Tile *tile);
void                tile_attach                         (Tile *tile,
                                                         void *tm,
                                                         gint tile_num);
void                tile_detach                         (Tile *tile,
                                                         void *tm,
                                                         gint tile_num);
void *              tile_data_pointer                   (Tile *tile,
                                                         gint xoff,
                                                         gint yoff);
gint                tile_global_refcount                (void);

Description

Details

TILE_WIDTH

#define TILE_WIDTH   64


TILE_HEIGHT

#define TILE_HEIGHT  64


tile_new ()

Tile *              tile_new                            (gint bpp);


tile_lock ()

void                tile_lock                           (Tile *tile);


tile_release ()

void                tile_release                        (Tile *tile,
                                                         gboolean dirty);


tile_alloc ()

void                tile_alloc                          (Tile *tile);


tile_size ()

gint                tile_size                           (Tile *tile);


tile_ewidth ()

gint                tile_ewidth                         (Tile *tile);


tile_eheight ()

gint                tile_eheight                        (Tile *tile);


tile_bpp ()

gint                tile_bpp                            (Tile *tile);


tile_is_valid ()

gboolean            tile_is_valid                       (Tile *tile);


tile_attach ()

void                tile_attach                         (Tile *tile,
                                                         void *tm,
                                                         gint tile_num);


tile_detach ()

void                tile_detach                         (Tile *tile,
                                                         void *tm,
                                                         gint tile_num);


tile_data_pointer ()

void *              tile_data_pointer                   (Tile *tile,
                                                         gint xoff,
                                                         gint yoff);


tile_global_refcount ()

gint                tile_global_refcount                (void);