servo/components/script/dom/webgpu
hashcatHitman 326a2e9ab6
Initial move of canvas/context/snapshot size from u64 -> u32
Changed the two instances of `euclid::default::Size2D<u64>` in
`servo/components/script/canvas_context.rs` and
`servo/components/shared/snapshot/lib.rs` that were outlined as the bare minimum
in "Make canvas/context/snapshot size be u32 everywhere" to
`euclid::default::Size2D<u32>`. Every other change made in this commit is
either:
 - of similar nature, and is the minimum that would allow compilation
 - resolving lints triggered by the former

More might be needed to complete the issue, but I feel like this is a good
starting point.

This commit includes changes to the following components:
 - canvas
 - pixels
 - script
 - shared/canvas
 - shared/snapshot

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
2025-06-03 14:38:28 -04:00
..
gpu.rs Return the proper texture format for GetPreferredCanvasFormat (#37073) 2025-05-21 20:07:00 +00:00
gpuadapter.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpuadapterinfo.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpubindgroup.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpubindgrouplayout.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpubuffer.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpubufferusage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpucanvascontext.rs Initial move of canvas/context/snapshot size from u64 -> u32 2025-06-03 14:38:28 -04: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 script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +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 script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpuconvert.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpudevice.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +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 script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpuqueryset.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpuqueue.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpurenderbundle.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpurenderbundleencoder.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpurenderpassencoder.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpurenderpipeline.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpusampler.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpushadermodule.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpushaderstage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpusupportedfeatures.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpusupportedlimits.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gputexture.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +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 script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
mod.rs Update wgpu and impl WGSLLanguageFeatures (#34928) 2025-01-10 17:41:11 +00:00
wgsllanguagefeatures.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00