Bug 1313199 - Sync a device reset from GPU process to main process. r=dvander

This commit is contained in:
Ryan Hunt
2016-11-06 13:01:52 -06:00
parent b0f2285ebd
commit 7b7769e60a
14 changed files with 97 additions and 0 deletions

View File

@@ -257,6 +257,14 @@ GPUProcessManager::OnProcessLaunchComplete(GPUProcessHost* aHost)
mGPUChild->SendAddLayerTreeIdMapping(mappings);
}
void
GPUProcessManager::OnProcessDeviceReset(GPUProcessHost* aHost)
{
for (auto& session : mRemoteSessions) {
session->NotifyDeviceReset();
}
}
void
GPUProcessManager::OnProcessUnexpectedShutdown(GPUProcessHost* aHost)
{