Closed
Bug 1811160
Opened 1 year ago
Closed 1 year ago
Disable out-of-process WebGL and accelerated canvas when GPU process does not exists on android
Categories
(Core :: Graphics: CanvasWebGL, enhancement)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
On Android, GPU process exists by default. When GPU process does not exist, an error should disable GPU process.
On Android, WebGL handling process could easily crash. The crash could trigger disable GPU process. Current out-of-process WebGL implementation creates WebGLParent in parent process. Then a crash in parent process could be triggered by WebGL. Then it seems better to disable out-of-process WebGL when GPU process does not exist.
And it seems also better to disable accelerated canvas, since it uses WebGL for acceleration.
In remote canvas case, it is disabled when GPU process does not exist.
https://searchfox.org/mozilla-central/rev/daf613efc5c358f3a94961d73b90472c00703838/gfx/thebes/gfxPlatform.cpp#2471
Assignee | ||
Updated•1 year ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Updated•1 year ago
|
Blocks: gpu-canvas
Comment 1•1 year ago
|
||
This is a good idea.
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6868e318973a Disable out-of-process WebGL and accelerated canvas when GPU process does not exists on android r=gfx-reviewers,lsalzman
Comment 5•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•