|
EVE_HAL_EXPORT void | EVE_CoDlImpl_resetDlState (EVE_HalContext *phost) |
|
EVE_HAL_EXPORT void | EVE_CoDlImpl_resetCoState (EVE_HalContext *phost) |
|
static void | EVE_CoDl_display (EVE_HalContext *phost) |
|
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_vertex2ii (EVE_HalContext *phost, uint16_t x, uint16_t y, uint8_t handle, uint8_t cell) |
|
static void | EVE_CoDl_bitmapSource (EVE_HalContext *phost, uint32_t addr) |
|
static void | EVE_CoDl_bitmapSource_ex (EVE_HalContext *phost, uint32_t addr, bool flash) |
|
static void | EVE_CoDl_clearColorRgb_ex (EVE_HalContext *phost, uint32_t c) |
| Specify clear color RGB.
|
|
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_clearColorA (EVE_HalContext *phost, uint8_t alpha) |
| Specify clear alpha channel.
|
|
static void | EVE_CoDl_clearColorArgb_ex (EVE_HalContext *phost, uint32_t c) |
| Specify clear color: Alpha (bits 31:24) + RGB (bits 23:0)
|
|
static void | EVE_CoDl_tag (EVE_HalContext *phost, uint8_t s) |
| Set current tag.
|
|
static void | EVE_CoDl_colorRgb_ex (EVE_HalContext *phost, uint32_t c) |
| Specify color RGB.
|
|
static void | EVE_CoDl_colorRgb (EVE_HalContext *phost, uint8_t r, uint8_t g, uint8_t b) |
| Specify color RGB.
|
|
static void | EVE_CoDl_colorA (EVE_HalContext *phost, uint8_t alpha) |
| Specify alpha channel.
|
|
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_bitmapHandle (EVE_HalContext *phost, uint8_t handle) |
| Specify bitmap handle, see BITMAP_HANDLE.
|
|
static void | EVE_CoDl_cell (EVE_HalContext *phost, uint8_t cell) |
| Specify cell number for bitmap, see CELL.
|
|
static void | EVE_CoDl_bitmapLayout (EVE_HalContext *phost, uint8_t format, uint16_t linestride, uint16_t height) |
|
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_alphaFunc (EVE_HalContext *phost, uint8_t func, uint8_t ref) |
|
static void | EVE_CoDl_stencilFunc (EVE_HalContext *phost, uint8_t func, uint8_t ref, uint8_t mask) |
|
static void | EVE_CoDl_blendFunc (EVE_HalContext *phost, uint8_t src, uint8_t dst) |
|
static void | EVE_CoDl_blendFunc_default (EVE_HalContext *phost) |
|
static void | EVE_CoDl_stencilOp (EVE_HalContext *phost, uint8_t sfail, uint8_t spass) |
|
static void | EVE_CoDl_pointSize (EVE_HalContext *phost, int16_t size) |
|
static void | EVE_CoDl_lineWidth (EVE_HalContext *phost, int16_t width) |
|
static void | EVE_CoDl_clearStencil (EVE_HalContext *phost, uint8_t s) |
|
static void | EVE_CoDl_clearTag (EVE_HalContext *phost, uint8_t s) |
|
static void | EVE_CoDl_stencilMask (EVE_HalContext *phost, uint8_t mask) |
|
static void | EVE_CoDl_tagMask (EVE_HalContext *phost, bool mask) |
|
static void | EVE_CoDl_bitmapTransformA (EVE_HalContext *phost, uint16_t v) |
|
static void | EVE_CoDl_bitmapTransformA_ex (EVE_HalContext *phost, bool p, uint16_t v) |
|
static void | EVE_CoDl_bitmapTransformB (EVE_HalContext *phost, uint16_t v) |
|
static void | EVE_CoDl_bitmapTransformB_ex (EVE_HalContext *phost, bool p, uint16_t v) |
|
static void | EVE_CoDl_bitmapTransformC (EVE_HalContext *phost, uint32_t v) |
|
static void | EVE_CoDl_bitmapTransformD (EVE_HalContext *phost, uint16_t v) |
|
static void | EVE_CoDl_bitmapTransformD_ex (EVE_HalContext *phost, bool p, uint16_t v) |
|
static void | EVE_CoDl_bitmapTransformE (EVE_HalContext *phost, uint16_t v) |
|
static void | EVE_CoDl_bitmapTransformE_ex (EVE_HalContext *phost, bool p, uint16_t v) |
|
static void | EVE_CoDl_bitmapTransformF (EVE_HalContext *phost, uint32_t v) |
|
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_bitmapTransform_identity (EVE_HalContext *phost) |
|
static void | EVE_CoDl_scissorXY (EVE_HalContext *phost, uint16_t x, uint16_t y) |
|
static void | EVE_CoDl_scissorSize (EVE_HalContext *phost, uint16_t width, uint16_t height) |
|
static void | EVE_CoDl_call (EVE_HalContext *phost, uint16_t dest) |
|
static void | EVE_CoDl_jump (EVE_HalContext *phost, uint16_t dest) |
|
static void | EVE_CoDl_begin (EVE_HalContext *phost, uint8_t prim) |
|
static void | EVE_CoDl_colorMask (EVE_HalContext *phost, bool r, bool g, bool b, bool a) |
|
static void | EVE_CoDl_end (EVE_HalContext *phost) |
|
static void | EVE_CoDl_saveContext (EVE_HalContext *phost) |
| Save EVE context, see SAVE_CONTEXT.
|
|
static void | EVE_CoDl_restoreContext (EVE_HalContext *phost) |
| Restore EVE context, see RESTORE_CONTEXT.
|
|
static void | EVE_CoDl_return (EVE_HalContext *phost) |
|
static void | EVE_CoDl_macro (EVE_HalContext *phost, uint16_t m) |
|
static void | EVE_CoDl_clear (EVE_HalContext *phost, bool c, bool s, bool t) |
|
static void | EVE_CoDl_vertexFormat (EVE_HalContext *phost, uint8_t frac) |
|
static void | EVE_CoDl_paletteSource (EVE_HalContext *phost, uint32_t addr) |
| Set palette source, see PALETTE_SOURCE command.
|
|
static void | EVE_CoDl_vertexTranslateX (EVE_HalContext *phost, int16_t x) |
|
static void | EVE_CoDl_vertexTranslateY (EVE_HalContext *phost, int16_t y) |
|
static void | EVE_CoDl_nop (EVE_HalContext *phost) |
|
static void | EVE_CoDl_bitmapExtFormat (EVE_HalContext *phost, uint16_t format) |
|
static void | EVE_CoDl_bitmapSwizzle (EVE_HalContext *phost, uint8_t r, uint8_t g, uint8_t b, uint8_t a) |
|
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_vertex2f_2 (EVE_HalContext *phost, int16_t x, int16_t y) |
| Fixed point vertex using 2 bits subprecision.
|
|
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.
|
|
EVE's co-processor command.
The purpose of this header is to provide a simplified interface to display list instructions. The functions do not match 1:1 with the display list instructions. Some instructions are combined to simplify compatibility between platforms. (For example, BITMAP_SIZE and BITMAP_SIZE_H.) All functions write to the display list through EVE_CoCmd_dl.
If EVE_DL_OPTIMIZE is set to 1 in EVE_Config, these functions will ignore duplicate calls. To bypass optmization, call EVE_CoCmd_dl
directly (within a subroutine or saved context.)
If ESD_DL_END_PRIMITIVE is set to 0 in EVE_Config, the END() instruction will be avoided.
Compatibility:
- EVE_CoDl_vertexFormat and EVE_CoDl_vertex2f implement fallback functionality for VERTEX_FORMAT, VERTEX_TRANSLATE_X, and VERTEX_TRANSLATE_Y on FT80X series.
- EVE_CoDl_bitmapSize calls BITMAP_SIZE_H on FT81X series and higher.
- EVE_CoDl_bitmapLayout calls BITMAP_LAYOUT_H on FT81X series and higher.
- Author
- Bridgetek
- Date
- 2018
MIT License
Copyright (c) [2019] [Bridgetek Pte Ltd (BRTChip)]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file EVE_CoDl.h.