Lines Matching +full:- +full:r
15 * NEMAGFX API. THE UNMODIFIED, NORMATIVE VERSIONS OF THINK-SILICON NEMAGFX
17 * https://think-silicon.com/products/software/nemagfx-api
53 NEMA_NOTEX = -1, /**< No Texture */
105 #define NEMA_RV10 0x3DU /**< RV-10bit */
106 #define NEMA_GU10 0x3EU /**< GU-10bit */
107 #define NEMA_BY10 0x3FU /**< BY-10bit */
108 #define NEMA_RGBA2222 0x40U /**< RGBA2222 (Available if HW enabled - check HW manual) */
109 #define NEMA_ABGR2222 0x41U /**< ABGR2222 (Available if HW enabled - check HW manual) */
110 #define NEMA_BGRA2222 0x42U /**< BGRA2222 (Available if HW enabled - check HW manual) */
111 #define NEMA_ARGB2222 0x43U /**< ARGB2222 (Available if HW enabled - check HW manual) */
112 #define NEMA_AL88 0x44U /**< AL88 (Available if HW enabled - check HW manual) */
113 #define NEMA_AL44 0x45U /**< AL44 (Available if HW enabled - check HW manual) */
114 #define NEMA_ARGB1555 0x46U /**< ARGB1555 (Available if HW enabled - check HW manual) */
115 #define NEMA_ARGB4444 0x47U /**< ARGB4444 (Available if HW enabled - check HW manual) */
116 #define NEMA_BGRA5650 0x13U /**< BGRA5650 (Available if HW enabled - check HW manual) */
117 #define NEMA_BGR565 0x13U /**< BGRA5650 (Available if HW enabled - check HW manual) */
118 #define NEMA_BGRA5551 0x48U /**< BGRA5551 (Available if HW enabled - check HW manual) */
119 #define NEMA_ABGR1555 0x49U /**< ABGR1555 (Available if HW enabled - check HW manual) */
120 #define NEMA_BGRA4444 0x4aU /**< BGRA4444 (Available if HW enabled - check HW manual) */
121 #define NEMA_ABGR4444 0x4bU /**< ABGR4444 (Available if HW enabled - check HW manual) */
122 #define NEMA_TSC12 0x4cU /**< TSC12 (Available if HW enabled - check HW manual) */
123 #define NEMA_TSC12A 0x4dU /**< TSC12A (Available if HW enabled - check HW manual) */
124 #define NEMA_TSC6AP 0x4eU /**< TSC6AP (Available if HW enabled - check HW manual) */
131 //-------------------------------------------------------------------------------------------------…
134 //-----------------------------------------------------------------------------------------
135 // Filtering - 0:0
136 //----------------------
141 //----------------------
148 //----------------------
152 //----------------------
153 #define NEMA_TEX_RANGE_0_1 (0x1U<<5) /**< Interpolated Coordinates range: 0-1 */
159 //-----------------------------------------------------------------------------------------
163 NEMA_CULL_CCW = (1U<<29), /**< Cull anti-clockwise Triangles/Quadrilaterals */
168 //-------------------------------------------------------------------------------------------------…
171 #define NEMA_ROT_090_CCW (0x1U) /**< Rotate 90 degrees counter-clockwise */
172 #define NEMA_ROT_180_CCW (0x2U) /**< Rotate 180 degrees counter-clockwise */
173 #define NEMA_ROT_270_CCW (0x3U) /**< Rotate 270 degrees counter-clockwise */
184 * \return -1 if no known GPU is present
189 // ------------------------------ TEXTURES -------------------------------------
208 * \param color default color in 32-bit RGBA format
214 // ------------------------------ CONSTREGS ------------------------------------
224 // --------------------------------- CLIP --------------------------------------
228 * \param x Clip Window top-left x coordinate
242 * \param e0 Enable MSAA for edge 0 (vertices 0-1)
243 * \param e1 Enable MSAA for edge 1 (vertices 1-2)
244 * \param e2 Enable MSAA for edge 2 (vertices 2-3)
245 * \param e3 Enable MSAA for edge 3 (vertices 3-0)
251 // ------------------------------- DIRTY REGIONS ------------------------------------
264 /** \brief Clear dirty region information - runs via the bound command-list
273 /** \brief Clear dirty region information immediately, no command-list involved
282 // -------------------------------- UTILS --------------------------------------
323 * \param R Red component
330 uint32_t nema_rgba(unsigned char R,
360 // ------------------------------- CONTEXT -------------------------------------
433 // -------------------------------- DEPTH --------------------------------------
436 // ------------------------------ GRADIENT -------------------------------------
444 // ------------------------------- DRAWING -------------------------------------
447 * \param rgba8888 32-bit RGBA color
495 * \param r circle's radius
501 void nema_draw_circle(int x, int y, int r, uint32_t rgba8888);
503 /** \brief Draw a colored circle with Anti-Aliasing (if available) and specified width
507 * \param r circle's radius
514 void nema_draw_circle_aa(float x, float y, float r, float w, uint32_t rgba8888);
522 * \param r corner radius
528 void nema_draw_rounded_rect(int x0, int y0, int w, int h, int r, uint32_t rgba8888);
547 * \param r circle's radius
553 void nema_fill_circle(int x, int y, int r, uint32_t rgba8888);
555 /** \brief Fill a circle with color, use Anti-Aliasing if available
559 * \param r circle's radius
565 void nema_fill_circle_aa(float x, float y, float r, uint32_t rgba8888);
587 * \param r corner radius
593 void nema_fill_rounded_rect(int x0, int y0, int w, int h, int r, uint32_t rgba8888);
673 // ------------------------------- BLITTING ------------------------------------
689 * \param r destination corner radius
693 void nema_blit_rounded (int x, int y, int r);
943 * \param hold_id Hold signals to be enabled [0-3]
951 * \param hold_id Hold signals to be disabled [0-3]
959 * \param hold_id Hold signals' IRQ to be enabled [0-3]
967 * \param hold_id Hold signals' IRQ to be disabled [0-3]