Bug 1313199 - Sync a device reset from GPU process to main process. r=dvander
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user