Bug 1673342 - Add Support of software WebRender with CompositorOGL on Android and Linux r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D106234
This commit is contained in:
sotaro
2021-03-01 13:45:38 +00:00
parent 73efd7055e
commit e6e6c2e2d2
13 changed files with 462 additions and 15 deletions

View File

@@ -168,6 +168,8 @@ CompositorBridgeChild* WebRenderLayerManager::GetCompositorBridgeChild() {
void WebRenderLayerManager::GetBackendName(nsAString& name) {
if (WrBridge()->UsingSoftwareWebRenderD3D11()) {
name.AssignLiteral("WebRender (Software D3D11)");
} else if (WrBridge()->UsingSoftwareWebRenderOpenGL()) {
name.AssignLiteral("WebRender (Software OpenGL)");
} else if (WrBridge()->UsingSoftwareWebRender()) {
name.AssignLiteral("WebRender (Software)");
} else {