зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1332528 - Use LayersBackend::LAYERS_WR more r=nical
This commit is contained in:
Родитель
4aa491b578
Коммит
5d6e33015a
|
@ -63,6 +63,7 @@ ContentClient::CreateContentClient(CompositableForwarder* aForwarder)
|
|||
if (backend != LayersBackend::LAYERS_OPENGL &&
|
||||
backend != LayersBackend::LAYERS_D3D9 &&
|
||||
backend != LayersBackend::LAYERS_D3D11 &&
|
||||
backend != LayersBackend::LAYERS_WR &&
|
||||
backend != LayersBackend::LAYERS_BASIC) {
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
@ -815,7 +815,7 @@ WebRenderBridgeParent::GetTextureFactoryIdentifier()
|
|||
|
||||
MOZ_ASSERT(mApi);
|
||||
|
||||
return TextureFactoryIdentifier(LayersBackend::LAYERS_OPENGL,
|
||||
return TextureFactoryIdentifier(LayersBackend::LAYERS_WR,
|
||||
XRE_GetProcessType(),
|
||||
mApi->GetMaxTextureSize());
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
virtual TextureFactoryIdentifier GetTextureFactoryIdentifier() override
|
||||
{
|
||||
TextureFactoryIdentifier result =
|
||||
TextureFactoryIdentifier(LayersBackend::LAYERS_OPENGL,
|
||||
TextureFactoryIdentifier(LayersBackend::LAYERS_WR,
|
||||
XRE_GetProcessType(),
|
||||
GetMaxTextureSize(),
|
||||
true,
|
||||
|
@ -107,7 +107,7 @@ public:
|
|||
#endif // MOZ_DUMP_PAINTING
|
||||
|
||||
virtual LayersBackend GetBackendType() const override {
|
||||
return LayersBackend::LAYERS_OPENGL;
|
||||
return LayersBackend::LAYERS_WR;
|
||||
}
|
||||
|
||||
virtual bool IsValid() const override { return true; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче