Closed Bug 1541455 Opened 5 years ago Closed 4 years ago

Investigate to use DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL with compositor window on windows 7

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: sotaro, Unassigned)

References

Details

On current gecko, we use DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL only with direct composition. It cause because of bug Bug 1435995. When DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL is used for a HWND. The HWND could not be used for another swap chain usage like BasicCompositor and CompositorD3D11.

It might be possible to bypass this problem just by using compositor window, since the compositor window is recreated for each CompositorSession. If we set DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL for HWND of compositor window. The HWND is not reused for BasicCompositor and CompositorD3D11 when we do fallback from WebRender.

Type: defect → enhancement
Priority: -- → P3

Ah, the following says that DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL is supported starting with Windows 8 :(
https://docs.microsoft.com/en-us/windows/desktop/api/dxgi/ne-dxgi-dxgi_swap_effect

It seems that we do not need this, since we could use partial present.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.