Baile > Nuacht > Ábhar

FT_CoPro_Cmds.cpp

May 06, 2019

# cuir "FT_Platform.h" san áireamh


ft_void_t Ft_Gpu_Copro_SendCmd (Ft_Gpu_Hal_Context_t * post, ft_uint32_t cmd)

{

#ifdef BUFFER_OPTIMIZATION

Ft_App_WrCoCmd_Buffer (post, cmd);

#endif


#ifdef ARDUINO_PLATFORM

#ifdef ARDUINO_PLATFORM_COCMD_BURST

Ft_Gpu_Hal_Transfer32 (post, cmd);

#else

Ft_Gpu_Hal_WrCmd32 (post, cmd);

#endif

#endif

}


stt_void_t Ft_Gpu_CoCmd_SendStr (Ft_Gpu_Hal_Context_t * post, const_char8_t * s)

{

#ifdef BUFFER_OPTIMIZATION

Ft_App_WrCoStr_Buffer (post, s);

#endif


#ifdef ARDUINO_PLATFORM

#ifdef ARDUINO_PLATFORM_COCMD_BURST

Ft_Gpu_Hal_TransferString (post, s);

#else

fad_uint16_t fad = 0;

fad = strlen (s) + 1; // deireanach le haghaidh foirceannadh nialais

Ft_Gpu_Hal_WrCmdBuf (post, (ft_uint8_t *) s, fad);

#endif

#endif

}


Comhaireamh Ft_Gpu_CoCmd_StartFunc (Ft_Gpu_Hal_Context_t * phost, ft_uint16_t áireamh)

{

#ifdef ARDUINO_PLATFORM

#ifdef ARDUINO_PLATFORM_COCMD_BURST

Ft_Gpu_Hal_CheckCmdBuffer (post, comhaireamh);

Ft_Gpu_Hal_StartCmdTransfer (post, FT_GPU_WRITE, comhaireamh);

#endif

#endif

}


Comhaireamh Ft_Gpu_CoCmd_EndFunc (Ft_Gpu_Hal_Context_t * phost, ft_uint16_t áireamh)

{

#ifdef ARDUINO_PLATFORM

#ifdef ARDUINO_PLATFORM_COCMD_BURST

Ft_Gpu_Hal_EndTransfer (post);

Ft_Gpu_Hal_Updatecmdfifo (pos, count);

#endif

#endif

}


Clóscríobhán (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t font, ft_uint16_t options, ft_uint16_t options, aschur_char8_t * s)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3 + strlen (s) + 1);

Ft_Gpu_Copro_SendCmd (post, CMD_TEXT);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Roghanna Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) roghanna < 16)="" |="" (font="" &="">

Ft_Gpu_CoCmd_SendStr (post, s);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3 + strlen (s) + 1));

}


cl_void_t Ft_Gpu_CoCmd_Number (Ft_Gpu_Hal_Context_t * post, cló_t16_t x, ft_int16_t y, ft_int16_t font, ft_uint16_t options, ft_int32_t n)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4);

Ft_Gpu_Copro_SendCmd (post, CMD_NUMBER);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Roghanna Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) roghanna < 16)="" |="" (font="" &="">

Ft_Gpu_Copro_SendCmd (post, n);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4));

}


ft_void_t Ft_Gpu_CoCmd_LoadIdentity (Ft_Gpu_Hal_Context_t * phost)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 1);

Ft_Gpu_Copro_SendCmd (post, CMD_LOADIDENTITY);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 1));

}


ft_void_t Ft_Gpu_CoCmd_Toggle (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t w, ft_int16_t cló, ft_uint16_t options, ft_uint16_t state, ft_uint16_t state,

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4 + strlen (s) + 1);

Ft_Gpu_Copro_SendCmd (post, CMD_TOGGLE);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) cló < 16)="" |="" (w="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) stáit) < 16)="" |="">

Ft_Gpu_CoCmd_SendStr (post, s);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4 + strlen (s) + 1));

}

/ * Ní dhéantar láimhseáil earráide le haghaidh val, mar sin is fearr raon 65535 a úsáid i gcónaí ionas go dtarraingítear an tsnáthaid laistigh den réigiún taispeána * /

stóranna [1] (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t r, ft_uint16_t, ft_uint16_t mór, ft_uint16_t mion, ft_uint16_t val, ft_uint16_t raon)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 5);

Ft_Gpu_Copro_SendCmd (post, CMD_GAUGE);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) roghanna < 16)="" |="" (r="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) mionbheag < 16)="" |="" (major="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) raon < 16)="" |="" (val="" &="">

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 5));

}


cas_void_t Ft_Gpu_CoCmd_RegRead (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ptr, ft_uint32_t toradh)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3);

Ft_Gpu_Copro_SendCmd (post, CMD_REGREAD);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (post, 0);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3));

}

ft_void_t Ft_Gpu_CoCmd_GetProps (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ptr, ft_uint32_t w, ft_uint32_t h) h)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4);

Ft_Gpu_Copro_SendCmd (post, CMD_GETPROPS);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (post, w);

Ft_Gpu_Copro_SendCmd (post, h);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4));

}

ft_void_t Ft_Gpu_CoCmd_Memcpy (Ft_Gpu_Hal_Context_t * post, ft_uint32_t dest, ft_uint32_t nte, ft_uint32_t num)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4);

Ft_Gpu_Copro_SendCmd (post, CMD_MEMCPY);

Ft_Gpu_Copro_SendCmd (post, dest);

Ft_Gpu_Copro_SendCmd (post, src);

Ft_Gpu_Copro_SendCmd (post, num);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4));

}

ft_void_t Ft_Gpu_CoCmd_Spinner (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_uint16_t style, ft_uint16_t scála)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3);

Ft_Gpu_Copro_SendCmd (post, CMD_SPINNER);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) scála < 16)="" |="" (stíl="" &="">

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3));

}

ft_void_t Ft_Gpu_CoCmd_BgColor (Ft_Gpu_Hal_Context_t * post, ft_uint32_t c)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_BGCOLOR);

Ft_Gpu_Copro_SendCmd (post, c);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 2));

}

ft_void_t Ft_Gpu_CoCmd_Swap (Ft_Gpu_Hal_Context_t * phost)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 1);

Ft_Gpu_Copro_SendCmd (post, CMD_SWAP);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 1));

}

ft_void_t Ft_Gpu_CoCmd_Inflate (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ptr)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_INFLATE);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 2));

}

ft_void_t Ft_Gpu_CoCmd_Translate (Ft_Gpu_Hal_Context_t * post, ft_int32_t tx, ft_int32_t ty)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3);

Ft_Gpu_Copro_SendCmd (post, CMD_TRANSLATE);

Ft_Gpu_Copro_SendCmd (post, tx);

Ft_Gpu_Copro_SendCmd (post, ty);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3));

}

ft_void_t Ft_Gpu_CoCmd_Stop (Ft_Gpu_Hal_Context_t * phost)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 1);

Ft_Gpu_Copro_SendCmd (post, CMD_STOP);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 1));

}

(_Be__Gpu_CoCmd_Slider) (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t w, ft_int16_t y, ft_uint16_t options, ft_uint16_t, ft_uint16_t range)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 5);

Ft_Gpu_Copro_SendCmd (post, CMD_SLIDER);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) h < 16)="" |="" (w="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) val < 16)="" |="" (roghanna="" &="">

Ft_Gpu_Copro_SendCmd (post, raon);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 5));

}

ft_void_t Ft_Gpu_CoCmd_TouchTransform (Ft_Gpu_Hal_Context_t * darás, x0 ft_int32_t, y0 ft_int32_t, x1 ft_int32_t, y1 ft_int32_t, x2 ft_int32_t, y2 ft_int32_t, tx0 ft_int32_t, ty0 ft_int32_t, tx1 ft_int32_t, ty1 ft_int32_t, TX2 ft_int32_t, ty2 ft_int32_t, toradh ft_uint16_t)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 6 * 2 + FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_TOUCH_TRANSFORM);

Ft_Gpu_Copro_SendCmd (post, x0);

Ft_Gpu_Copro_SendCmd (post, y0);

Ft_Gpu_Copro_SendCmd (post, x1);

Ft_Gpu_Copro_SendCmd (post, y1);

Ft_Gpu_Copro_SendCmd (post, x2);

Ft_Gpu_Copro_SendCmd (post, y2);

Ft_Gpu_Copro_SendCmd (post, tx0);

Ft_Gpu_Copro_SendCmd (post, ty0);

Ft_Gpu_Copro_SendCmd (post, tx1);

Ft_Gpu_Copro_SendCmd (post, ty1);

Ft_Gpu_Copro_SendCmd (post, tx2);

Ft_Gpu_Copro_SendCmd (post, ty2);

Ft_Gpu_Copro_SendCmd (toradh, toradh);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 6 * 2 + FT_CMD_SIZE * 2));

}

ft_void_t Ft_Gpu_CoCmd_Interrupt (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ms)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_INTERRUPT);

Ft_Gpu_Copro_SendCmd (post, ms);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 2));

}

ft_void_t Ft_Gpu_CoCmd_FgColor (Ft_Gpu_Hal_Context_t * post, ft_uint32_t c)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_FGCOLOR);

Ft_Gpu_Copro_SendCmd (post, c);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 2));

}

ft_void_t Ft_Gpu_CoCmd_Rotate (Ft_Gpu_Hal_Context_t * post, ft_int32_t a)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_ROTATE);

Ft_Gpu_Copro_SendCmd (post, a);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 2));

}

cl_void_t Ft_Gpu_CoCmd_Button (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t w, ft_int16_t h, ft_int16_t font, ft_uint16_t options, ft_rint16_t options,

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4 + strlen (s) + 1);

Ft_Gpu_Copro_SendCmd (post, CMD_BUTTON);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) h < 16)="" |="" (w="" &="">

Roghanna Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) roghanna < 16)="" |="" (font="" &="">

Ft_Gpu_CoCmd_SendStr (post, s);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4 + strlen (s) + 1));

}

ft_void_t Ft_Gpu_CoCmd_MemWrite (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ptr, ft_uint32_t num)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3);

Ft_Gpu_Copro_SendCmd (post, CMD_MEMWRITE);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (post, num);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3));

}

ft_void_t Ft_Gpu_CoCmd_Scrollbar (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t w, ft_int16_t h, ft_uint16_t options, ft_uint16_t val, ft_uint16_t Size, ft_uint16_t raon)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 5);

Ft_Gpu_Copro_SendCmd (post, CMD_SCROLLBAR);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) h < 16)="" |="" (w="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) val < 16)="" |="" (roghanna="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) raon < 16)="" |="" (size="" &="">

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 5));

}


ft_void_t Ft_Gpu_CoCmd_GetMatrix (Ft_Gpu_Hal_Context_t * darás, ft_int32_t a, ft_int32_t b, ft_int32_t c, ft_int32_t d, ft_int32_t e, ft_int32_t f)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 7);

Ft_Gpu_Copro_SendCmd (post, CMD_GETMATRIX);

Ft_Gpu_Copro_SendCmd (post, a);

Ft_Gpu_Copro_SendCmd (post, b);

Ft_Gpu_Copro_SendCmd (post, c);

Ft_Gpu_Copro_SendCmd (post, d);

Ft_Gpu_Copro_SendCmd (post, e);

Ft_Gpu_Copro_SendCmd (post, f);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 7));

}

f_top_top_top_pdf (ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t, ft_uint16_t w, ft_uint16_t h, ft_uint32_t ptr, ft_uint16_t format)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 5);

Ft_Gpu_Copro_SendCmd (post, CMD_SKETCH);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) h < 16)="" |="" (w="" &="">

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (post, format);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 5));

}

(ft_Gpu_Hal_Context_t * post, ft_intiachtal_top, ft_top_6_t_, ft_int16_t y, ft_uint16_t w, ft_uint16_t h, ft_uint32_t ptr, ft_uint16_t ptr, ft_uint16_t freq)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 5);

Ft_Gpu_Copro_SendCmd (post, CMD_CSKETCH);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) h < 16)="" |="" (w="" &="">

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) freq < 16)="" |="" (formáid="" &="">

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 5));

}

ft_void_t Ft_Gpu_CoCmd_MemSet (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ptr, ft_uint32_t luach, ft_uint32_t num)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4);

Ft_Gpu_Copro_SendCmd (post, CMD_MEMSET);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (post, luach);

Ft_Gpu_Copro_SendCmd (post, num);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4));

}

ft_void_t Ft_Gpu_CoCmd_GradColor (Ft_Gpu_Hal_Context_t * post, ft_uint32_t c)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_GRADCOLOR);

Ft_Gpu_Copro_SendCmd (post, c);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 2));

}

ft_void_t Ft_Gpu_CoCmd_BitmapTransform (Ft_Gpu_Hal_Context_t * darás, x0 ft_int32_t, y0 ft_int32_t, x1 ft_int32_t, y1 ft_int32_t, x2 ft_int32_t, y2 ft_int32_t, tx0 ft_int32_t, ty0 ft_int32_t, tx1 ft_int32_t, ty1 ft_int32_t, TX2 ft_int32_t, ty2 ft_int32_t, toradh ft_uint16_t)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 6 * 2 + FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_BITMAP_TRANSFORM);

Ft_Gpu_Copro_SendCmd (post, x0);

Ft_Gpu_Copro_SendCmd (post, y0);

Ft_Gpu_Copro_SendCmd (post, x1);

Ft_Gpu_Copro_SendCmd (post, y1);

Ft_Gpu_Copro_SendCmd (post, x2);

Ft_Gpu_Copro_SendCmd (post, y2);

Ft_Gpu_Copro_SendCmd (post, tx0);

Ft_Gpu_Copro_SendCmd (post, ty0);

Ft_Gpu_Copro_SendCmd (post, tx1);

Ft_Gpu_Copro_SendCmd (post, ty1);

Ft_Gpu_Copro_SendCmd (post, tx2);

Ft_Gpu_Copro_SendCmd (post, ty2);

Ft_Gpu_Copro_SendCmd (toradh, toradh);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 6 * 2 + FT_CMD_SIZE * 2));

}

ft_void_t Ft_Gpu_CoCmd_Calibrate (Ft_Gpu_Hal_Context_t * phost, ft_uint32_t toradh)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_CALIBRATE);

Ft_Gpu_Copro_SendCmd (toradh, toradh);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 2));

Ft_Gpu_Hal_WaitCmdfifo_empty (post);

}

cl_void_t Ft_Gpu_CoCmd_SetFont (Ft_Gpu_Hal_Context_t * post, ft_uint32_t cló, ft_uint32_t ptr)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3);

Ft_Gpu_Copro_SendCmd (post, CMD_SETFONT);

Ft_Gpu_Copro_SendCmd (post, cló);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3));

}

ft_void_t Ft_Gpu_CoCmd_Logo (Ft_Gpu_Hal_Context_t * phost)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 1);

Ft_Gpu_Copro_SendCmd (post, CMD_LOGO);

Ft_Gpu_CoCmd_EndFunc (post, FT_CMD_SIZE * 1);

}

f_top_top_top (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ptr, ft_uint32_t num)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3);

Ft_Gpu_Copro_SendCmd (post, CMD_APPEND);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (post, num);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3));

}

ft_void_t Ft_Gpu_CoCmd_MemZero (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ptr, ft_uint32_t num)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3);

Ft_Gpu_Copro_SendCmd (post, CMD_MEMZERO);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (post, num);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3));

}

ft_void_t Ft_Gpu_CoCmd_Scale (Ft_Gpu_Hal_Context_t * post, ft_int32_t sx, ft_int32_t sy)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3);

Ft_Gpu_Copro_SendCmd (post, CMD_SCALE);

Ft_Gpu_Copro_SendCmd (post, sx);

Ft_Gpu_Copro_SendCmd (post, sy);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3));

}

}

f (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t r, ft_uint16_t, ft_uint16_t h, ft_uint16_t m, ft_uint16_t s, ft_uint16_t ms)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 5);

Ft_Gpu_Copro_SendCmd (post, CMD_CLOCK);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) roghanna < 16)="" |="" (r="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) m < 16)="" |="" (h="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) ms < 16)="" |="" (s="" &="">

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 5));

}

ft_void_t Ft_Gpu_CoCmd_Gradient (Ft_Gpu_Hal_Context_t * post, ft_int16_t x0, ft_int16_t y0, ft_uint32_t rgb0, ft_int16_t x1, ft_int16_t y1, ft_uint32_t rgb1)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 5);

Ft_Gpu_Copro_SendCmd (post, CMD_GRADIENT);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y0 < 16)="" |="" (x0="" &="">

Ft_Gpu_Copro_SendCmd (post, rgb0);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y1 < 16)="" |="" (x1="" &="">

Ft_Gpu_Copro_SendCmd (post, rgb1);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 5));

}

ft_void_t Ft_Gpu_CoCmd_SetMatrix (Ft_Gpu_Hal_Context_t * phost)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 1);

Ft_Gpu_Copro_SendCmd (post, CMD_SETMATRIX);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 1));

}

ft_void_t Ft_Gpu_CoCmd_Track (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t w, ft_int16_t h, ft_int16_t tag)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4);

Ft_Gpu_Copro_SendCmd (post, CMD_TRACK);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) h < 16)="" |="" (w="" &="">

Ft_Gpu_Copro_SendCmd (post, tag);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4));

}

ft_void_t Ft_Gpu_CoCmd_GetPtr (Ft_Gpu_Hal_Context_t * post, ft_uint32_t toradh)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_GETPTR);

Ft_Gpu_Copro_SendCmd (toradh, toradh);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 2));

}

ft_void_t Ft_Gpu_CoCmd_Progress (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t w, ft_int16_t h, ft_uint16_t options, ft_uint16_t val, ft_uint16_t range)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 5);

Ft_Gpu_Copro_SendCmd (post, CMD_PROGRESS);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) h < 16)="" |="" (w="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) val < 16)="" |="" (roghanna="" &="">

Ft_Gpu_Copro_SendCmd (post, raon);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 5));

}

ft_void_t Ft_Gpu_CoCmd_ColdStart (Ft_Gpu_Hal_Context_t * phost)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 1);

Ft_Gpu_Copro_SendCmd (post, CMD_COLDSTART);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 1));

}

Cló-i-líne (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t w, ft_int16_t h, ft_int16_t font, ft_uint16_t options, ft_rint16_t options,

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4 + strlen (s) + 1);

Ft_Gpu_Copro_SendCmd (post, CMD_KEYS);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) h < 16)="" |="" (w="" &="">

Roghanna Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) roghanna < 16)="" |="" (font="" &="">

Ft_Gpu_CoCmd_SendStr (post, s);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4 + strlen (s) + 1));

}

f_top_top_top_t_pdf_t_void_t Ft_Gpu_CoCmd_Dial (Ft_Gpu_Hal_Context_t * post, ft_int16_t x, ft_int16_t y, ft_int16_t r, roghanna ft_uint16_t, ft_uint16_t val)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4);

Ft_Gpu_Copro_SendCmd (post, CMD_DIAL);

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) y < 16)="" |="" (x="" &="">

Ft_Gpu_Copro_SendCmd (post, (((ft_uint32_t) roghanna < 16)="" |="" (r="" &="">

Ft_Gpu_Copro_SendCmd (post, val);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4));

}

roghanna (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ptr, ft_uint32_t)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 3);

Ft_Gpu_Copro_SendCmd (post, CMD_LOADIMAGE);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (roghanna, roghanna);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 3));

}

ft_Gpu_CoCmd_Dlstart (Ft_Gpu_Hal_Context_t * phost)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 1);

Ft_Gpu_Copro_SendCmd (post, CMD_DLSTART);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 1));

}

ft_void_t Ft_Gpu_CoCmd_Snapshot (Ft_Gpu_Hal_Context_t * post, ft_uint32_t ptr)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 2);

Ft_Gpu_Copro_SendCmd (post, CMD_SNAPSHOT);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 2));

}

ft_void_t Ft_Gpu_CoCmd_ScreenSaver (Ft_Gpu_Hal_Context_t * phost)

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 1);

Ft_Gpu_Copro_SendCmd (post, CMD_SCREENSAVER);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 1));

}

cas_void_t Ft_Gpu_CoCmd_MemCrc

{

Ft_Gpu_CoCmd_StartFunc (phost, FT_CMD_SIZE * 4);

Ft_Gpu_Copro_SendCmd (post, CMD_MEMCRC);

Ft_Gpu_Copro_SendCmd (post, ptr);

Ft_Gpu_Copro_SendCmd (post, num);

Ft_Gpu_Copro_SendCmd (toradh, toradh);

Ft_Gpu_CoCmd_EndFunc (post, (FT_CMD_SIZE * 4));

}




/ * Níl aon rud thar seo * /