Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

WebGPU

From Wikipedia, the free encyclopedia
Web standard and API
WebGPU
StatusCandidate recommendation (CR)
Year started18 May 2021 (2021-05-18)
First published18 May 2021 (2021-05-18)
Latest versionW3C Candidate recommendation
(As of 2025)
OrganizationW3C
Committee
Editors
  • Kai Ninomiya
  • Brandon Jones
  • Jim Blandy
  • Myles C. Maxfield (former)
  • Dzmitry Malyshau (former)
  • Justin Fan (former)
[1]
Related standards
Domain
Websitewww.w3.org/TR/webgpu/

WebGPU API is aJavaScript,Rust,C++, andCAPI for cross-platform efficientgraphics processing unit (GPU) access. Using a system's underlyingVulkan,Metal, orDirect3D 12 technologies, WebGPU allows for graphics processing, games, and more, as well as AI and machine learning applications. WebGPU is intended to supersede the olderWebGL as the main graphics standard for the Web.[2]

In JavaScript, WebGPU can be provided by aweb browser or other JavaScript environment likeNode.js andDeno. Rust and C++ can use their respective implementations of the WebGPU specification. Other languages likePython,Java, andGo can use WebGPU by extending the C language specification.

Google Chrome andMicrosoft Edge first released WebGPU support in April 2023.[2][3]Safari debuted WebGPU support in June 2025 with Safari 26.[4]Firefox first released WebGPU in July 2025 with Firefox 141.[3] TheW3C standard is a candidate recommendation.

Technology

[edit]

WebGPU enables 3D graphics within anHTMLcanvas. It also has robust support forgeneral-purpose GPU computations.[5]

WebGPU uses its ownshading language calledWebGPU Shading Language (WGSL) that was designed to be trivially translatable toSPIR-V, until complaints caused redirection into a more traditional design, similar to other shading languages. The syntax is similar toRust.[6] Tint is aGoogle-madecompiler for WGSL.[7] Naga is a similar project developed for the needs of wgpu-rs.[8]

Implementations

[edit]

BothGoogle Chrome andFirefox support WebGPU and WGSL. Firefox andDeno use the Rust wgpu library.[9]Safari follows upstream specifications of both WebGPU and WGSL.[3]

Chrome version 113 enabled initial WebGPU support onWindows devices withDirect3D 12,ChromeOS devices withVulkan, andmacOS withMetal.[2] This support forAndroid was enabled in version 121.[3]

History

[edit]

On June 8, 2016, Google showed "Explicit web graphics API" presentation to theWebGL working group (during the bi-annual face to face meeting).[10] The presentation explored the basic ideas and principles of building a new API to eventually replace WebGL, aka "WebGL Next".

On January 24, 2017,Khronos hosted an IP-free meeting dedicated to discussion of "WebGL Next" ideas, collided with WebGL working group meeting in Vancouver.[11] Google team presented the NXT prototype implementing a new API that could run inChromium with OpenGL, or standalone with OpenGL and Metal. NXT borrowed concepts from all of Vulkan, Direct3D 12, and Metal native APIs. Apple and Mozilla representatives also showed their prototypes built onSafari andServo correspondingly, both of which closely replicated the Metal API.

On February 7, 2017, Apple'sWebKit team proposed the creation of the W3C community group to design the API. At the same time they announced a technicalproof of concept and proposal under the name"WebGPU", based on concepts in Apple'sMetal.[12][13][14] The WebGPU name was later adopted by the community group as a working name for the future standard rather than just Apple's initial proposal.[15] The initial proposal has been renamed to "WebMetal" to avoid further confusion.[16]

The W3C "GPU for the Web" Community Group was launched on February 16, 2017. At this time, all of Apple, Google, and Mozilla had experiments in the area, but only Apple's proposal was officially submitted to the "gpuweb-proposals" repository.[17][18][19]Shortly after, on March 21, 2017, Mozilla submitted a proposal for WebGL Next within Khronos repository, based on the Vulkan design.[20][21]

On June 1, 2018, citing "resolution on most-high level issues" in the cross-browser standardization effort, Google'sChrome team announced intent to implement the future WebGPU standard.[15]

On 13 February, 2020, Google unveiled Tint as an alternative to WHLSL textual language proposal to WebGPU API, and the language eventually became the standardizedWebGPU Shading Language (WGSL), and Tint became the name of compiler within Dawn, the WebGPU implementation of Chromium.

References

[edit]
  1. ^"WebGPU: W3C Candidate Recommendation Draft".
  2. ^abc"Chrome ships WebGPU".Chrome Developers. Retrieved2023-04-08.
  3. ^abcd"WebGPU Implementation Status".GitHub. RetrievedJune 16, 2025.
  4. ^"Safari 26.0 Beta Release Notes". RetrievedJuly 11, 2025.
  5. ^"WebGPU API".developer.mozilla.org. Retrieved17 March 2024.
  6. ^"WebGPU Shading Language".gpuweb.github.io. Retrieved2025-07-17.
  7. ^"tint - Git at Google".dawn.googlesource.com. Retrieved2025-07-17.
  8. ^gfx-rs/wgpu/naga, Rust Graphics Mages, 2025-08-06, retrieved2025-08-08
  9. ^wgpu, Rust Graphics Mages, 2024-01-03, retrieved2024-01-03
  10. ^Wallez, Corentin."Explicit web graphics API". Retrieved2019-06-25.
  11. ^Wallez, Corentin; Ninomiya, Kai."WebGL Next investigations". Retrieved2019-06-25.
  12. ^"Next-generation 3D Graphics on the Web".WebKit. 2017-02-07. Retrieved2018-08-13.
  13. ^"Apple seeks to position Metal as part of new 3D graphics standard for web".AppleInsider. Retrieved2018-08-13.
  14. ^Claburn, Thomas (2017-02-08)."Web-standards-allergic Apple unveils WebGPU, a web graphics standard".The Register. Retrieved2017-08-14.
  15. ^abWallez, Corentin (2018-05-31)."Intent to Implement: WebGPU".blink-dev (Mailing list). Retrieved2018-08-13.
  16. ^"WebGPU Prototype and Demos".WebKit. 2017-04-05. Retrieved2019-01-10.
  17. ^Jackson, Dean (2017-02-16)."Welcome and Getting Started".public-gpu (Mailing list). Retrieved2018-09-11.
  18. ^Jackson, Dean."Add Apple's WebGPU proposal".GitHub. Retrieved2019-03-08.
  19. ^Malyshau, Dzmitry."Prototyping a new 3D API for the Web". Retrieved2016-12-16.
  20. ^Malyshau, Dzmitry (2017-03-21)."Defining the Web platform". Retrieved2018-09-11.
  21. ^Malyshau, Dzmitry."Mozilla's contribution: Obsidian API".GitHub. Retrieved2019-03-08.

External links

[edit]
Features, standards & protocols
Features
Web standards
Protocols
Active
Blink-based
Proprietary
FOSS
Gecko-based
WebKit-based
Multi-engine
Other
Discontinued
Blink-based
Gecko-based
MSHTML-based
WebKit-based
Other
Protocols
Server APIs
Apache modules
Topics
Browser APIs
Web APIs
WHATWG
W3C
Khronos
Others
Topics
Related topics
Retrieved from "https://en.wikipedia.org/w/index.php?title=WebGPU&oldid=1308578072"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp