Closed Bug 1683038 Opened 3 years ago Closed 3 years ago

Suppress IDXGISwapChain::GetBuffer error

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

Details

Attachments

(1 file)

When I attached Visual studio debugger to WebRender (Software D3D11), I saw the following error in debug window at mSwapChain->GetBuffer(1, ...).

It should work only when SwapChain has multiple buffers(swapDesc.BufferCount = 2).

Current code just ignores the error when the function fails. It seems better to skip it if CompositorD3D11 works as single buffer mode SwapChain. The error message is confusing.

Assignee: nobody → sotaro.ikeda.g
Severity: -- → S3
Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ecf2ab52eb03
Suppress IDXGISwapChain::GetBuffer error r=nical
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: