зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1172014: Correctly use TextureClientShmemDIB. r=jrmuizel
This commit is contained in:
Родитель
a3eb6bc2ab
Коммит
a714824260
|
@ -360,7 +360,6 @@ TextureClient::CreateForDrawing(ISurfaceAllocator* aAllocator,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!texture && aFormat == SurfaceFormat::B8G8R8X8 &&
|
if (!texture && aFormat == SurfaceFormat::B8G8R8X8 &&
|
||||||
aAllocator->IsSameProcess() &&
|
|
||||||
aMoz2DBackend == gfx::BackendType::CAIRO) {
|
aMoz2DBackend == gfx::BackendType::CAIRO) {
|
||||||
if (aAllocator->IsSameProcess()) {
|
if (aAllocator->IsSameProcess()) {
|
||||||
texture = new TextureClientMemoryDIB(aAllocator, aFormat, aTextureFlags);
|
texture = new TextureClientMemoryDIB(aAllocator, aFormat, aTextureFlags);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче