servo/components/script/dom/webxr
Martin Robinson 0e616e0c5d
api: Flatten and simplify Servo preferences (#34966)
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>
2025-01-14 13:54:06 +00:00
..
fakexrdevice.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
fakexrinputcontroller.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
mod.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrboundedreferencespace.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrcompositionlayer.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrcubelayer.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrcylinderlayer.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrequirectlayer.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrframe.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrhand.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrhittestresult.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrhittestsource.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrinputsource.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrinputsourcearray.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrinputsourceevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrinputsourceschangeevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrjointpose.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrjointspace.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrlayer.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrlayerevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrmediabinding.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrpose.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrprojectionlayer.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrquadlayer.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrray.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrreferencespace.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrreferencespaceevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrrenderstate.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrrigidtransform.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrsession.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrsessionevent.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrspace.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrsubimage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrsystem.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
xrtest.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrview.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrviewerpose.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrviewport.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrwebglbinding.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrwebgllayer.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
xrwebglsubimage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00