Product Application
©
Rev.1.1
Ft_App_Flush_Co_Buffer(phost);
// Wait till coprocessor completes the operation
Ft_Gpu_Hal_WaitCmdfifo_empty(phost);
You can change line color using COLOR_RGB command. Drawing lines starts after BEGIN(LINES)
command. You must only give coordinate of line start and end using VERTEX2F command.
There is possibility to draw in very similar way lines connected head-to-tail using LINE_STRIP
command. There is also possibility to draw edge strips thanks to EDGE_STRIP_A/B/L/R command.
2.5 Bitmap drawing – animation
In this example, the method for drawing bitmaps and creating your own animation is presented. You
will see on the screen animation of Riverdi logo.
Figure 5. Logo animation example
Bitmap animation is performing by function Bitmap(). Animation is done in following way: first at all
image is load to FT800/FT801 memory as bitmap, then are applied in loop transformations re-sizing
(BITMAP_TRANSFORM_A, BITMAP_TRANSFORM_E) an alpha for fading effect (COLOR_A).
For more details see application code.
There is possibility to perform different bitmap transform functionalities such as scaling, rotation and
translation using BITMAP_TRANSFORM_A-F coefficients. These are similar to OpenGL transform
functionality. In FT80x/FT81x chip is available playing FTDI logo animation thanks to built-in function
(CMD_LOGO).










