gecko-dev/gfx/vr
thomasmo ab2f648351 Bug 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce
This change is a continuation of Part 1 (Bug 1570128), where the 2D content rendered by Firefox for Firefox Reality on Desktop is marshalled through VRHost so that it can be presented in a VR environment.
A new class, FxrOutputHandler, is created to manage creating a sharable texture, sharing it through VRShMem, and updating it when content updates. This class updates content with both WebRender and conventional rendering output.
This initial iteration of FxrOutputHandler does not have synchronization between reading and writing this shared texture across processes. A subsequent fix (Bug 1581881) is pending, which will reuse WebVR code to manage writing to and reading from a pool of textures.
This also presents issues with rendering protected media, so an additional class, FxrWindowManager, is created to manage all windows created for Firefox Reality on Desktop so that it can inform whether or not protected media can be presented.
The automated manual tests in vrhosttest.cpp now show the real shared texture handle rather than a fake value, which shows that marshaling succeeded.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 12:50:44 +00:00
..
external_api Bug 1570125 - Create VR window via vrhost r=kip,mossop 2019-08-02 20:55:48 +00:00
ipc Bug 1574682 - Implement VREventObserver::NotifyEnumerationCompleted r=imanol 2019-08-23 06:30:56 +00:00
service Bug 1510622 - Initilize OpenVR controller haptic thread when the first time to do vibration. r=kip 2019-09-18 00:13:12 +00:00
vrhost Bug 1576975 - Compile VRSession.cpp into vrhost.dll r=kip 2019-09-06 16:48:56 +00:00
components.conf Bug 1565295 - Create Command Line Handler for FxR on desktop r=mossop 2019-07-11 21:01:04 +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 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce 2019-09-26 12:50:44 +00:00
FxRWindowManager.h Bug 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce 2019-09-26 12:50:44 +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 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce 2019-09-26 12:50:44 +00:00
nsFxrCommandLineHandler.cpp Bug 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce 2019-09-26 12:50:44 +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
VRDisplayClient.cpp Bug 1466702 - Refactor / reimplement gfxVRPuppet and VRServiceTest to use gfxVRExternal r=daoshengmu,thomasmo,bzbarsky 2019-06-28 21:19:54 +00:00
VRDisplayClient.h Bug 1466702 - Refactor / reimplement gfxVRPuppet and VRServiceTest to use gfxVRExternal r=daoshengmu,thomasmo,bzbarsky 2019-06-28 21:19:54 +00:00
VRDisplayPresentation.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
VRDisplayPresentation.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
VRManager.cpp Bug 1581988 - Making VR display enumerationCompleted be false when doing enumeration. r=kip 2019-09-20 00:26:23 +00:00
VRManager.h Bug 1570671 - Stop VRManager timer tasks when the application goes to background. r=kip 2019-08-02 22:13:56 +00:00
VRPuppetCommandBuffer.cpp Bug 1289211 - Rename InfallibleTArray to nsTArray in gfx/vr/ r=kip 2019-07-10 03:29:57 +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 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +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 1570123 - Export Input functions from vrhost r=kip 2019-08-09 22:41:23 +00:00
VRShMem.h Bug 1570230 - Crash in [@ mozilla::gfx::VRShMem::JoinShMem] r=kip 2019-08-08 17:57:34 +00:00
VRThread.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
VRThread.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00