53#define EVE_VERTEX2F_MIN -16384L
54#define EVE_VERTEX2F_MAX 16383L
55#define EVE_VERTEX2II_MIN 0UL
56#define EVE_VERTEX2II_MAX 511UL
88#if (EVE_SUPPORT_CHIPID < EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
101#if (EVE_SUPPORT_CHIPID < EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
128#if (EVE_SUPPORT_CHIPID < EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
132 EVE_CoDlImpl_vertex2ii_translate(phost, x, y, handle, cell);
366#if (EVE_SUPPORT_CHIPID >= EVE_FT810)
385#if (EVE_SUPPORT_CHIPID >= EVE_FT810)
695#if EVE_DL_OPTIMIZE && EVE_DL_CACHE_SCISSOR
700#if EVE_DL_CACHE_SCISSOR
714#if EVE_DL_OPTIMIZE && EVE_DL_CACHE_SCISSOR
719#if EVE_DL_CACHE_SCISSOR
755 uint8_t oldPrim = phost->DlPrimitive;
773 phost->DlPrimitive = prim;
797#if EVE_DL_END_PRIMITIVE || !EVE_DL_OPTIMIZE
799 if (phost->DlPrimitive != 0)
804 phost->DlPrimitive = 0;
820#if (EVE_DL_OPTIMIZE) || (EVE_DL_CACHE_SCISSOR) || (EVE_SUPPORT_CHIPID < EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
824#if (EVE_DL_OPTIMIZE) || (EVE_DL_CACHE_SCISSOR) || (EVE_SUPPORT_CHIPID < EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
826 phost->DlState[nextState] = phost->DlState[phost->DlStateIndex];
827 phost->DlStateIndex = nextState;
842#if (EVE_DL_OPTIMIZE) || (EVE_DL_CACHE_SCISSOR) || (EVE_SUPPORT_CHIPID < EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
886#if (EVE_SUPPORT_CHIPID >= EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
902#if (EVE_SUPPORT_CHIPID < EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
921#if (EVE_SUPPORT_CHIPID >= EVE_FT810)
943#if (EVE_SUPPORT_CHIPID >= EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
951#if (EVE_SUPPORT_CHIPID < EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
964#if (EVE_SUPPORT_CHIPID >= EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
972#if (EVE_SUPPORT_CHIPID < EVE_FT810) || defined(EVE_MULTI_GRAPHICS_TARGET)
984#if (EVE_SUPPORT_CHIPID >= EVE_BT815) || defined(EVE_MULTI_GRAPHICS_TARGET)
998#if (EVE_SUPPORT_CHIPID >= EVE_BT815) || defined(EVE_MULTI_GRAPHICS_TARGET)
1015#if (EVE_SUPPORT_CHIPID >= EVE_BT815) || defined(EVE_MULTI_GRAPHICS_TARGET)
EVE's co-processor commmands.
static void EVE_CoCmd_dl(EVE_HalContext *phost, uint32_t dl)
Write a display list instruction. Example: EVE_CoCmd_dl(DISPLAY());.
#define ESD_FUNCTION(name,...)
#define ESD_PARAMETER(name,...)
static void EVE_CoDl_clearTag(EVE_HalContext *phost, uint8_t s)
static void EVE_CoDl_bitmapTransformA_ex(EVE_HalContext *phost, bool p, uint16_t v)
static void EVE_CoDl_tag(EVE_HalContext *phost, uint8_t s)
Set current tag.
static void EVE_CoDl_lineWidth(EVE_HalContext *phost, int16_t width)
static void EVE_CoDl_tagMask(EVE_HalContext *phost, bool mask)
static void EVE_CoDl_blendFunc_default(EVE_HalContext *phost)
static void EVE_CoDl_colorRgb(EVE_HalContext *phost, uint8_t r, uint8_t g, uint8_t b)
Specify color RGB.
static void EVE_CoDl_restoreContext(EVE_HalContext *phost)
Restore EVE context, see RESTORE_CONTEXT.
static void EVE_CoDl_display(EVE_HalContext *phost)
static void EVE_CoDl_bitmapSource(EVE_HalContext *phost, uint32_t addr)
static void EVE_CoDl_nop(EVE_HalContext *phost)
static void EVE_CoDl_stencilFunc(EVE_HalContext *phost, uint8_t func, uint8_t ref, uint8_t mask)
static void EVE_CoDl_vertexTranslateX(EVE_HalContext *phost, int16_t x)
static void EVE_CoDl_paletteSource(EVE_HalContext *phost, uint32_t addr)
Set palette source, see PALETTE_SOURCE command.
static void EVE_CoDl_vertex2f_0(EVE_HalContext *phost, int16_t x, int16_t y)
Fixed point vertex using 0 bits subprecision, or integer point vertex.
static void EVE_CoDl_cell(EVE_HalContext *phost, uint8_t cell)
Specify cell number for bitmap, see CELL.
static void EVE_CoDl_vertex2f_4(EVE_HalContext *phost, int16_t x, int16_t y)
Fixed point vertex using 4 bits subprecision.
static void EVE_CoDl_colorArgb_ex(EVE_HalContext *phost, uint32_t c)
Specify color: Alpha (bits 31:24) + RGB (bits 23:0)
static void EVE_CoDl_begin(EVE_HalContext *phost, uint8_t prim)
static void EVE_CoDl_blendFunc(EVE_HalContext *phost, uint8_t src, uint8_t dst)
static void EVE_CoDl_bitmapTransform_ex(EVE_HalContext *phost, bool p, uint16_t a, uint16_t b, uint32_t c, uint16_t d, uint16_t e, uint32_t f)
static void EVE_CoDl_bitmapTransformB_ex(EVE_HalContext *phost, bool p, uint16_t v)
static void EVE_CoDl_clearStencil(EVE_HalContext *phost, uint8_t s)
static void EVE_CoDl_bitmapTransformF(EVE_HalContext *phost, uint32_t v)
static void EVE_CoDl_clearColorRgb(EVE_HalContext *phost, uint8_t r, uint8_t g, uint8_t b)
Specify clear color RGB.
static void EVE_CoDl_stencilOp(EVE_HalContext *phost, uint8_t sfail, uint8_t spass)
static void EVE_CoDl_vertexFormat(EVE_HalContext *phost, uint8_t frac)
static void EVE_CoDl_bitmapTransform_identity(EVE_HalContext *phost)
static void EVE_CoDl_stencilMask(EVE_HalContext *phost, uint8_t mask)
static void EVE_CoDl_bitmapSize(EVE_HalContext *phost, uint8_t filter, uint8_t wrapx, uint8_t wrapy, uint16_t width, uint16_t height)
static void EVE_CoDl_bitmapTransformE(EVE_HalContext *phost, uint16_t v)
static void EVE_CoDl_scissorXY(EVE_HalContext *phost, uint16_t x, uint16_t y)
static void EVE_CoDl_pointSize(EVE_HalContext *phost, int16_t size)
static void EVE_CoDl_clearColorRgb_ex(EVE_HalContext *phost, uint32_t c)
Specify clear color RGB.
static void EVE_CoDl_bitmapLayout(EVE_HalContext *phost, uint8_t format, uint16_t linestride, uint16_t height)
static void EVE_CoDl_colorRgb_ex(EVE_HalContext *phost, uint32_t c)
Specify color RGB.
EVE_HAL_EXPORT void EVE_CoDlImpl_resetCoState(EVE_HalContext *phost)
static void EVE_CoDl_bitmapTransformD_ex(EVE_HalContext *phost, bool p, uint16_t v)
static void EVE_CoDl_colorA(EVE_HalContext *phost, uint8_t alpha)
Specify alpha channel.
static void EVE_CoDl_clearColorA(EVE_HalContext *phost, uint8_t alpha)
Specify clear alpha channel.
static void EVE_CoDl_clear(EVE_HalContext *phost, bool c, bool s, bool t)
static void EVE_CoDl_bitmapHandle(EVE_HalContext *phost, uint8_t handle)
Specify bitmap handle, see BITMAP_HANDLE.
static void EVE_CoDl_alphaFunc(EVE_HalContext *phost, uint8_t func, uint8_t ref)
static void EVE_CoDl_bitmapSwizzle(EVE_HalContext *phost, uint8_t r, uint8_t g, uint8_t b, uint8_t a)
static void EVE_CoDl_jump(EVE_HalContext *phost, uint16_t dest)
static void EVE_CoDl_saveContext(EVE_HalContext *phost)
Save EVE context, see SAVE_CONTEXT.
static void EVE_CoDl_vertexTranslateY(EVE_HalContext *phost, int16_t y)
static void EVE_CoDl_bitmapTransformE_ex(EVE_HalContext *phost, bool p, uint16_t v)
static void EVE_CoDl_end(EVE_HalContext *phost)
static void EVE_CoDl_bitmapTransformA(EVE_HalContext *phost, uint16_t v)
static void EVE_CoDl_bitmapExtFormat(EVE_HalContext *phost, uint16_t format)
static void EVE_CoDl_clearColorArgb_ex(EVE_HalContext *phost, uint32_t c)
Specify clear color: Alpha (bits 31:24) + RGB (bits 23:0)
EVE_HAL_EXPORT void EVE_CoDlImpl_resetDlState(EVE_HalContext *phost)
static void EVE_CoDl_bitmapSource_ex(EVE_HalContext *phost, uint32_t addr, bool flash)
static void EVE_CoDl_vertex2f(EVE_HalContext *phost, int16_t x, int16_t y)
Fixed point vertex with subprecision depending on current vertex format.
static void EVE_CoDl_vertex2f_2(EVE_HalContext *phost, int16_t x, int16_t y)
Fixed point vertex using 2 bits subprecision.
static void EVE_CoDl_call(EVE_HalContext *phost, uint16_t dest)
static void EVE_CoDl_bitmapTransformB(EVE_HalContext *phost, uint16_t v)
static void EVE_CoDl_vertex2ii(EVE_HalContext *phost, uint16_t x, uint16_t y, uint8_t handle, uint8_t cell)
static void EVE_CoDl_return(EVE_HalContext *phost)
static void EVE_CoDl_colorMask(EVE_HalContext *phost, bool r, bool g, bool b, bool a)
static void EVE_CoDl_bitmapTransformC(EVE_HalContext *phost, uint32_t v)
static void EVE_CoDl_scissorSize(EVE_HalContext *phost, uint16_t width, uint16_t height)
static void EVE_CoDl_macro(EVE_HalContext *phost, uint16_t m)
static void EVE_CoDl_bitmapTransformD(EVE_HalContext *phost, uint16_t v)
#define EVE_DL_STATE_STACK_MASK
#define VERTEX_TRANSLATE_Y(y)
#define BITMAP_LAYOUT(format, linestride, height)
#define BITMAP_TRANSFORM_B(b)
#define BITMAP_TRANSFORM_E(e)
#define VERTEX_FORMAT(frac)
#define BITMAP_TRANSFORM_B_EXT(p, v)
#define BITMAP_HANDLE(handle)
#define BITMAP_SIZE_H(width, height)
#define RESTORE_CONTEXT()
#define BITMAP_TRANSFORM_D(d)
#define BITMAP_EXT_FORMAT(format)
#define BITMAP_TRANSFORM_C(c)
#define COLOR_RGB(red, green, blue)
#define BITMAP_SOURCE(addr)
#define ONE_MINUS_SRC_ALPHA
#define BLEND_FUNC(src, dst)
#define BITMAP_TRANSFORM_E_EXT(p, v)
#define VERTEX_TRANSLATE_X(x)
#define ALPHA_FUNC(func, ref)
#define BITMAP_TRANSFORM_A(a)
#define STENCIL_MASK(mask)
#define LINE_WIDTH(width)
#define BITMAP_SOURCE2(flash_or_ram, addr)
#define BITMAP_TRANSFORM_F(f)
#define BITMAP_LAYOUT_H(linestride, height)
#define SCISSOR_SIZE(width, height)
#define BITMAP_SWIZZLE(r, g, b, a)
#define PALETTE_SOURCE(addr)
#define BITMAP_SIZE(filter, wrapx, wrapy, width, height)
#define BITMAP_TRANSFORM_D_EXT(p, v)
#define COLOR_MASK(r, g, b, a)
#define STENCIL_OP(sfail, spass)
#define CLEAR_COLOR_A(alpha)
#define STENCIL_FUNC(func, ref, mask)
#define BITMAP_TRANSFORM_A_EXT(p, v)
#define CLEAR_COLOR_RGB(red, green, blue)
#define VERTEX2II(x, y, handle, cell)