Open Bug 2038906 Opened 11 days ago Updated 9 days ago

Disable WebGL overlay when RenderDXGITextureHost::GetDCompositionTexture() is slow

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 3 open bugs)

Details

Attachments

(1 file)

It is for preventing Bug 2036365.

Assignee: nobody → sotaro.ikeda.g
Blocks: 2036655, 1958602
Blocks: 2038378
Pushed by sikeda.birchill@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/aeb5cb535896 https://hg.mozilla.org/integration/autoland/rev/cf8b1b0f4d53 Disable WebGL overlay when RenderDXGITextureHost::GetDCompositionTexture() is slow r=gfx-reviewers,gw

Does Chrome have something similar?

Flags: needinfo?(sotaro.ikeda.g)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #3)

Does Chrome have something similar?

chromium allocates IDCompositionTexture in D3DImageBacking. It is triggered by D3DImageBackingFactory::CreateSharedImage().

chromium does not have a code to disable overlay like D299978. chromium seems not have a problem like Bug 2036365. Since D3DImageBacking seems always recycled.

Bug 2036655 is going to recycle DXGITextureHostD3D11 for WebGPU and WebGL.

Flags: needinfo?(sotaro.ikeda.g)
Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch

Is the intent to remove this code after bug 2036655 lands?

Flags: needinfo?(sotaro.ikeda.g)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #6)

Is the intent to remove this code after bug 2036655 lands?

:jrmuizel, do you think is it better to remove it? I thought to keep it.

Flags: needinfo?(sotaro.ikeda.g) → needinfo?(jmuizelaar)

My inclination would be to remove it. Changing behaviour based on timing can add nondeterminism that can make problems harder to debug. e.g. most people will be hitting the main path most of the time but sometimes it will be different.

Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Flags: needinfo?(jmuizelaar)
Resolution: FIXED → ---

OK, I am going to remove it after bug 2036655 lands.

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: