Function 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
d2_lowlocalmemmode
M
d2_mul3232to64
d2_mul3264
N
d2_newcontext
d2_newrenderbuffer
O
d2_opendevice
d2_outlinecontext
d2_outlinewidth
P
d2_pow2mask
R
d2_relocateframe
d2_renderbox
d2_rendercircle
d2_rendercircle_no_hilimiterprecision
d2_renderline
d2_renderline2
d2_renderpolygon
d2_renderpolyline
d2_renderpolyline2
d2_renderquad
d2_rendertri
d2_rendertrifan
d2_rendertrilist
d2_rendertristrip
d2_renderwedge
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.
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.
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.
D2_EXTERN d2_u32 d2_pow2mask(d2_u32 x)
Find next larger power of two minus 1
extern d2_s32 d2_relocateframe(d2_device *handle,
const void *ptr)
Change framebuffer for render commands already issued.
d2_s32 d2_renderbox(d2_device *handle,
d2_point x1,
d2_point y1,
d2_width w,
d2_width h)
Render a rectangle.
d2_s32 d2_rendercircle(d2_device *handle,
d2_point x,
d2_point y,
d2_width r,
d2_width w)
Render a circle or circle ring.
void d2_rendercircle_no_hilimiterprecision(d2_device *handle,
d2_u32 flag)
Enable or disable the high limiter precision feature of the latest D/AVE 2D renderer for drawing blurred circles with higher image quality.
d2_s32 d2_renderline(d2_device *handle,
d2_point x1,
d2_point y1,
d2_point x2,
d2_point y2,
d2_width w,
d2_u32 flags)
Render a wide line.
d2_s32 d2_renderline2(d2_device *handle,
d2_point x1,
d2_point y1,
d2_point x2,
d2_point y2,
d2_width w1,
d2_width w2,
d2_u32 flags)
Render a wide line with 2 different widths.
d2_s32 d2_renderpolygon(d2_device *handle,
const d2_point *data,
d2_u32 count,
d2_u32 flags)
Render a convex polygon
d2_s32 d2_renderpolyline(d2_device *handle,
const d2_point *data,
d2_u32 count,
d2_width w,
d2_u32 flags)
Render a polyline
d2_s32 d2_renderpolyline2(d2_device *handle,
const d2_point *data,
d2_u32 count,
const d2_width *w,
d2_u32 flags)
Render a polyline with multiple width
d2_s32 d2_renderquad(d2_device *handle,
d2_point x1,
d2_point y1,
d2_point x2,
d2_point y2,
d2_point x3,
d2_point y3,
d2_point x4,
d2_point y4,
d2_u32 flags)
Render a quadrangle.
d2_s32 d2_rendertri(d2_device *handle,
d2_point x1,
d2_point y1,
d2_point x2,
d2_point y2,
d2_point x3,
d2_point y3,
d2_u32 flags)
Render a triangle.
d2_s32 d2_rendertrifan(d2_device *handle,
const d2_point *data,
const d2_u32 *flags,
d2_u32 count)
Render a polygon from a triangle fan
d2_s32 d2_rendertrilist(d2_device *handle,
const d2_point *data,
const d2_u32 *flags,
d2_u32 count)
Render a polygon from a triangle list.
d2_s32 d2_rendertristrip(d2_device *handle,
const d2_point *data,
const d2_u32 *flags,
d2_u32 count)
Render a polygon from a triangle strip.
d2_s32 d2_renderwedge(d2_device *handle,
d2_point x,
d2_point y,
d2_width r,
d2_width w,
d2_s32 nx1,
d2_s32 ny1,
d2_s32 nx2,
d2_s32 ny2,
d2_u32 flags)
Render a circle arc or circle ring arc.
Close