Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framebuffer text approach #25

Open
tiger12506 opened this issue Feb 24, 2017 · 0 comments
Open

Framebuffer text approach #25

tiger12506 opened this issue Feb 24, 2017 · 0 comments

Comments

@tiger12506
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant