gecko-dev/gfx/tests/gtest
Andrew Osmond 4a410a48ae 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
2021-02-01 23:36:36 +00:00
..
gfxSurfaceRefCountTest.cpp
MockWidget.cpp
MockWidget.h Bug 1632249 - Replace GLContextProvider::CreateOffscreen with GLContext::CreateOffscreenDefaultFb. r=lsalzman 2020-06-15 18:26:12 +00:00
moz.build Bug 1672309 - Port remaning gtests to Rust. r=aosmond 2020-10-31 21:55:20 +00:00
PolygonTestUtils.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
PolygonTestUtils.h
TestArena.cpp
TestArrayView.cpp
TestBSPTree.cpp
TestBufferRotation.cpp
TestColorNames.cpp
TestCompositor.cpp
TestConfigManager.cpp Bug 1689203 - Allow fallback from WebRender to Software WebRender. r=jrmuizel 2021-02-01 23:36:36 +00:00
TestGfxWidgets.cpp
TestLayers.cpp
TestLayers.h
TestMatrix.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
TestMoz2D.cpp
TestPolygon.cpp
TestQcms.cpp Bug 1683779 - Use only rust constructs to detect SSE2/AVX/NEON support. r=jrmuizel 2020-12-22 01:37:03 +00:00
TestRect.cpp
TestRegion.cpp
TestSkipChars.cpp
TestSwizzle.cpp
TestTextureCompatibility.cpp
TestTextures.cpp Bug 1595994 - P1D. Properly serialize display size when sending image over IPC. r=mattwoodrow 2020-10-20 23:30:04 +00:00
TestTreeTraversal.cpp
TestVsync.cpp
TextureHelper.h Bug 1595994 - P1D. Properly serialize display size when sending image over IPC. r=mattwoodrow 2020-10-20 23:30:04 +00:00