Skip to content
Snippets Groups Projects
Commit 28ac1016 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Split the happy path font rendering into separate function

And merge the single/double height ones into the same function.
Normalize all the types while I'm here.

With this, the happy path draw_char_row_fast() is very simple and
easy to keep updated, and all of the complexity goes into
draw_char_row_slow().

There seems to be around a 20% performance difference between them,
but it can be hard to tell for sure because of the time spent
cheating.

Note that it doesn't appear to be worth cheating if we're going fast,
but that's getting a bit too deep for my tastes.
parent 4ab569ff
No related branches found
No related tags found
No related merge requests found
Pipeline #7984 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment