#define HAL_GFX_BF_CONSTALPHA (0xbU) |
Ca
Definition at line 37 of file hal_gfx_blender.h.
#define HAL_GFX_BF_CONSTCOLOR (0xaU) |
Cc
Definition at line 36 of file hal_gfx_blender.h.
#define HAL_GFX_BF_DESTALPHA (0x6U) |
Da
Definition at line 32 of file hal_gfx_blender.h.
#define HAL_GFX_BF_DESTCOLOR (0x8U) |
Dc
Definition at line 34 of file hal_gfx_blender.h.
#define HAL_GFX_BF_INVDESTALPHA (0x7U) |
(1-Da)
Definition at line 33 of file hal_gfx_blender.h.
#define HAL_GFX_BF_INVDESTCOLOR (0x9U) |
(1-Dc)
Definition at line 35 of file hal_gfx_blender.h.
#define HAL_GFX_BF_INVSRCALPHA (0x5U) |
(1-Sa)
Definition at line 31 of file hal_gfx_blender.h.
#define HAL_GFX_BF_INVSRCCOLOR (0x3U) |
(1-Sc)
Definition at line 29 of file hal_gfx_blender.h.
#define HAL_GFX_BF_ONE (0x1U) |
1
Definition at line 27 of file hal_gfx_blender.h.
#define HAL_GFX_BF_SRCALPHA (0x4U) |
Sa
Definition at line 30 of file hal_gfx_blender.h.
#define HAL_GFX_BF_SRCCOLOR (0x2U) |
Sc
Definition at line 28 of file hal_gfx_blender.h.
#define HAL_GFX_BF_ZERO (0x0U) |
0
Definition at line 26 of file hal_gfx_blender.h.
#define HAL_GFX_BL_ADD ( (uint32_t)HAL_GFX_BF_ONE | ((uint32_t)HAL_GFX_BF_ONE <<8) ) |
Sa + Da
Definition at line 51 of file hal_gfx_blender.h.
#define HAL_GFX_BL_CLEAR ( (uint32_t)HAL_GFX_BF_ZERO /*| ((uint32_t)HAL_GFX_BF_ZERO <<8)*/) |
0
Definition at line 41 of file hal_gfx_blender.h.
#define HAL_GFX_BL_DST_ATOP ( (uint32_t)HAL_GFX_BF_INVDESTALPHA | ((uint32_t)HAL_GFX_BF_SRCALPHA <<8) ) |
Sa * (1 - Da) + Da * Sa
Definition at line 50 of file hal_gfx_blender.h.
#define HAL_GFX_BL_DST_IN (/*(uint32_t)HAL_GFX_BF_ZERO |*/ ((uint32_t)HAL_GFX_BF_SRCALPHA <<8) ) |
Da * Sa
Definition at line 46 of file hal_gfx_blender.h.
#define HAL_GFX_BL_DST_OUT (/*(uint32_t)HAL_GFX_BF_ZERO |*/ ((uint32_t)HAL_GFX_BF_INVSRCALPHA <<8) ) |
Da * (1 - Sa)
Definition at line 48 of file hal_gfx_blender.h.
#define HAL_GFX_BL_DST_OVER ( (uint32_t)HAL_GFX_BF_INVDESTALPHA | ((uint32_t)HAL_GFX_BF_ONE <<8) ) |
Sa * (1 - Da) + Da
Definition at line 44 of file hal_gfx_blender.h.
#define HAL_GFX_BL_SIMPLE ( (uint32_t)HAL_GFX_BF_SRCALPHA | ((uint32_t)HAL_GFX_BF_INVSRCALPHA <<8) ) |
Sa * Sa + Da * (1 - Sa)
Definition at line 40 of file hal_gfx_blender.h.
#define HAL_GFX_BL_SRC ( (uint32_t)HAL_GFX_BF_ONE /*| ((uint32_t)HAL_GFX_BF_ZERO <<8)*/) |
Sa
Definition at line 42 of file hal_gfx_blender.h.
#define HAL_GFX_BL_SRC_ATOP ( (uint32_t)HAL_GFX_BF_DESTALPHA | ((uint32_t)HAL_GFX_BF_INVSRCALPHA <<8) ) |
Sa * Da + Da * (1 - Sa)
Definition at line 49 of file hal_gfx_blender.h.
#define HAL_GFX_BL_SRC_IN ( (uint32_t)HAL_GFX_BF_DESTALPHA /*| ((uint32_t)HAL_GFX_BF_ZERO <<8)*/) |
Sa * Da
Definition at line 45 of file hal_gfx_blender.h.
#define HAL_GFX_BL_SRC_OUT ( (uint32_t)HAL_GFX_BF_INVDESTALPHA/*| ((uint32_t)HAL_GFX_BF_ZERO <<8)*/ ) |
Sa * (1 - Da)
Definition at line 47 of file hal_gfx_blender.h.
#define HAL_GFX_BL_SRC_OVER ( (uint32_t)HAL_GFX_BF_ONE | ((uint32_t)HAL_GFX_BF_INVSRCALPHA <<8) ) |
Sa + Da * (1 - Sa)
Definition at line 43 of file hal_gfx_blender.h.
#define HAL_GFX_BL_XOR ( (uint32_t)HAL_GFX_BF_INVDESTALPHA | ((uint32_t)HAL_GFX_BF_INVSRCALPHA <<8) ) |
Sa * (1 - Da) + Da * (1 - Sa)
Definition at line 52 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_DST_CKEY (0x80000000U) |
Apply Destination Color Keying - draw only when dst color matches colorkey
Definition at line 65 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_DST_CKEY_NEG (0x02000000U) |
Apply Inverse Destination Color Keying - draw only when dst color doesn't match colorkey
Definition at line 59 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_FORCE_A (0x10000000U) |
Force Constant Alpha value
Definition at line 62 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_MASK (0xffc00000U) |
blending operation mask
Definition at line 66 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_MODULATE_A (0x08000000U) |
Modulate by Constant Alpha value
Definition at line 61 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_MODULATE_RGB (0x20000000U) |
Modulate by Constant Color (RGB) values
Definition at line 63 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_NO_USE_ROPBL (0x01000000U) |
Don't use Rop Blender even if present
Definition at line 58 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_NONE (0U) |
No extra blending operation
Definition at line 55 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_SRC_CKEY (0x40000000U) |
Apply Source Color Keying - draw only when src color doesn't match colorkey
Definition at line 64 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_SRC_PREMULT (0x04000000U) |
Premultiply Source Color with Source Alpha (cannot be used with HAL_GFX_BLOP_MODULATE_RGB)
Definition at line 60 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_STENCIL_TXTY (0x00800000U) |
Use TEX3 as mask
Definition at line 56 of file hal_gfx_blender.h.
#define HAL_GFX_BLOP_STENCIL_XY (0x00400000U) |
Use TEX3 as mask
Definition at line 57 of file hal_gfx_blender.h.
#define HAL_GFX_EVENT_HIDE_CURSOR (1 << 1) |
hide cursor event
Definition at line 25 of file hal_gfx_event.h.