ggiBltAdd

Name

ggiBltAdd -- Add a request for a blit and BOBs to a LibGAlloc request list

Synopsis

#include <ggi/blt.h>

int ggiBltAdd(ggiGA_resource_list *reqlist, enum ggiGA_resource_props **props, enum ggiGA_resource_type *types, int numresources, ggiGA_resource_handle *handles);

Description

The ggiBltAdd functions are LibBlt's interface to LibGAlloc. Currently support for these functions is sporadic; it will be completed in a later stage of LibBlt's development.

In all functions, the parameter reqlist refers to a LibGAlloc request list.

ggiBltAdd attaches a request for carb, motor, and tank resources making up a blit and a set of BOBs to the designated request list, manipulating the structure of the list as appropriate.

More docmentation on this function will follow as LibBlt matures. This function is provided for advanced users who are familiar with LibGAlloc.

Return value

The functions return 0 (GALLOC_OK) on success, or a negative error code if an error occurred.

See Also

ggiBltCreate(3ggi), ggiBltCreateBob(3ggi), ggiBltTie(3ggi)