gecko-dev/gfx/vr
Gabriele Svelto 2bc88d71e0 Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj
Crash annotations in content processes are currently sent over IPC via
shared memory buffers. To pave the way for the Rust rewrite of the exception
handler we are removing this code and gathering all the crash annotations
within the content processes themselves. This patch causes annotations to be
stored in the global table of each content process. They are then streamed
out to the parent process by the exception handler together with the
exception-time annotations.

This has a number of benefits:

* we have one less channel to exchange data between content processes and
  the parent process
* we save memory because we don't need to allocate the shared memory buffers
* annotations are faster because we don't stream them all out every time one
  changes
* we won't truncate annotations anymore if we run out of space in the shared
  segment.
* we don't need delayed annotations anymore, so we can get rid of the
  associated machinery

As I refactored the code I tried to adjust all the obsolete comments,
consolidate shared code and remove the redundant steps that were sometimes
present. In many places we had two entire crash annotation tables we merged to
change just a couple; that comes from the fact that historically we loaded
them from disk. Now it doesn't matter anymore and we can just go ahead and
change the ones we care about.

Differential Revision: https://phabricator.services.mozilla.com/D62586

--HG--
extra : moz-landing-system : lando
2020-04-08 06:55:40 +00:00
..
external_api Bug 1611310 - Implement XRInputSource module. r=kip 2020-04-07 23:49:47 +00:00
ipc Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
service Bug 1617023 - Part 3: Implement XR controller selection and squeeze actions. r=kip 2020-04-08 03:23:54 +00:00
vrhost Bug 1603539 - Part 2: Sending telemetry via VR shared memory. r=kip,thomasmo,chutten 2019-12-23 20:48:17 +00:00
FxROutputHandler.cpp Bug 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce 2019-09-26 12:50:44 +00:00
FxROutputHandler.h Bug 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce 2019-09-26 12:50:44 +00:00
FxRWindowManager.cpp Bug 1587942 - Forwarding keyboard show/hide events to VR host API. r=thomasmo,PhilipLamb,masayuki,imanol 2019-10-18 01:24:56 +00:00
FxRWindowManager.h Bug 1587942 - Forwarding keyboard show/hide events to VR host API. r=thomasmo,PhilipLamb,masayuki,imanol 2019-10-18 01:24:56 +00:00
VRDisplayClient.cpp Bug 1617023 - Part 2: OpenVR/Oculus controller XR mode. r=kip 2020-04-08 03:23:47 +00:00
VRDisplayClient.h Bug 1617023 - Part 2: OpenVR/Oculus controller XR mode. r=kip 2020-04-08 03:23:47 +00:00
VRDisplayPresentation.cpp Bug 1614499 - Implement XRWebGLLayer r=jgilbert,daoshengmu 2020-04-07 18:48:13 +00:00
VRDisplayPresentation.h Bug 1614499 - Implement XRWebGLLayer r=jgilbert,daoshengmu 2020-04-07 18:48:13 +00:00
VRManager.cpp Bug 1614496 - Implement WebXR Core Module DOM Interfaces r=jgilbert,daoshengmu,webidl,smaug,baku,imanol 2020-04-06 19:33:32 +00:00
VRManager.h Bug 1611886 - Add VRManagerParent::Shutdown() r=nical 2020-02-20 06:46:11 +00:00
VRPuppetCommandBuffer.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
VRPuppetCommandBuffer.h
VRServiceHost.cpp Bug 1562825 - Checking if puppet is active before initializing VR puppet command buffers. r=kip 2019-11-08 23:46:22 +00:00
VRServiceHost.h Bug 1627482 - Fix non-unified build errors in gfx/vr. r=tnikkel 2020-04-05 03:50:02 +00:00
VRShMem.cpp Bug 1603539 - Part 2: Sending telemetry via VR shared memory. r=kip,thomasmo,chutten 2019-12-23 20:48:17 +00:00
VRShMem.h Bug 1603539 - Part 2: Sending telemetry via VR shared memory. r=kip,thomasmo,chutten 2019-12-23 20:48:17 +00:00
VRThread.cpp
VRThread.h
components.conf
gfxVR.cpp
gfxVR.h Bug 1617023 - Part 2: OpenVR/Oculus controller XR mode. r=kip 2020-04-08 03:23:47 +00:00
gfxVRMutex.h
moz.build Bug 1477756 - Fix non-webgl CI tests. r=handyman 2020-01-08 22:19:26 +00:00
nsFxrCommandLineHandler.cpp Bug 1602972 - Keep FxR PC window on top r=Gijs 2019-12-11 09:04:18 +00:00
nsFxrCommandLineHandler.h