forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1689203 - Allow fallback from WebRender to Software WebRender. r=…
…jrmuizel We can disable WebRender because the GPU process crashed, or we encountered a graceful runtime error in WebRender. This patch adds two new prefs to control how that fallback works. gfx.webrender.fallback.software-d3d11 controls if WebRender falls back to Software WebRender + D3D11 compositing. If true, and the user is allowed to get Software WebRender, we will fallback to Software WebRender with the D3D11 compositor first. gfx.webrender.fallback.software controls if WebRender falls back to Software WebRender. If true, and the user is allowed to get Software WebRender, we will fallback to Software WebRender without the D3D11 compositor. gfx.webrender.fallback.basic controls if WebRender or Software WebRender falls back to Basic. If true, it falls back to Basic. Otherwise it continues to use Software WebRender without the D3D11 compositor. Note that this means OpenGL on Android. This patch also means that gfx.webrender.all=true and MOZ_WEBRENDER=1 no longer disables Software WebRender. It will still prefer (Hardware) WebRender but we want to allow fallback to Software WebRender for configurations that forced WebRender on. Differential Revision: https://phabricator.services.mozilla.com/D103491
- Loading branch information
Showing
7 changed files
with
157 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters