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

OpenGL: Combine some render commands #17446

Merged
merged 5 commits into from
May 10, 2023
Merged

Conversation

hrydgard
Copy link
Owner

When we always use two render commands together, and their data isn't too big, might as well merge them into one.

The merge of bind/draw might allow us to do some optimizations of glVertexAttribPointer calls in the future.

This is very safe so throwing it in 1.15.4.

@hrydgard hrydgard added this to the v1.15.4 milestone May 10, 2023
@hrydgard hrydgard merged commit b0d14d3 into master May 10, 2023
@hrydgard hrydgard deleted the combine-glr-render-commands branch May 10, 2023 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant