mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1297797 - Set the process name for the GPU process r=dvander
This commit is contained in:
parent
16d1de5631
commit
7f34cdcfa6
@ -16,6 +16,7 @@
|
|||||||
#include "mozilla/layers/ImageBridgeParent.h"
|
#include "mozilla/layers/ImageBridgeParent.h"
|
||||||
#include "nsDebugImpl.h"
|
#include "nsDebugImpl.h"
|
||||||
#include "mozilla/layers/LayerTreeOwnerTracker.h"
|
#include "mozilla/layers/LayerTreeOwnerTracker.h"
|
||||||
|
#include "ProcessUtils.h"
|
||||||
#include "VRManager.h"
|
#include "VRManager.h"
|
||||||
#include "VRManagerParent.h"
|
#include "VRManagerParent.h"
|
||||||
#include "VsyncBridgeParent.h"
|
#include "VsyncBridgeParent.h"
|
||||||
@ -64,6 +65,7 @@ GPUParent::Init(base::ProcessId aParentPid,
|
|||||||
CompositorThreadHolder::Start();
|
CompositorThreadHolder::Start();
|
||||||
VRManager::ManagerInit();
|
VRManager::ManagerInit();
|
||||||
LayerTreeOwnerTracker::Initialize();
|
LayerTreeOwnerTracker::Initialize();
|
||||||
|
mozilla::ipc::SetThisProcessName("GPU Process");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,6 +64,8 @@ IPDL_SOURCES = [
|
|||||||
'PVsyncBridge.ipdl',
|
'PVsyncBridge.ipdl',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
LOCAL_INCLUDES += ['/dom/ipc']
|
||||||
|
|
||||||
include('/ipc/chromium/chromium-config.mozbuild')
|
include('/ipc/chromium/chromium-config.mozbuild')
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
Loading…
Reference in New Issue
Block a user