Open Bug 1999136 Opened 10 months ago Updated 3 months ago

Headless should still allow GPU process

Categories

(Core :: Graphics, task)

task

Tracking

()

ASSIGNED

People

(Reporter: aosmond, Assigned: aosmond)

Details

Attachments

(1 file)

We block the GPU process while headless:
https://searchfox.org/firefox-main/rev/45e3c8634099e0f57fa0e7660dba85580a5dd8e7/gfx/thebes/gfxPlatform.cpp#2505

We already block acceleration which we should continue blocking:
https://searchfox.org/firefox-main/rev/45e3c8634099e0f57fa0e7660dba85580a5dd8e7/gfx/thebes/gfxPlatform.cpp#2547

Let's stop blocking the GPU process for headless assuming the tests are green. We should be fuzzing with the GPU process, etc that currently turn on headless:
https://searchfox.org/firefox-main/rev/45e3c8634099e0f57fa0e7660dba85580a5dd8e7/toolkit/xre/nsAppRunner.cpp#4071

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:aosmond, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(lsalzman)
Flags: needinfo?(aosmond)
Flags: needinfo?(lsalzman)
Flags: needinfo?(aosmond)

This won't work if we try to land it, there is more work to be done around creating a working CompositorWidgetParent object.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: