tiehuis / faststack

If you want to stack blocks kind of quick
https://tiehuis.github.io/faststack/
GNU General Public License v3.0
11 stars 1 forks source link

SDL2 Font Optimization #37

Closed tiehuis closed 8 years ago

tiehuis commented 8 years ago

Truetype fonts are currently used since the SDL2_ttf library supports them nicely. The problem we currently have is that fonts are placed into textures on every frame. This is likely fairly inefficient. We could either cache these, or look into utilizing BMP fonts instead. We could probably drastically reduce the program size itself if we embedded BMP fonts as well.

Note: This isn't a bottleneck so this is not a currently active task.