Closed
Bug 1973147
Opened 2 months ago
Closed 1 month ago
Use DCSwapChain instead of DCLayerCompositionSurface when overlay does not exist
Categories
(Core :: Graphics: WebRender, task)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
142 Branch
Tracking | Status | |
---|---|---|
firefox142 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Use swap chain could improve performance in some STRs. Though we could not use it when overlay exist. See Bug 1949102.
Assignee | ||
Comment 1•2 months ago
•
|
||
In chromium, UpdateRenderPassFromOverlayData() fallback to swap chain if kNumberOfFramesBeforeDisablingDCLayers(60) frames are generated since overlay becomes empty.
Switch between IDXGISwapChain and IDCompositionSurface takes time.
Assignee | ||
Comment 2•2 months ago
|
||
Updated•1 months ago
|
Attachment #9495938 -
Attachment description: WIP: Bug 1973147 - Use DCSwapChain instead of DCLayerCompositionSurface when overlay does not exist → Bug 1973147 - Use DCSwapChain instead of DCLayerCompositionSurface when overlay does not exist
Assignee | ||
Comment 3•1 month ago
|
||
With D254484, talos performance is improved.
https://perf.compare/compare-results?baseRev=a7b622a93c8ff36b3033a8639a151c2e3ec02455&baseRepo=try&newRev=a7b622a93c8ff36b3033a8639a151c2e3ec02455&newRepo=try&newRev=49fa003317ec94fd6b86097624cb4abed7c7bbbc&newRepo=try&framework=1&filter_status=improvement%2Cregression
Pushed by sikeda.birchill@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/db5962265cc1
https://hg.mozilla.org/integration/autoland/rev/37900c81da04
Use DCSwapChain instead of DCLayerCompositionSurface when overlay does not exist r=gfx-reviewers,lsalzman
Status: NEW → RESOLVED
Closed: 1 month ago
status-firefox142:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Updated•16 days ago
|
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in
before you can comment on or make changes to this bug.
Description
•