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

Texture-based text renderer #38

Open
AMDmi3 opened this issue Jan 27, 2015 · 0 comments
Open

Texture-based text renderer #38

AMDmi3 opened this issue Jan 27, 2015 · 0 comments
Assignees

Comments

@AMDmi3
Copy link
Member

AMDmi3 commented Jan 27, 2015

Using SDL_ttf to render dynamic text in the game is ineffective, as each string is first rendered by freetype onto Surface (slow!), then surface data is converted into Texture and uploaded to GPU (also slow!). A facility is needed to cache glyphs on a texture and render them without calling SDL_ttf code. Texture atlas support is needed for this (#37)

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

No branches or pull requests

1 participant