summaryrefslogtreecommitdiff
path: root/gfx/ipc/GPUParent.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-11-17 23:02:46 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-04 22:15:34 +0200
commitef5083db5f52156bebeffbe73317efcf35350228 (patch)
treed2a456633aa98a074593ae589cd65c6efad79054 /gfx/ipc/GPUParent.cpp
parentcff9ef7fb81b46264caea00ac3c7a99677d8b856 (diff)
downloaduxp-ef5083db5f52156bebeffbe73317efcf35350228.tar.gz
Issue #1841 - Part 2: Remove D3D9 layer compositor references and
layer fallback code.
Diffstat (limited to 'gfx/ipc/GPUParent.cpp')
-rw-r--r--gfx/ipc/GPUParent.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/gfx/ipc/GPUParent.cpp b/gfx/ipc/GPUParent.cpp
index 7d8a3a4349..c634dd56fb 100644
--- a/gfx/ipc/GPUParent.cpp
+++ b/gfx/ipc/GPUParent.cpp
@@ -28,7 +28,6 @@
#include "ProcessUtils.h"
#include "VsyncBridgeParent.h"
#if defined(XP_WIN)
-# include "DeviceManagerD3D9.h"
# include "mozilla/gfx/DeviceManagerDx.h"
#endif
#ifdef MOZ_WIDGET_GTK
@@ -86,7 +85,6 @@ GPUParent::Init(base::ProcessId aParentPid,
gfxPlatform::InitMoz2DLogging();
#if defined(XP_WIN)
DeviceManagerDx::Init();
- DeviceManagerD3D9::Init();
#endif
if (NS_FAILED(NS_InitMinimalXPCOM())) {
@@ -145,7 +143,6 @@ GPUParent::RecvInit(nsTArray<GfxPrefSetting>&& prefs,
// Inherit device preferences.
gfxConfig::Inherit(Feature::HW_COMPOSITING, devicePrefs.hwCompositing());
gfxConfig::Inherit(Feature::D3D11_COMPOSITING, devicePrefs.d3d11Compositing());
- gfxConfig::Inherit(Feature::D3D9_COMPOSITING, devicePrefs.d3d9Compositing());
gfxConfig::Inherit(Feature::OPENGL_COMPOSITING, devicePrefs.oglCompositing());
gfxConfig::Inherit(Feature::DIRECT2D, devicePrefs.useD2D1());
@@ -237,7 +234,6 @@ bool
GPUParent::RecvGetDeviceStatus(GPUDeviceData* aOut)
{
CopyFeatureChange(Feature::D3D11_COMPOSITING, &aOut->d3d11Compositing());
- CopyFeatureChange(Feature::D3D9_COMPOSITING, &aOut->d3d9Compositing());
CopyFeatureChange(Feature::OPENGL_COMPOSITING, &aOut->oglCompositing());
#if defined(XP_WIN)
@@ -350,7 +346,6 @@ GPUParent::ActorDestroy(ActorDestroyReason aWhy)
Factory::ShutDown();
#if defined(XP_WIN)
DeviceManagerDx::Shutdown();
- DeviceManagerD3D9::Shutdown();
#endif
LayerTreeOwnerTracker::Shutdown();
gfxVars::Shutdown();