diff options
Diffstat (limited to 'gfx/layers/client/TextureClient.cpp')
-rw-r--r-- | gfx/layers/client/TextureClient.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gfx/layers/client/TextureClient.cpp b/gfx/layers/client/TextureClient.cpp index 462cd40d43..e8139e9a92 100644 --- a/gfx/layers/client/TextureClient.cpp +++ b/gfx/layers/client/TextureClient.cpp @@ -33,9 +33,7 @@ #include "mozilla/layers/ShadowLayers.h" #ifdef XP_WIN -#include "DeviceManagerD3D9.h" #include "mozilla/gfx/DeviceManagerDx.h" -#include "mozilla/layers/TextureD3D9.h" #include "mozilla/layers/TextureD3D11.h" #include "mozilla/layers/TextureDIB.h" #include "gfxWindowsPlatform.h" @@ -1033,15 +1031,6 @@ TextureClient::CreateForDrawing(TextureForwarder* aAllocator, { data = DXGITextureData::Create(aSize, aFormat, aAllocFlags); } - if (aLayersBackend == LayersBackend::LAYERS_D3D9 && - moz2DBackend == gfx::BackendType::CAIRO && - aAllocator->IsSameProcess() && - aSize.width <= aMaxTextureSize && - aSize.height <= aMaxTextureSize && - NS_IsMainThread() && - DeviceManagerD3D9::GetDevice()) { - data = D3D9TextureData::Create(aSize, aFormat, aAllocFlags); - } if (!data && aFormat == SurfaceFormat::B8G8R8X8 && moz2DBackend == gfx::BackendType::CAIRO && |