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
VRDisplay.cpp
VRDisplay.h
VRDisplayEvent.cpp
VRDisplayEvent.h
VREventObserver.cpp
VREventObserver.h
VRServiceTest.cpp
VRServiceTest.h
XRBoundedReferenceSpace.cpp
XRBoundedReferenceSpace.h
XRFrame.cpp
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
XRInputSourceArray.h
XRInputSpace.cpp
XRInputSpace.h
XRNativeOrigin.h
XRNativeOriginFixed.cpp
XRNativeOriginFixed.h
XRNativeOriginLocal.cpp
XRNativeOriginLocal.h
XRNativeOriginLocalFloor.cpp
XRNativeOriginLocalFloor.h
XRNativeOriginTracker.cpp
XRNativeOriginTracker.h
XRNativeOriginViewer.cpp
XRNativeOriginViewer.h
XRPermissionRequest.cpp
XRPermissionRequest.h
XRPose.cpp
XRPose.h
XRReferenceSpace.cpp
XRReferenceSpace.h
XRRenderState.cpp
XRRenderState.h
XRRigidTransform.cpp
XRRigidTransform.h
XRSession.cpp
XRSession.h
XRSpace.cpp
XRSpace.h
XRSystem.cpp
XRSystem.h
XRView.cpp
XRView.h
XRViewerPose.cpp
XRViewerPose.h
XRViewport.cpp
XRViewport.h
moz.build