You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice that you write text to the framebuffer by having bitmap descriptions of the letters and then drawing them pixel by pixel with the DrawPixel function.
Surely it would be faster to represent the font in the Hicolor format, and locate text by character index? You could straight buffer copy then, since you have DMA to your framebuffer.
Each approach has advantages and disadvantages, but I'm surprised that this didn't even get a mention, say as an "exercise for the reader"
The text was updated successfully, but these errors were encountered:
This is merely an idea, not a complaint.
I notice that you write text to the framebuffer by having bitmap descriptions of the letters and then drawing them pixel by pixel with the DrawPixel function.
Surely it would be faster to represent the font in the Hicolor format, and locate text by character index? You could straight buffer copy then, since you have DMA to your framebuffer.
Each approach has advantages and disadvantages, but I'm surprised that this didn't even get a mention, say as an "exercise for the reader"
The text was updated successfully, but these errors were encountered: