Addition of 2 64bit value
void d2_add64( const d2_int64 * a, const d2_int64 * b, d2_int64 * res )
Add an already prepared display list to the current render buffer.
d2_s32 d2_adddlist( d2_device * handle, void * address, d2_s32 size, d2_u32 flags )
Copy rectangle part of the source into destination.
d2_s32 d2_blitcopy( d2_device * handle, d2_s32 srcwidth, d2_s32 srcheight, d2_blitpos srcx, d2_blitpos srcy, d2_width dstwidth, d2_width dstheight, d2_point dstx, d2_point dsty, d2_u32 flags )
Cast an 32bit integer to 64bit variable
void d2_cast32to64( d2_s32 par, d2_int64 * res )
Cast an 64bit variable to a32bit variable
d2_s32 d2_cast64to32( const d2_int64 * par )
Render fill the entire framebuffer with a single color.
d2_s32 d2_clear( d2_device * handle, d2_color color )
Specify the clipping rectangle.
d2_s32 d2_cliprect( d2_device * handle, d2_border xmin, d2_border ymin, d2_border xmax, d2_border ymax )
Destroy a device handle.
d2_s32 d2_closedevice( d2_device * handle )
Check if there are pending commands in the current displaylist.
d2_s32 d2_commandspending( d2_device * handle )
Unlink hardware currently bound by specified device.
d2_s32 d2_deinithw( d2_device * handle )
division of 64bit value by a 32bit.
void d2_div6432( const d2_int64 * dividend, d2_s32 divisor, d2_int64 * res )
Copy the content of a renderbuffer into user memory.
d2_s32 d2_dumprenderbuffer( d2_device * handle, d2_renderbuffer * buffer, void ** rdata, d2_s32 * rsize )
Mark the end of a scene.
d2_s32 d2_endframe( d2_device * handle )
Execute an already prepared display list.
d2_s32 d2_executedlist( d2_device * handle, const void * address, d2_u32 flags )
Render the content of a renderbuffer.
d2_s32 d2_executerenderbuffer( d2_device * handle, d2_renderbuffer * buffer, d2_u32 flags )
Wait for current rendering to end.
d2_s32 d2_flushframe( d2_device * handle )
Specify the rendering target.
d2_s32 d2_framebuffer( d2_device * handle, void * ptr, d2_s32 pitch, d2_u32 width, d2_u32 height, d2_s32 format )
Release Context.
d2_s32 d2_freecontext( d2_device * handle, d2_context * ctx )
free a chunk of memory returned from d2_dumprenderbuffer.
d2_s32 d2_freedumpedbuffer( d2_device * handle, void * data )
Destroy and free a renderbuffer.
d2_s32 d2_freerenderbuffer( d2_device * handle, d2_renderbuffer * buffer )