servo/components/script/dom/webgpu
Ashwin Naren 1d9204b4b1
Return the proper texture format for GetPreferredCanvasFormat (#37073)
This follows firefox's implementation:
24d49101ce/dom/webgpu/Instance.h (L68)

It changes the default on most systems to `Bgra8Unorm` but leaves it as
`Rgba8Unorm` on android.

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-05-21 20:07:00 +00: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 Remove HTMLCanvasDataSource and CanvasSource (#36794) 2025-05-01 17:49:59 +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 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