From 7504ca8ab4b0a145488f03c51a0f78ffd5682174 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Nov 2018 16:41:20 +0100 Subject: Remove VR hardware support. This resolves #881 --- gfx/ipc/GPUParent.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'gfx/ipc/GPUParent.cpp') diff --git a/gfx/ipc/GPUParent.cpp b/gfx/ipc/GPUParent.cpp index b693f4728..9ff6cba9e 100644 --- a/gfx/ipc/GPUParent.cpp +++ b/gfx/ipc/GPUParent.cpp @@ -28,8 +28,6 @@ #include "nsThreadManager.h" #include "prenv.h" #include "ProcessUtils.h" -#include "VRManager.h" -#include "VRManagerParent.h" #include "VsyncBridgeParent.h" #if defined(XP_WIN) # include "DeviceManagerD3D9.h" @@ -100,7 +98,6 @@ GPUParent::Init(base::ProcessId aParentPid, CompositorThreadHolder::Start(); APZThreadUtils::SetControllerThread(CompositorThreadHolder::Loop()); APZCTreeManager::InitializeGlobalState(); - VRManager::ManagerInit(); LayerTreeOwnerTracker::Initialize(); mozilla::ipc::SetThisProcessName("GPU Process"); #ifdef XP_WIN @@ -202,13 +199,6 @@ GPUParent::RecvInitImageBridge(Endpoint&& aEndpoint) return true; } -bool -GPUParent::RecvInitVRManager(Endpoint&& aEndpoint) -{ - VRManagerParent::CreateForGPUProcess(Move(aEndpoint)); - return true; -} - bool GPUParent::RecvUpdatePref(const GfxPrefSetting& setting) { @@ -301,12 +291,6 @@ GPUParent::RecvNewContentImageBridge(Endpoint&& aEndpoint) return ImageBridgeParent::CreateForContent(Move(aEndpoint)); } -bool -GPUParent::RecvNewContentVRManager(Endpoint&& aEndpoint) -{ - return VRManagerParent::CreateForContent(Move(aEndpoint)); -} - bool GPUParent::RecvNewContentVideoDecoderManager(Endpoint&& aEndpoint) { -- cgit v1.2.3