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