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

Use instancing to make VBO data per-rectangle, not per-vertex. #145

Merged
merged 1 commit into from Jan 21, 2016

Commits on Jan 21, 2016

  1. Use instancing to make VBO data per-rectangle, not per-vertex.

    Doing this slightly reduces the size of our VBOs and opens the door to
    performing clipping in the vertex shader. With more clever
    optimizations, we should be able to shrink the VBO size down even
    further.
    
    This patch includes a fallback for OpenGL ES 2.1. Unfortunately, this
    fallback increases the size of the VBOs significantly. This could be
    mitigated in the future, though not without effort.
    pcwalton committed Jan 21, 2016
You can’t perform that action at this time.