-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[g-webgl] HAL 支持 WebGPU #863
Labels
Comments
WGSL 语法有一些变化,例如使用 |
xiaoiver
added a commit
that referenced
this issue
Jun 13, 2023
xiaoiver
added a commit
that referenced
this issue
Jun 14, 2023
* fix: WebGPU HAL & handle lost context #863 & #1362 * fix: wait for context lost promise * fix: create renderer3d component in picking plugin #1094 * feat: add onContextLost callback to constructor options of WebGL & WebGPU renderer #1362 * fix: copy glsl_wgsl_compiler_bg.wasm to dist dir of g-webgpu #1369
xiaoiver
added a commit
that referenced
this issue
Jun 29, 2023
xiaoiver
added a commit
that referenced
this issue
Jul 6, 2023
* fix: make pick async to support impl in WebGPU (#1398) * fix: skip loading Box2D if it's already existed #1393 * fix: update latest physx * fix: support 2 kinds of clip z range #863 * fix: make pick async to support impl in WebGPU #1400 * fix: use async readpixels in webgl2 * fix: use premultiplied alpha in WebGL & WebGPU #1399 * fix: use createImageBitmap to create texture if possible #1401 * chore: add test case for ssr with g-webgl * chore: adjust examples of performance block (#1402) * chore: adjust examples of performance block * fix: reset transform with keyword none * chore: add ga4 key * fix: createImageBitmap should account for error of SVG failure * fix: avoid overriding defXY when parsing path (#1405) * fix: avoid overriding defXY when parsing path #1404 * chore: commit changeset * chore(release): bump version (#1403) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
github-project-automation
bot
moved this from In Progress
to Done
in Polishing WebGL & WebGPU implementation
Nov 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chrome 94 的一项重大更新就是将之前预览版本实现的 WebGPU 纳入了正式版,Firefox、Safari、Edge 目前在预览版本也可以体验(所有浏览器厂商达成共识不容易):
https://developer.chrome.com/blog/new-in-chrome-94/#webgpu
升级后通过在页面中添加 origin trial meta 标签使用。
与此同时,iOS 15 也终于支持了 WebGL2:
https://developer.apple.com/documentation/safari-release-notes/safari-15-release-notes#Web-APIs
目前 G 按照 WebGPU -> WebGL2 -> WebGL1 自动降级:#851
为了通过 origin trial 使用 WebGPU,在 G 官网中增加了如下脚本:
这样在 Chrome 开发者工具 “应用” -> "帧" 中可以查看 origin trial:
The text was updated successfully, but these errors were encountered: