aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xrframe.rs
Commit message (Collapse)AuthorAgeFilesLines
* Filter out webidl files based on special comments, and feature-gate webxr ↵Josh Matthews2024-11-241-294/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Generate a trait abstracting over all known DOM interfaces (#34357)Josh Matthews2024-11-241-1/+1
| | | | | | | | | | | | | | | | | * script: Generate trait for all DOM interfaces and parameterize generated Methods traits over it. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Update trait implementations with new generic type. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Formatting. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* More files with CanGc fixes (#33892)chickenleaf2024-10-181-1/+7
| | | | | | | | | | | | | * More files with CanGc fixes Signed-off-by: L Ashwin B <lashwinib@gmail.com> * removed the can_gc inside !task Signed-off-by: L Ashwin B <lashwinib@gmail.com> --------- Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* webxr: Update XRFrame to latest spec (#33102)Daniel Adams2024-08-201-8/+17
| | | | | | | | | | | | | | | | | | | | | * Update IDL+naming, add predictedDisplayTime getter stub Signed-off-by: Daniel Adams <msub2official@gmail.com> * Surface predicted display time Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update WPT expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update todo comment Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Remove unnecessary `unsafe` block (#33109)Taym Haddadi2024-08-181-6/+2
| | | Signed-off-by: Taym <haddadi.taym@gmail.com>
* webxr: Update hand input to match latest spec (#32958)Daniel Adams2024-08-141-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update IDLs Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update XRHand and XRJointSpace methods/bindings Signed-off-by: Daniel Adams <msub2official@gmail.com> * Implement fillJointRadii Signed-off-by: Daniel Adams <msub2official@gmail.com> * Implement fillPoses Signed-off-by: Daniel Adams <msub2official@gmail.com> * Formatting Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update test expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Tidy, missing spec link Signed-off-by: Daniel Adams <msub2official@gmail.com> * Remove idlharness expectation files, update hands pref Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update interfaces Signed-off-by: Daniel Adams <msub2official@gmail.com> * XRJointPose interface Signed-off-by: Daniel Adams <msub2official@gmail.com> * XRHand interface Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
* clippy: Fix filter_next warnings (#31965)Oluwatobi Sofela2024-04-011-2/+1
|
* rustdoc: Fix many rustdoc errors (#31147)Martin Robinson2024-01-221-7/+7
| | | | This fixes many rustdoc errors that occur due to raw URLs in rustdoc comments as well as unescaped Rust code that should be in backticks.
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-5/+5
| | | | | * strict imports formatting * Reformat all imports
* No tracing of nop traceable fields (#29926)Samson2023-08-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add `no_trace` option to JSTraceable derive * NoTrace wrapper * Port some types to no_trace schematics * Fixing my unsafe mistakes (not tracing traceables) * Add docs & safety guards for no_trace Safety guards (trait shenanigans) guarantees safety usage of `no_trace` * Port canvas_traits to no_trace * Port servo_media to no_trace * Port net_traits to no_trace * Port style to no_trace * Port webgpu to no_trace * Port script_traits to no_trace * Port canvas_traits, devtools_traits, embedder_traits, profile_traits to no_trace * unrooted_must_root lint in seperate file * Add trace_in_no_trace_lint as script_plugin * Composable types in must_not_have_traceable * Introduced HashMapTracedValues wrapper * `HashMap<NoTrace<K>,V>`->`HashMapTracedValues<K,V>` * Port rest of servo's types to no_trace * Port html5ever, euclid, mime and http to no_trace * Port remaining externals to no_trace * Port webxr and Arc<Mutex<_>> * Fix spelling in notrace doc
* Bump euclid to 0.22Martin Robinson2023-01-261-2/+2
| | | | | | | | | | | | | - Also updates raqote to latest with an upgrade of font-kit to 0.11 applied on as a patch - Update lyon_geom to the latest version Major change: - All matrices are now stored in row major order. This means that parameters to rotation functions no longer should be negated. - `post_...()` functions are now named `then()`. `pre_transform()` is removed, so `then()` is used and the order of operations changed.
* Support for webxr layer managementAlan Jeffrey2020-06-281-0/+10
|
* Update to treat view transforms as native-relativeManish Goregaokar2020-05-181-3/+3
|
* Update to use webxr_api::ViewerPoseManish Goregaokar2020-05-181-1/+6
|
* Make views a per-frame dealManish Goregaokar2020-05-181-1/+6
|
* Add XRJointPoseManish Goregaokar2020-04-271-0/+34
|
* Add XRFrame::getHitTestResults()Manish Goregaokar2020-04-191-0/+12
|
* Add XRHitTestResult::getPoseManish Goregaokar2020-04-191-3/+7
|
* Remove WebVRAlan Jeffrey2020-04-081-1/+1
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-6/+1
|
* Support nullable origins and floorsManish Goregaokar2019-12-111-1/+5
|
* Make poses nullableManish Goregaokar2019-10-031-2/+10
|
* Update euclid.Emilio Cobos Álvarez2019-07-231-1/+1
| | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* Add active and animationFrame flags to XRFrameManish Goregaokar2019-07-111-0/+23
|
* Hook webxr data into XRFrame/XRView/XRSpaceManish Goregaokar2019-07-111-10/+3
|
* Trigger callbacks in RAFManish Goregaokar2019-07-111-5/+3
|
* Add XRFrame.getPose()Manish Goregaokar2019-04-041-0/+17
|
* Validate spaces passed to getViewerPose()Manish Goregaokar2019-04-041-3/+11
|
* Make XRViewerPose inherit from XRPoseManish Goregaokar2019-04-031-14/+3
|
* Compute view matrix from viewer poseManish Goregaokar2019-03-261-13/+16
|
* Improve getViewerPose()Manish Goregaokar2019-03-201-8/+10
|
* Cleanup XRFrameManish Goregaokar2019-03-181-4/+5
|
* Add spec linksManish Goregaokar2018-12-221-0/+2
|
* Fill in XR frame/pose/view implementationsManish Goregaokar2018-12-211-5/+40
|
* Basic XRFrame interfaceManish Goregaokar2018-12-191-0/+30