gecko-dev/dom/vr
Chris Martin 886c2c65a8 Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz
Currently, the gamepad code uses a uint32_t as a handle and does some trickery
with it by trying to create a unique ID and adding an offset to it for VR code.

This can (and has) led to errors where the developer forgets to perform the
arithmetic and sends the wrong number to the wrong manager.

This change created a strongly-typed handle that remembers which service it
belongs to. This should eliminate such accidents.

Differential Revision: https://phabricator.services.mozilla.com/D96273
2020-12-02 23:06:05 +00:00
..
test Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo 2020-06-17 22:45:31 +00:00
VRDisplay.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
VRDisplay.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
VRDisplayEvent.cpp
VRDisplayEvent.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
VREventObserver.cpp
VREventObserver.h
VRServiceTest.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
VRServiceTest.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
XRBoundedReferenceSpace.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRBoundedReferenceSpace.h
XRFrame.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRFrame.h
XRInputSource.cpp Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
XRInputSource.h
XRInputSourceArray.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRInputSourceArray.h
XRInputSpace.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRInputSpace.h Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRNativeOrigin.h
XRNativeOriginFixed.cpp
XRNativeOriginFixed.h Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRNativeOriginLocal.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRNativeOriginLocal.h Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRNativeOriginLocalFloor.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRNativeOriginLocalFloor.h Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRNativeOriginTracker.cpp Bug 1650714 - Part 1: Correct Matrix Decompose and SetRotationFromQuaternion. r=kip,imanol,lsalzman 2020-07-10 22:01:11 +00:00
XRNativeOriginTracker.h Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRNativeOriginViewer.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRNativeOriginViewer.h Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRPermissionRequest.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
XRPermissionRequest.h
XRPose.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRPose.h Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRReferenceSpace.cpp
XRReferenceSpace.h
XRRenderState.cpp
XRRenderState.h
XRRigidTransform.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
XRRigidTransform.h
XRSession.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
XRSession.h Bug 1656117 - Reduce include dependencies on nsRefreshDriver.h. r=mstange 2020-08-04 21:17:50 +00:00
XRSpace.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRSpace.h
XRSystem.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
XRSystem.h
XRView.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
XRView.h
XRViewerPose.cpp Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:08:48 +00:00
XRViewerPose.h
XRViewport.cpp
XRViewport.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00