aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/XRSession.webidl
Commit message (Collapse)AuthorAgeFilesLines
* script: Move code generation and webidl files to new script_bindings crate. ↵Josh Matthews2025-01-241-69/+0
| | | | | (#35157) Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* api: Flatten and simplify Servo preferences (#34966)Martin Robinson2025-01-141-1/+1
| | | | | | | | | | | | | | | | | | | Flatten and simplify Servo's preferences code. In addition, have both preferences and options passed in as arguments to `Servo::new()` and make sure not to use the globally set preferences in `servoshell` (as much as possible now). Instead of a complex procedural macro to generate preferences, just expose a very simple derive macro that adds string based getters and setters. - All command-line parsing is moved to servoshell. - There is no longer the concept of a missing preference. - Preferences no longer have to be part of the resources bundle because they now have reasonable default values. - servoshell specific preferences are no longer part of the preferences exposed by the Servo API. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Filter out webidl files based on special comments, and feature-gate webxr ↵Josh Matthews2024-11-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interfaces. (#34348) * Filter out webidl files based on skip-if directives. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Don't build XR functionality without webxr feature. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Fix tidy. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Adjust imports for file movement. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Fix clippy. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Formatting. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Clean up webxr module import. Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com> Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
* webxr: Update XRSession to latest spec (#33059)Daniel Adams2024-08-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* webxr: Add missing IDL members from AR Module (#33007)Daniel Adams2024-08-131-8/+17
| | | | | | | | | | | | | | | | | * 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>
* Convert Web IDL void to undefinedKagami Sascha Rosylight2022-01-051-4/+4
| | | | Fixes #27660
* Add XRSession::requestHitTestSource()Manish Goregaokar2020-04-191-0/+3
|
* Handle AddInput/RemoveInput eventsManish Goregaokar2020-01-091-1/+1
|
* Add support for squeeze eventsManish Goregaokar2019-11-221-0/+3
|
* Expose onvisibilitychangeManish Goregaokar2019-10-111-1/+1
|
* Expose XRSession.visibilityStateManish Goregaokar2019-10-111-1/+7
|
* Remove XRSession.modeManish Goregaokar2019-10-111-1/+0
|
* Hook XRInputSourceArray into XRSessionManish Goregaokar2019-10-081-10/+5
|
* Add event handlers for sessionend eventsManish Goregaokar2019-10-031-3/+3
|
* Make use of ended flag, get rid of XRLayerManish Goregaokar2019-07-221-1/+1
|
* Support end events and end()Manish Goregaokar2019-07-221-1/+1
|
* Add stubs for session start/endManish Goregaokar2019-07-161-1/+1
|
* Require default dictionary value for optional dictsKagami Sascha Rosylight2019-07-121-1/+1
|
* Fill in updateRenderState() stubsManish Goregaokar2019-07-111-1/+1
|
* Add stub makeXRCompatible()Manish Goregaokar2019-06-111-1/+0
|
* Update reference spaces to new modelManish Goregaokar2019-06-101-13/+1
|
* Make viewerSpace [SameObject]Manish Goregaokar2019-05-031-1/+1
|
* Use initialized input sources in getInputSources()Manish Goregaokar2019-05-031-0/+3
|
* Add XRSession.viewerSpaceManish Goregaokar2019-04-041-0/+1
|
* Allow VR RAF loop to handle changes in the layer, support pending renderstatesManish Goregaokar2019-03-251-0/+1
|
* Hook XRRenderState into XRSessionManish Goregaokar2019-03-251-3/+1
|
* Add requestReferenceSpaceManish Goregaokar2019-03-181-2/+13
|
* Add XREnvironmentBlendModeManish Goregaokar2019-02-191-1/+1
|
* Add spec linksManish Goregaokar2018-12-221-2/+4
|
* Add dom.webxr.enabled prefManish Goregaokar2018-12-221-2/+2
|
* Support attaching RAF callbacksManish Goregaokar2018-12-211-2/+2
|
* Support fetching viewport infoManish Goregaokar2018-12-211-0/+2
|
* allow setting base layerManish Goregaokar2018-12-201-1/+1
|
* Fill in XR.requestSessionManish Goregaokar2018-12-191-3/+3
|
* Basic XRSession interfaceManish Goregaokar2018-12-191-0/+41