Add partial present support when using a native compositor
Categories
(Core :: Graphics: WebRender, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
SWGL should be able to be significantly faster if we can restrict compositing to the dirty area.
Ideally we'd be able to expose this before compositing (maybe Compositor::begin_compositing) so that we can only map a destination framebuffer for the area that we need.
Assignee | ||
Comment 1•4 years ago
•
|
||
Just to clarify a bit here, there's two separate steps that could have useful perf wins.
-
Make EndFrame return the dirty rects, when native compositing it enabled. This would let us restrict the area that we copy from the SWGL backbuffer to the native Window.
-
Expose the dirty rects earlier in compositing (BeginFrame/BeginCompositing), so that we can clip/scissor SWGL compositing itself and restrict SWGL compositing to the dirty area.
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D96494
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9bc569bc38c1
https://hg.mozilla.org/mozilla-central/rev/565ba6bf11b5
Comment 6•4 years ago
|
||
== Change summary for alert #27696 (as of Tue, 17 Nov 2020 05:59:20 GMT) ==
Improvements:
Ratio | Suite | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|---|
2% | tsvgx | linux64-shippable-qr | e10s stylo webrender-sw | 301.69 -> 295.00 | |
2% | tsvgx | linux64-shippable-qr | e10s stylo webrender-sw | 300.07 -> 294.59 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=27696
Description
•