Closed Bug 1742821 Opened 3 years ago Closed 3 years ago

Ensure GPU process can be disabled via blocklist on Android

Categories

(GeckoView :: Sandboxing, task, P3)

Unspecified
All

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: jnicol, Assigned: jnicol)

References

Details

Attachments

(1 file)

On windows we can disable the GPU process using the blocklist. This is done here. We should move this to platform-neutral code so that we can do the same on Android, in case we encounter issues on some devices.

Andrew suggests here.

Note that the downloadable blocklist doesn't currently work on Android (bug 1715788), but this still has the advantage of allowing blocking from widget code. Also I plan to fix the downloadable blocklist soon™️

Priority: -- → P3

Previously we checked the blocklist status for the GPU process in
gfxWindowsPlatform::InitGPUProcessSupport, which is only executed on
Windows. This patch moves the check to
gfxPlatform::InitGPUProcessPrefs which runs on all platforms. As a
consequence we now only check the status at initialization time rather
than on device reset as well, but that is okay.

Assignee: nobody → jnicol
Status: NEW → ASSIGNED
Pushed by jnicol@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/73b2b5a8685a Allow GPU process to be blocklisted on all platforms. r=aosmond
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
Regressions: 1762572

Moving GPU process bugs to the new GeckoView::Sandboxing component.

Component: General → Sandboxing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: