servo/components/script/dom/webgpu
Martin Robinson 0d693114ad
webgpu: Add a webgpu_traits crate (#36320)
This breaks the `script_traits` dependency  on `webgpu`. In general, the
`traits` crates shouldn't depend on Servo non-`traits` crates. This is
necessary to move "script to constellation" messages to the
`constellation_traits` crate, making it the entire API for talking to
the
constellation. This will break a circular dependency when that happens.

Testing: Successfully building is enough of a test for this one as
it is mainly moving types around.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-04-04 08:06:07 +00:00
..
gpu.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpuadapter.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpuadapterinfo.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
gpubindgroup.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpubindgrouplayout.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpubuffer.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpubufferusage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpucanvascontext.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucolorwrite.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpucommandbuffer.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucommandencoder.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucompilationinfo.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucompilationmessage.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucomputepassencoder.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucomputepipeline.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpuconvert.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpudevice.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpudevicelostinfo.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
gpuerror.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpuinternalerror.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpumapmode.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpuoutofmemoryerror.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpupipelineerror.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpupipelinelayout.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpuqueryset.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpuqueue.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpurenderbundle.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpurenderbundleencoder.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpurenderpassencoder.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpurenderpipeline.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpusampler.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpushadermodule.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpushaderstage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpusupportedfeatures.rs crown: Do not check trait item projections. (#36095) 2025-03-22 19:55:27 +00:00
gpusupportedlimits.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
gputexture.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gputextureusage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gputextureview.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpuuncapturederrorevent.rs Use new stylo crate renames (#35898) 2025-03-12 00:02:12 +00:00
gpuvalidationerror.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
identityhub.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
mod.rs Update wgpu and impl WGSLLanguageFeatures (#34928) 2025-01-10 17:41:11 +00:00
wgsllanguagefeatures.rs crown: Do not check trait item projections. (#36095) 2025-03-22 19:55:27 +00:00