gecko-dev/gfx/vr
Gabriele Svelto 9336e8143b 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-03-10 14:59:22 +00:00
..
external_api Bug 1519636 - Automatically reformat recent changes using clang-format r=Ehsan 2020-01-21 09:51:27 +00:00
ipc Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-03-10 14:59:22 +00:00
service Bug 1602102 - Remove OpenVR controller obsolete functions. r=kip 2020-02-28 00:40: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 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
VRDisplayClient.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
VRDisplayPresentation.cpp
VRDisplayPresentation.h
VRManager.cpp Bug 1611886 - Add VRManagerParent::Shutdown() r=nical 2020-02-20 06:46:11 +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 Bug 1289211 - Rename InfallibleTArray to nsTArray in gfx/vr/ r=kip 2019-07-10 03:29:57 +00:00
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 1289211 - Rename InfallibleTArray to nsTArray in gfx/vr/ r=kip 2019-07-10 03:29:57 +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 Bug 1565295 - Create Command Line Handler for FxR on desktop r=mossop 2019-07-11 21:01:04 +00:00
gfxVR.cpp Bug 1466702 - Refactor / reimplement gfxVRPuppet and VRServiceTest to use gfxVRExternal r=daoshengmu,thomasmo,bzbarsky 2019-06-28 21:19:54 +00:00
gfxVR.h Bug 1466702 - Refactor / reimplement gfxVRPuppet and VRServiceTest to use gfxVRExternal r=daoshengmu,thomasmo,bzbarsky 2019-06-28 21:19:54 +00:00
gfxVRMutex.h Bug 1562777 - Refactor ShMem code from VR classes into separate class r=kip 2019-07-03 15:50:28 +00:00
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 Bug 1565296 - Implement Command Line Handler for FxR on desktop r=mossop,Gijs 2019-07-29 20:11:27 +00:00