Ensure GPU process can be disabled via blocklist on Android
Categories
(GeckoView :: Sandboxing, task, P3)
Tracking
(firefox98 fixed)
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: jnicol, Assigned: jnicol)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
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™️
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
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.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
bugherder |
Comment 4•2 years ago
|
||
Moving GPU process bugs to the new GeckoView::Sandboxing component.
Description
•