Remove references to the Direct3D9 compositor. (bug 1318558 part 1, r=mattwoodrow)
This commit is contained in:
@@ -34,9 +34,7 @@
|
||||
#include "mozilla/ipc/CrossProcessSemaphore.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"
|
||||
@@ -1051,15 +1049,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 (aLayersBackend != LayersBackend::LAYERS_WR &&
|
||||
!data && aFormat == SurfaceFormat::B8G8R8X8 &&
|
||||
|
||||
Reference in New Issue
Block a user