зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1556433 - disable shared buffer provider when using direct texture mapping. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D34242 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7c09d4b7af
Коммит
06b9f322b2
|
@ -100,7 +100,10 @@ PersistentBufferProviderShared::Create(gfx::IntSize aSize,
|
||||||
gfx::SurfaceFormat aFormat,
|
gfx::SurfaceFormat aFormat,
|
||||||
KnowsCompositor* aKnowsCompositor) {
|
KnowsCompositor* aKnowsCompositor) {
|
||||||
if (!aKnowsCompositor ||
|
if (!aKnowsCompositor ||
|
||||||
!aKnowsCompositor->GetTextureForwarder()->IPCOpen()) {
|
!aKnowsCompositor->GetTextureForwarder()->IPCOpen() ||
|
||||||
|
// Bug 1556433 - shared buffer provider and direct texture mapping do not
|
||||||
|
// synchronize properly
|
||||||
|
aKnowsCompositor->SupportsTextureDirectMapping()) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче