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 "nsDebugImpl.h"
|
||||
#include "mozilla/layers/LayerTreeOwnerTracker.h"
|
||||
#include "ProcessUtils.h"
|
||||
#include "VRManager.h"
|
||||
#include "VRManagerParent.h"
|
||||
#include "VsyncBridgeParent.h"
|
||||
@ -64,6 +65,7 @@ GPUParent::Init(base::ProcessId aParentPid,
|
||||
CompositorThreadHolder::Start();
|
||||
VRManager::ManagerInit();
|
||||
LayerTreeOwnerTracker::Initialize();
|
||||
mozilla::ipc::SetThisProcessName("GPU Process");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -64,6 +64,8 @@ IPDL_SOURCES = [
|
||||
'PVsyncBridge.ipdl',
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += ['/dom/ipc']
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
Loading…
Reference in New Issue
Block a user