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

rewrite TextBuffer rendering logic, optimize, adopt VBOs #3138

Open
wants to merge 5 commits into
base: master-MC1.12
Choose a base branch
from

Conversation

asiekierka
Copy link
Contributor

What does this PR change?

  • Move from using display lists to VBOs for rendering TextBuffers, single-handedly improving performance by 2x!
  • Minor optimizations across the codebase, in many areas.

What are the downsides?

  • By default, the full font is currently loaded into a massive 16MB texture. This can probably be cut in half pretty easily - anything else would require massively complicating the VBO code.
  • The VBO code can probably be optimized a little further still.

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

Successfully merging this pull request may close these issues.

1 participant