Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFirst pass of refactoring, batch improvements and api updates. #78
Conversation
There's still some work to be done, but this contains the majority of the changes. It's also likely to be a bit slower in some cases, but these should be easy to fix up. * Introduce a webrender_traits crate to reduce build times (only servo and compositor depend on the webrender crate now). * Support StackingContexts within Display Lists. * Proper paint order for iframes. * Much simpler (and more efficient) parallel batch creation. * Split code into multiple source files - naming of various structs and files still needs to be tidied up. * Change AABB tree to store items by draw list. * Batch creation now builds a maximum of 1 VBO/VAO per AABB tree node. * Moved internal display items (composite, clear) out of the public interface to an internal enum. * Split into high level Scene struct and mid-level Frame representation. * Switched draw lists to be managed by a free list, to reduce hash lookups. * Support clipping for text elements. * AABB tree now stores items that cross boundaries in multiple leaf nodes, and never in internal nodes.
glennw
added a commit
that referenced
this pull request
Nov 12, 2015
First pass of refactoring, batch improvements and api updates.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
glennw commentedNov 12, 2015
There's still some work to be done, but this contains the majority of the changes.
It's also likely to be a bit slower in some cases, but these should be easy to fix up.