Query constant alpha from selected context.
d2_alpha d2_getalpha( d2_device * handle )
Query destination blend factor for alpha channel blending from selected context.
d2_u32 d2_getalphablendmodedst( d2_device * handle )
Query alpha blend flags from selected context.
d2_u8 d2_getalphablendmodeflags( d2_device * handle )
Query source blend factor for alpha channel blending from selected context.
d2_u32 d2_getalphablendmodesrc( d2_device * handle )
Query constant alpha from selected context.
d2_alpha d2_getalphaex( d2_device * handle, d2_s32 index )
Query alpha source from selected context.
d2_u8 d2_getalphamode( d2_device * handle )
Query antialiasing setting from selected context.
d2_s32 d2_getantialiasing( d2_device * handle )
Query destination blend factor from selected context.
d2_u32 d2_getblendmodedst( d2_device * handle )
Query source blend factor from selected context.
d2_u32 d2_getblendmodesrc( d2_device * handle )
Query blurring factor from selected context.
d2_width d2_getblur( d2_device * handle )
Get the clipping rectangle.
d2_s32 d2_getcliprect( d2_device * handle, d2_border * xmin, d2_border * ymin, d2_border * xmax, d2_border * ymax )
Query a color from selected context.
d2_color d2_getcolor( d2_device * handle, d2_s32 index )
Get a pointer to an currently active context.
d2_context * d2_getcontext( d2_device * handle, d2_s32 mode ) /* PRQA S 3673 */ /* $Misra: #NOT_CONST_IN_DEBUG_BUILD $*/
Get number of blocks of default displaylist (writelist).
d2_u32 d2_getdlistblockcount( d2_device * handle )
Get blocksize of default displaylist.
d2_u32 d2_getdlistblocksize( const d2_device * handle )
Query device error information.
d2_s32 d2_geterror( const d2_device * handle )
Query detailed device error information.
const d2_char * d2_geterrorstring( const d2_device * handle )
Query fillmode from selected context.
d2_u8 d2_getfillmode( d2_device * handle )
Get information about the rendering target
d2_s32 d2_getframebuffer( d2_device * handle, void ** ptr, d2_s32 * pitch, d2_u32 * width, d2_u32 * height, d2_s32 * format )
Query lineend style from selected context.
d2_u8 d2_getlinecap( d2_device * handle )
Query polyline connection style from selected context.
d2_u8 d2_getlinejoin( d2_device * handle )
Query pattern bitmask from selected context.
d2_pattern d2_getpattern( d2_device * handle )
Query pattern transparency from selected context.
d2_alpha d2_getpatternalpha( d2_device * handle, d2_s32 index )
Query pattern addressing details.
d2_u32 d2_getpatternmode( d2_device * handle )
Query pattern bitmask size.
d2_s32 d2_getpatternsize( d2_device * handle )
Get the current performance counter value.
d2_slong d2_getperfcountvalue( d2_device * handle, d2_u32 counter )
Return internal renderbuffers.
d2_renderbuffer * d2_getrenderbuffer( d2_device * handle, d2_s32 index )
Query the number of allocated display list entries.
d2_u32 d2_getrenderbuffersize( d2_device * handle, d2_renderbuffer * rb )
Get the rendering mode.
d2_u32 d2_getrendermode( const d2_device * handle )
Query hw revisionID.
d2_u32 d2_getrevisionhw( const d2_device * handle )
Query hw revisionID string.
const d2_char * d2_getrevisionstringhw( const d2_device * handle )
Query texture operation parameter p1.
d2_alpha d2_gettexopparam1( d2_device * handle, d2_u32 index )
Query texture operation parameter p2.
d2_alpha d2_gettexopparam2( d2_device * handle, d2_u32 index )
Query texture operation for alpha channel.
d2_u8 d2_gettextureoperationa( d2_device * handle )
Query texture operation for blue channel.
d2_u8 d2_gettextureoperationb( d2_device * handle )
Query texture operation for green channel.
d2_u8 d2_gettextureoperationg( d2_device * handle )
Query texture operation for red channel.
d2_u8 d2_gettextureoperationr( d2_device * handle )
Query versionID (device independent)
d2_s32 d2_getversion( void )
Query versionID string (device independent)
const d2_char * d2_getversionstring( void )
Initialize hardware for working with specified device.
d2_s32 d2_inithw( d2_device * handle, d2_u32 flags )
Set the maximum burst lenght of the master bus interfaces.
d2_s32 d2_inithwburstlengthlimit( d2_device * handle, d2_busburstlength burstlengthFBread, d2_busburstlength burstlengthFBwrite, d2_busburstlength burstlengthTX, d2_busburstlength burstlengthDL )
Join outline and solid parts of currently selected renderbuffer.
d2_s32 d2_layermerge( d2_device * handle )
Get the lowlevel device handle currently used by the d2_device.
d1_device * d2_level1interface( const d2_device * handle )
Enable and configure the ‘low localmem’ mode.
d2_s32 d2_lowlocalmemmode( d2_device * handle, d2_u32 dlistblockfactor, d2_u32 dlistblocks )
multiply two a 32bit varibales with a 64bit one and return a 64bit result
void d2_mul3264( d2_s32 a, const d2_int64 * b, d2_int64 * res )
Create new context (used to store render settings).
d2_context * d2_newcontext( d2_device * handle )
Create a new renderbuffer.
d2_renderbuffer * d2_newrenderbuffer( d2_device * handle, d2_u32 initialsize, d2_u32 stepsize )
Create a new device handle.
d2_device * d2_opendevice( d2_u32 flags )
Define the outline rendering context.
d2_s32 d2_outlinecontext( d2_device * handle, d2_context * ctx )
Define the width of geometry outlines.
d2_s32 d2_outlinewidth( d2_device * handle, d2_width width )