Closed
Bug 1343345
Opened 8 years ago
Closed 7 years ago
Add runtime checking and disabling of WebRender if the environment doesn't support it
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
RESOLVED
WORKSFORME
mozilla57
Tracking | Status | |
---|---|---|
firefox56 | --- | unaffected |
firefox57 | --- | unaffected |
People
(Reporter: kats, Assigned: sotaro)
References
(Blocks 1 open bug)
Details
(Keywords: stale-bug, Whiteboard: [gfx-noted])
Right now if we run a webrender build on an environment that doesn't support it, we just crash on startup. We should do something more graceful, like fall back to the non-webrender codepath. Generally the crash happens because we fail to create a GL Context, such as in the dep bugs.
Note that we now have an InitWebRenderConfig function at [1] and it would be swell if we checked the runtime environment either before or inside that function, and set the appropriate disable flag on the gfxFeature.
[1] http://searchfox.org/mozilla-central/rev/4039fb4c5833706f6880763de216974e00ba096c/gfx/thebes/gfxPlatform.cpp#2302
Reporter | ||
Updated•8 years ago
|
Blocks: wr-stability
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → sotaro.ikeda.g
Updated•7 years ago
|
Blocks: stage-wr-nightly
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [gfx-noted] → [wr-mvp] [gfx-noted]
Target Milestone: --- → mozilla57
Updated•7 years ago
|
status-firefox56:
--- → unaffected
status-firefox57:
--- → unaffected
Keywords: stale-bug
Assignee | ||
Comment 2•7 years ago
|
||
We already support graceful fallback by bug 1354411 and Bug 1387920.
If we want another way to detect support, it seems better to create another bug for it.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Priority: P1 → --
Whiteboard: [wr-mvp] [gfx-noted] → [gfx-noted]
You need to log in
before you can comment on or make changes to this bug.
Description
•