mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
4a410a48ae
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 |
||
---|---|---|
.. | ||
CompositorOptions.h | ||
CompositorSession.cpp | ||
CompositorSession.h | ||
CompositorWidgetVsyncObserver.cpp | ||
CompositorWidgetVsyncObserver.h | ||
CrossProcessPaint.cpp | ||
CrossProcessPaint.h | ||
D3DMessageUtils.cpp | ||
D3DMessageUtils.h | ||
GfxMessageUtils.h | ||
GPUChild.cpp | ||
GPUChild.h | ||
GPUParent.cpp | ||
GPUParent.h | ||
GPUProcessHost.cpp | ||
GPUProcessHost.h | ||
GPUProcessImpl.cpp | ||
GPUProcessImpl.h | ||
GPUProcessListener.h | ||
GPUProcessManager.cpp | ||
GPUProcessManager.h | ||
GraphicsMessages.ipdlh | ||
InProcessCompositorSession.cpp | ||
InProcessCompositorSession.h | ||
moz.build | ||
PGPU.ipdl | ||
PVsyncBridge.ipdl | ||
RemoteCompositorSession.cpp | ||
RemoteCompositorSession.h | ||
SharedDIB.cpp | ||
SharedDIB.h | ||
SharedDIBSurface.cpp | ||
SharedDIBSurface.h | ||
SharedDIBWin.cpp | ||
SharedDIBWin.h | ||
VsyncBridgeChild.cpp | ||
VsyncBridgeChild.h | ||
VsyncBridgeParent.cpp | ||
VsyncBridgeParent.h | ||
VsyncIOThreadHolder.cpp | ||
VsyncIOThreadHolder.h |