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

Split the ClipScrollTree #2871

Merged
merged 1 commit into from Jul 10, 2018
Merged

Commits on Jul 9, 2018

  1. Split the ClipScrollTree

    Split the ClipScrollTree into a collection of spatial nodes and a
    collection of clipping nodes. This makes it so that no unnecessary work
    is done or storage is used for clipping nodes. It also allows us to
    simplify certain bits of code that had to deal with both types of nodes.
    
    During display list "flattening," positioning ClipIds are converted to
    SpatialNodeIndices by consulting the ClipNode for their positioning
    node. ClipIds were already converted directly into ClipChainIndices.
    
    Eventually this change should make it to the API, meaning that we expose
    the difference between the different node types. This will make it
    harder to misuse the API and allow us to do away with looking up the
    positioning node of clips during flattening.
    mrobinson committed Jul 9, 2018
You can’t perform that action at this time.