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)

task

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.

Blocks: 1945683
Blocks: 1959009

In chromium, UpdateRenderPassFromOverlayData() fallback to swap chain if kNumberOfFramesBeforeDisablingDCLayers(60) frames are generated since overlay becomes empty.

Switch between IDXGISwapChain and IDCompositionSurface takes time.

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
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
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: