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

Avoid overflowing indices in batches. #111

Merged
merged 1 commit into from Dec 5, 2015
Merged

Conversation

@pcwalton
Copy link
Collaborator

pcwalton commented Dec 4, 2015

This switches WebRender to use a u32 index internally for batches and to
generate new batches when a u16 overflow would occur. Indices are still
truncated to u16 before sending the batches to OpenGL.

This switches WebRender to use a u32 index internally for batches and to
generate new batches when a u16 overflow would occur. Indices are still
truncated to u16 before sending the batches to OpenGL.
glennw added a commit that referenced this pull request Dec 5, 2015
Avoid overflowing indices in batches.
@glennw glennw merged commit 482a217 into servo:master Dec 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.