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

Accelerate 2D by tracking state client-side #35696

Closed
wants to merge 1 commit into from

Commits on Jan 31, 2020

  1. Accelerate 2D by tracking state client-side

    GLES2 only first.
    
    Godot 2D performance is usually bottlenecked by the methods used with OpenGL, there are currently drawcalls per quad.
    
    In this PR basic state tracking is added to rasterizer_canvas_gles2::_canvas_item_render_commands().
    
    This gives a 'free' performance increase of around 40% frames per second in a test scene, while requiring minimal changes to the overall mechanism.
    lawnjelly committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    142909d View commit details
    Browse the repository at this point in the history