WaterWhisperer
158bf97e30
script/dom/: Change some #[allow]s to #[expect]s ( #40454 )
...
Removes some unneeded lints, especially `#[allow(unsafe_code)]`.
Testing: Refactor
Part of: #40383
Signed-off-by: WaterWhisperer <waterwhisperer24@qq.com >
2025-11-06 11:06:03 +00:00
Samson
4e51c7be43
Update wgpu and impl WGSLLanguageFeatures ( #34928 )
...
* Update wgpu and impl `WGSLLanguageFeatures`
dc9b2eb718
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Update expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2025-01-10 17:41:11 +00:00
Josh Matthews
c94d909a86
script: Limit public exports. ( #34915 )
...
* script: Restrict reexport visibility of DOM types.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* script: Mass pub->pub(crate) conversion.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* script: Hide existing dead code warnings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Fix clippy warnings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Fix unit tests.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Fix clippy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* More formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2025-01-10 08:19:19 +00:00
atbrakhi
1591a3b506
Add webgpu feature flag ( #34444 )
...
* Move script gpu files into webgpu folder
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* Modify gpu webidls
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* move gpu realted webidl
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* add webgpu feature to script
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* add dummy implementation for gpucanvascontext
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* fmt
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* add skip-if CARGO_FEATURE_WEBGPU
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* Move NavigatorGPU and workerNavigator GPU to webgpu idl
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* fmt and cleanup
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* review fix
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* enable webgpu by default and also some fmt fix
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
* Add pref back, fix imports, small cleanups
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
---------
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
2024-12-05 16:07:27 +00:00
atbrakhi
d2d3407501
Move script gpu files into webgpu folder ( #34415 )
...
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
2024-11-28 14:24:15 +00:00