Closed Bug 1729814 Opened 3 years ago Closed 3 years ago

Split spatial tree in to scene and frame building specific structs

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: gw, Assigned: gw)

Details

Attachments

(1 file)

No description provided.

The way the spatial tree is referenced and used during scene building
and frame building are very different.

During scene building, the spatial tree is mostly a write-only
struct being used to define spatial nodes. There are a small number
of queries related to snapping, scroll root finding etc.

During frame building, the spatial tree is mostly a read-only
struct used to query relative transforms, coordinate systems etc.

This patch splits them into two separate structs for these different
purposes. Upcoming patches will start to retain each of these structs
across display lists, and this makes it easier to incementally
implement this.

Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/afc9abf5d887
Split spatial tree in to scene and frame building specific structs r=gfx-reviewers,kvark
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: