Daniel Adams
20273b062a
webxr: Update XRSession to latest spec ( #33059 )
...
* Add missing XRSession members, initial implementations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Implement supportedFramerates getter
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Implement framerate changes, add spec links
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update WPT expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* ./mach fmt
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Add missing spec link
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-08-17 03:36:52 +00:00
Daniel Adams
0d137d276a
webxr: Add missing IDL members from AR Module ( #33007 )
...
* Add missing IDL members from AR module
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* ./mach fmt
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-08-13 04:28:40 +00:00
Kagami Sascha Rosylight
52ea5204a2
Convert Web IDL void to undefined
...
Fixes #27660
2022-01-05 03:39:33 +01:00
Manish Goregaokar
1b07b77323
Add XRSession::requestHitTestSource()
2020-04-19 20:29:14 -07:00
Manish Goregaokar
f721113f8d
Handle AddInput/RemoveInput events
2020-01-09 08:16:25 +05:30
Manish Goregaokar
87f729731a
Add support for squeeze events
2019-11-22 13:58:13 -08:00
Manish Goregaokar
49a8ed0e9e
Expose onvisibilitychange
2019-10-11 16:12:37 -07:00
Manish Goregaokar
75c763120f
Expose XRSession.visibilityState
2019-10-11 16:01:12 -07:00
Manish Goregaokar
66fea73289
Remove XRSession.mode
2019-10-11 12:42:49 -07:00
Manish Goregaokar
8ae1c2e0ad
Hook XRInputSourceArray into XRSession
2019-10-08 15:34:20 -07:00
Manish Goregaokar
b094ceb076
Add event handlers for sessionend events
2019-10-03 14:13:51 -07:00
Manish Goregaokar
b0002a003d
Make use of ended flag, get rid of XRLayer
2019-07-22 09:32:01 -07:00
Manish Goregaokar
b66cbd364a
Support end events and end()
2019-07-22 09:32:01 -07:00
Manish Goregaokar
ffc943fec7
Add stubs for session start/end
2019-07-16 22:17:22 -07:00
Kagami Sascha Rosylight
01151274f1
Require default dictionary value for optional dicts
2019-07-12 12:16:09 +09:00
Manish Goregaokar
c7ed4379e8
Fill in updateRenderState() stubs
2019-07-11 11:12:59 -07:00
Manish Goregaokar
2af8e0ef9f
Add stub makeXRCompatible()
2019-06-11 10:10:41 -07:00
Manish Goregaokar
26e0aaca6c
Update reference spaces to new model
2019-06-10 15:50:44 -07:00
Manish Goregaokar
0756923e52
Make viewerSpace [SameObject]
2019-05-03 18:46:31 -07:00
Manish Goregaokar
5c8132c379
Use initialized input sources in getInputSources()
2019-05-03 14:37:41 -07:00
Manish Goregaokar
813613628d
Add XRSession.viewerSpace
2019-04-04 17:45:09 -07:00
Manish Goregaokar
e20909cf43
Allow VR RAF loop to handle changes in the layer, support pending renderstates
2019-03-25 09:08:11 -07:00
Manish Goregaokar
401b470e90
Hook XRRenderState into XRSession
2019-03-25 09:06:49 -07:00
Manish Goregaokar
191fcf66cc
Add requestReferenceSpace
2019-03-18 16:27:59 -07:00
Manish Goregaokar
37872b8b9c
Add XREnvironmentBlendMode
2019-02-19 16:08:39 +05:30
Manish Goregaokar
c6c6b518cb
Add spec links
2018-12-22 22:30:42 -08:00
Manish Goregaokar
241d93340b
Add dom.webxr.enabled pref
2018-12-22 22:19:35 -08:00
Manish Goregaokar
1b11a3063c
Support attaching RAF callbacks
2018-12-21 16:02:24 -08:00
Manish Goregaokar
7e043a33f1
Support fetching viewport info
2018-12-21 14:43:41 -08:00
Manish Goregaokar
682c89a18c
allow setting base layer
2018-12-20 15:44:26 -08:00
Manish Goregaokar
d5911816e1
Fill in XR.requestSession
2018-12-19 19:56:52 -08:00
Manish Goregaokar
ebf9ccc9de
Basic XRSession interface
2018-12-19 15:40:38 -08:00