Closed
Bug 1408174
Opened 7 years ago
Closed 7 years ago
The scene is rebuilt everytime we scroll
Categories
(Core :: Graphics: WebRender, enhancement, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox57 | --- | unaffected |
firefox58 | --- | unaffected |
People
(Reporter: jrmuizel, Assigned: gw)
References
Details
(Whiteboard: [wr-reserve])
The following code causes this: // Ideally, when there are property bindings present, // we won't need to rebuild the entire frame here. // However, to avoid conflicts with the ongoing work to // refactor how scroll roots + transforms work, this // just rebuilds the frame if there are animated property // bindings present for now. // TODO(gw): Once the scrolling / reference frame changes // are completed, optimize the internals of // animated properties to not require a full // rebuild of the frame! if let Some(property_bindings) = property_bindings { doc.scene.properties.set_properties(property_bindings); doc.build_scene(&mut self.resource_cache); }
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage]
Updated•7 years ago
|
Blocks: stage-wr-nightly
status-firefox57:
--- → unaffected
status-firefox58:
--- → unaffected
Priority: -- → P1
Updated•7 years ago
|
Priority: P1 → P2
Whiteboard: [wr-mvp] [triage] → [wr-mvp]
Comment 1•7 years ago
|
||
The code quoted in comment 1 is at http://searchfox.org/mozilla-central/rev/d30462037ffea383e74c42542c820cf65b2b144e/gfx/webrender/src/render_backend.rs#391-404 I filed a issue in upstream WR since that's where the fix will probably go.
See Also: → https://github.com/servo/webrender/issues/1921
Updated•7 years ago
|
Priority: P2 → P3
Whiteboard: [wr-mvp] → [wr-reserve]
Comment 2•7 years ago
|
||
The fix for servo/webrender#1921 already landed in m-c, as part of the update in bug 1417062. So this should be fixed already.
Assignee: nobody → gwatson
Status: NEW → RESOLVED
Closed: 7 years ago
Depends on: 1417062
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
Priority: P3 → P1
You need to log in
before you can comment on or make changes to this bug.
Description
•