|
|
|
@ -160,6 +160,14 @@ static inline void set_window(const gl_bitblt_t* bb) {
|
|
|
|
|
bb->dst_y + bb->height + 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// For future notice, if we ever want to do a new model using progressive rendering.
|
|
|
|
|
//
|
|
|
|
|
// Following functions can be optimized by using DMA (regular is likely enough) to
|
|
|
|
|
// copy the data, along with the fill function. If even more performance is needed,
|
|
|
|
|
// we could use double-slice similarly to double-framebuffer and render to one with DMA2D while
|
|
|
|
|
// copying the other to the display with DMA.
|
|
|
|
|
|
|
|
|
|
void display_fill(const gl_bitblt_t* bb) {
|
|
|
|
|
set_window(bb);
|
|
|
|
|
|
|
|
|
|