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

Various improvements to batching system. #19

Merged
merged 1 commit into from Oct 13, 2015
Merged

Various improvements to batching system. #19

merged 1 commit into from Oct 13, 2015

Conversation

@glennw
Copy link
Member

glennw commented Oct 13, 2015

  • Batches are now built in parallel during compile_node.
  • Batches are cached in GPU VBOs.
  • Vertex shader now handles:
    • Transforms
    • Stacking context offsets
    • Scroll offsets
    • Pixel snapping

There is still a lot of general code cleanup and simple optimizations to make, but this fixes up the major CPU bottlenecks I'm aware of.

Batch creation is now significantly faster (and runs in parallel), and scrolling is a lot faster than previously.

* Batches are now built in parallel during compile_node.
* Batches are cached in GPU VBOs.
* Vertex shader now handles:
 * Transforms
 * Stacking context offsets
 * Scroll offsets
 * Pixel snapping

There is still a lot of general code cleanup and simple optimizations to make, but this fixes up the major CPU bottlenecks I'm aware of.

Batch creation is now significantly faster (and runs in parallel), and scrolling is a lot faster than previously.
glennw added a commit that referenced this pull request Oct 13, 2015
Various improvements to batching system.
@glennw glennw merged commit 8836e57 into master Oct 13, 2015
@glennw glennw deleted the batcher-tidy branch Feb 23, 2016
nox pushed a commit to nox/webrender that referenced this pull request Aug 6, 2016
…rsbergstrom

Ignore failure on nightly, but not on Servo's nightly
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.