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

GLES2 2d Batch rendering #35957

Closed
wants to merge 1 commit into from
Closed

Commits on Feb 11, 2020

  1. GLES2 2d Batch rendering

    2d rendering is currently bottlenecked by drawing rects one at a time, limiting OpenGL efficiency. This PR batches rects and renders in fewer drawcalls, resulting in significant performance improvements. This also speeds up text rendering.
    
    The code dynamically chooses between a vertex format with and without color, depending on the input data for a frame, in order to optimize throughput and maximize batch size.
    lawnjelly committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    d04cd4a View commit details
    Browse the repository at this point in the history