Skip to content

Conversation

@crosby-moe
Copy link

Every RenderPass object created caused a non-memoized call to GL11#glViewport, usually with the same arguments

Summing up all instances of GlStateManager#glViewport in a spark profile from a simple world with an uncapped framerate:
Before: 214.6ms in 60s, or .35% of render thread [spark profile]
After: 3.2ms in 60s [spark profile]

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