Webgpu samples
Author: n | 2025-04-24
WebGPU Explainer; WebGPU Fundamentals - Teach you the very fundamentals of WebGPU; WebGPU Samples - A set of samples demonstrating the use of the WebGPU API; WebGPU
webgpu/webgpu-samples: WebGPU Samples - GitHub
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.Engines and libraries ⚙️NameStarsLast CommitDescriptionthree.jsJavaScript 3D librarystack.glan open software ecosystem for WebGL, built on top of browserify and npm.PixiJSSuper fast HTML 5 2D rendering engine that uses webGL with canvas fallbackPexPex is a javascript 3d library / engine allowing for seamless development between Plask and WebGL in the browser.Babylon.jsa complete JavaScript framework for building 3D games with HTML 5 and WebGLFilamentFilament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS and WASM/WebGLClayGLA WebGL graphic library helping you to build scalable Web3D applicationsAwayJSAwayJS is a graphics library for javascript written in typescriptSceneJSAn extensible WebGL-based engine for high-detail 3D visualisationBlend4Weba tool for interactive 3D visualization on the InternetPlayCanvasJavaScript game engine built on WebGL and WebVRTurbulenzTurbulenz is a modular 3D and 2D game framework for making HTML5 powered games for browsers, desktops and mobile devices.Hilo3da WebGL Rendering Engine.litesceneA WebGL 3D Engine library with component-based node hierarchy. Used by WebGLStudio.Two.jsA renderer agnostic two-dimensional drawing api for the web.webgl-operateA TypeScript based WebGL rendering framework.RhodoniteRhodonite Web3D Library in TypeScriptZograA simple WebGL2 renderer.LayaAirLayaAir is an open-source 2D/3D engine. LayaAir Engine is designed for high performance games.libGDXDesktop/Android/HTML5/iOS Java game development framework.LittleJSLittleJS is a HTML5 game engine with many features and no dependencies.Galacean EngineA typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.NameStarsLast CommitDescriptiondawnDawn, a WebGPU implementationwgpuSafe and portable GPU abstraction in Rust, implementing WebGPU API.RedGPURedGPU - Javascript webGPU Enginesokol3D-API wrapperwgpuNative WebGPU implementation based on gfx-haldgelA WebGPU engine.YUEPersonal WebGPU based 3D renderer.Simple-GPUFunctional WebGPU.VelloAn experimental GPU compute-centric 2D renderer.GWebGPUEngineA WebGPU Engine for real-time rendering and GPGPU.OrillusionOrillusion is a pure Web3D rendering engine which is fully developed based on the WebGPU standard.SWGPUA complete, fast and fun web game engine with examples.XGPUa higher-level, easy-to-use interface for building rendering engines or processing numeric data.webgpu-rendererA simple renderer implemented by WebGPU, includes a builtin path tracing pipeline.pointsA Generative Art library made in WebGPUWebGPU RaytracerRealtime path tracing via WebGPU compute shadersWebGPU-KitA minimal webGPU toolkit for rendering and compute pipelinesshadeupA language for WebGPU that makes writing shaders easierSundown EngineWebGPU game engine for fun and games.CobaltWebGpu 2D renderer.Toolkits and micro frameworks 🧰NameStarsLast CommitDescriptionreglFast functional WebGLlightgl.jsA lightweight WebGL libraryTWGLA Tiny WebGL helper Libraryp5.jsa new interpretation of Processing, not an emulation or port.Foura slightly higher level graphics API based on WebGL 1.0TDLTDL is a low-level library for WebGL apps (see TWGL)KickJSA WebGL game engine for modern web-browsersnanoglwebgl micro frameworkAlfridA WebGL tool setMediumProgressive WebGL toolkit for artPicoGL.jsA minimal WebGL 2-only rendering libraryO-GLMinimal WebGL frameworkmini-webglMini toy WebGL libraryphenomenon-pxThe fastest way to create pixel shaders.zen-3dJavaScript 3D library.GLOWGLOW is a WebGL wrapper, which focuses on easy creation and use of shaders.HelixA
wzdong26/webgpu-samples: webgpu samples - GitHub
Lottie-rsA Lottie file toolkit written in Rust. Lottie is a JSON format exported with Bodymovin plugin from Adobe After Effects describing animations. This crate aims to parse, analyze and render this animation format with multiple renderers.SamplesThe following samples are gathered from lottiefiles.com community and lottiefiles.github.io. Creditsgoes to original owners/creators of the files.NamePreviewNamePreviewConfettiNyan CatTechno PenguinDelete AnimationA (5x scaled)B (5x scaled)Bounce StrokesTry it outThe default player implementation uses Bevy to render the animation.Currently supports bevy 0.13.0.cargo r --release -- --input ../../fixtures/ui/drink.jsonThere are some lottie files for demonstration purpose under fixtures/uiBevy support tablebevylottie-rs0.13main / 0.0.1Headless runnerExporting animation headlessly is also supported, aiming to render animations on a server. Currentlyyou can export animation to webp file using the --headless option.cargo r --release -- --input fixtures/ui/drink.json --headlessA webp file with the same name as input JSON will be generated.Feature Incompletion NoticeDue to limitation of webGPU, some features are not supported and listed below.Blend mode: this involves complex texture exchanging and is really hardFont LoadingThis library uses font-toolkit to manage/load/use fonts, whichis also MIT-licensed.If a font is missing or a system default font is used (e.g. monospace), currently lottie-rs willuse Fira Mono as the default fallback if running on architecturethat allows local font loading. For WASM targets, this fallback logic is not present, a matchingfailure will cause the text being skipped.Global19/webgpu: WebGPU Samples - GitHub
Updating XTBs based on .GRDs from branch 5060- [M103] Disabled crashing test in FirstRunActivitySigninAndSyncTest- Change ShouldDisableDohForManaged to use IsEnrolledToDomain()- [Merge 103]Revert "Refresh policies from Registry dynamically"- 5060: infra: Add the root vpython spec files to orchestrator runtime deps- [Merge 103] crOS: Support SecondaryGoogleAccountUsage policy- [Merge103] Fix context nullptr crash- Updating XTBs based on .GRDs from branch 5060Google Chrome 103.0.5060.66- Change log not available for this versionGoogle Chrome 103.0.5060.53- Change log not available for this versionGoogle Chrome 102.0.5005.115Security Fixes:- High CVE-2022-2007: Use after free in WebGPU. Reported by David Manouchehri on 2022-05-17- High CVE-2022-2008: Out of bounds memory access in WebGL. Reported by khangkito - Tran Van Khang (VinCSS) on 2022-04-19- High CVE-2022-2010: Out of bounds read in compositing. Reported by Mark Brand of Google Project Zero on 2022-05-13- High CVE-2022-2011: Use after free in ANGLE. Reported by SeongHwan Park (SeHwa) on 2022-05-31Various fixes from internal audits, fuzzing and other initiatives:- [Merge 102] Disable the enterprise dialog being showed for all users- Revert "Post media log destruction to avoid destruction"- Post media log destruction to avoid destruction- [M102] Migrate "chromium.memory:Linux TSan Builder" src side- Ensure the link data checkbox is always on top of the action buttons- Set selection range after committed composition only for non-IME input- Updating XTBs based on .GRDs from branch 5005- [Reland][Region Capture] Fix blocking of other-tab captures- [M102] Revert "Remove the AcceptCHFrame base::Feature"- PaintOpReader: Harden PaintImage deserialization- [102] Revert "Enable same-process, cross-origin iframe throttle by default."- [M102][Color Pipeline] Fix extensions badge contrast- Use the right tex target for video frame for ANGLE/Metal- Merge M102: "Retrieve optional video profiles asynchronously."- [Merge 102] [journeys] Respect AllowDeletingBrowserHistory in WebUI Handler- [M102] Fix a regression that CascadeLayerMap is not rebuilt- CHECK that detaching a mapped GPUBuffer was successful- [Merge to M102] [RPM] Add check for 2021 signing keyGoogle Chrome 102.0.5005.63Security. WebGPU Explainer; WebGPU Fundamentals - Teach you the very fundamentals of WebGPU; WebGPU Samples - A set of samples demonstrating the use of the WebGPU API; WebGPU WebGPU Samples. Contribute to webgpu/webgpu-samples development by creating an account on GitHub.Not working Issue 75 webgpu/webgpu-samples
UsedFixed WebGPU using the incorrect size for booleansFixed a memory leak with some string marshalling functionsIf you are using Silk.NET with an iOS or Android application, please enable trimming and set TrimMode to full. 2.17.1 Hotfix Release 2.17.0 Spring 2023 Update 1 Silk.NET Spring 2023 Update 1Added zero-cost extension methods for ComPtrs, making our DirectX bindings easier to use and higher quality than ever before.Added WebGPU bindings for Dawn and WGPU.Added Direct2D bindings. (massive thank you to @curin)Added DirectComposition bindings. (again, massive preesh to @curin)Added DirectWrite bindings.Added d3d11on12 bindings.Added WGL bindings.Added support for Android 12.Added support for OpenAL disconnect extension. (thanks @okaniku)Added GLFW API constants for ANGLE. (thanks @cyraid)Added extension functions for OpenAL BufferData to make use of AL_EXT_float32 enums.Added ReopenDevices extension for OpenAL Soft. (thanks @LeNitrous)Added BufferCallback extension for OpenAL Soft.Added Vulkan structure chain polymorphism. (thanks @Khitiara for the proposal)Added SDL/GLFW native libraries for Windows on ARM64.Added IsScancodePressed function in Silk.NET Input.Added TopMost in Silk.NET Windowing (thanks @MarioGK)Added EGL display and surface to INativeWindow.Added an explicit check against calling Reset on a window while within the render loop of said window.Added support for multiple native binary candidate paths for a single binding.Improved support for WASM and AOT in the Silk.NET loader.Improved support for Windows on ARM64.Improved Silk.NET.Maths generic specialization codegen.Improved support for DXVK, including a new DXHandle property in INativeWindow for getting Linux HWND equivalents.Improved support for Silk.NET.Windowing under reflection-free NativeAOTUpdated to SDL 2.24.Updated to Vulkan 1.3.246.Updated to DirectStorage 1.1.1.Updated to OpenXR 1.0.27.Updated to Assimp 5.2.5.Updated to latest OpenCL specifications.Updated to latest OpenGL specifications.Updated to latest ImGui.Fixed XInput GetApi not being implemented. (thanks @skyebird189)Fixed TransparentBuffer not being applied correctly without specifying a PreferredBitDepth. (thanks @MarioGK)Fixed wide string marshalling.Fixed string array marshalling on systems where the max DBCS character size is insufficient for UTF8.Fixed Span overloads not calculating the correct length value for ommitted (implicit) length parameters.Fixed copying of native libraries under .NET Framework 4.6.1. (thanks @paralaxsd)Fixed SDL crashing on Android when the screen rotates in some cases.Fixed a memory leak when using GlobalMemory to marshal string arrays instead of StringArrayToPtr. (thanks @Khitiara)Welcome to the biggest update yet! 2.17 SpringGitHub - redcamel/webgpu: WebGPU Samples RnD
Un popover ou une boîte de dialogue situé dans un document inactif échouait de manière silencieuse. Aucune exception ne sera générée, mais comme le document est inactif, aucun pop-up ni aucune boîte de dialogue ne s'affichera. À partir de Chrome 132, ces situations génèrent désormais une exception InvalidStateError.API WebAuthn SignalPermet aux parties de confiance WebAuthn de signaler des informations sur les identifiants existants aux fournisseurs de stockage d'identifiants, afin que les identifiants incorrects ou révoqués puissent être mis à jour ou supprimés de l'UI du fournisseur et du système.En savoir plus sur l'API Signal pour les clés d'accès sur Chrome pour ordinateurWebGPU: mélange de textures à virgule flottante 32 bitsLa fonctionnalité GPU float32-blendable permet de mélanger les textures GPU avec les formats r32float, rg32float et rgba32float.WebGPU: exposer GPUAdapterInfo à partir de GPUDeviceL'attribut adapterInfo de GPUDevice expose le même GPUAdapterInfo que l'objet GPUAdapter.WebGPU: utilisation de la vue de textureAjoute un champ facultatif à la création de la vue de texture WebGPU pour demander un sous-ensemble des indicateurs d'utilisation de la texture source.Par défaut, l'utilisation de la vue de texture hérite de la texture source, mais il existe des formats de vue qui peuvent être incompatibles avec l'ensemble complet des utilisations héritées.L'ajout d'un champ d'utilisation à la création de la vue de texture permet à l'utilisateur de demander un sous-ensemble des utilisations de la texture source qui sont valides avec le format de vue et spécifiques à l'utilisation prévue de la vue de texture.Les implémentations WebGPU peuvent également optimiser la création de ressources de bas niveau et améliorer les performances lors de l'utilisation de vues avec des indicateurs d'utilisation plus spécialisés.Nouveaux tests OriginDans Chrome 132, vous pouvez activer les nouvelles phases d'évaluation de l'origine suivantes.Document-Isolation-PolicyDocument-Isolation-Policy permet à un document d'activer crossOriginIsolation pour lui-même, sans avoir à déployer COOP ou COEP, et quel que soit l'état crossOriginIsolation de la page. La règle est basée sur l'isolation des processus. De plus, les sous-ressources multi-origines non CORS du document seront chargées sans identifiants ou devront comporter un en-tête CORP.Cette fonctionnalité vous permet d'associer des informations sur les fonctions à analyser et compiler de manière anticipée dans les fichiers JavaScript. Les informations seront encodées en tant que commentaires magiques.Abandons et suppressionsCette version de Chrome introduit les abandons et suppressions suivants.Consultez ChromeStatus.com pour obtenir la liste des fonctionnalités abandonnées, en cours d'abandon et supprimées précédemment.Cette version de Chrome supprime deux fonctionnalités.navigator.storage n'est plus un EventTargetnavigator.storage est devenustudy-game-engines/webgpu-examples: WebGPU Samples
GPU M1 Macs to use Mac 12- Fix dawn write handle data update OOB check- [M103] Reland "Fix UaF in media router dialog"- Updating XTBs based on .GRDs from branch 5060- Disable failing test.- Updating XTBs based on .GRDs from branch 5060- [OSCrypt] Fix branded GnomeKeyring tests- [M103][Messages][SaveCard] Fix metrics recording error- Updating XTBs based on .GRDs from branch 5060- Try to avoid blocking reads in InputStream reading code- M103: Use weak ptr for webview JavaScriptDialogHelper callback- [Sheriff] Restore flaky test expectation for mouse-events-on-node-deletion- [M103][Messages][SaveCard] Reset metric recording related variables.- Updating XTBs based on .GRDs from branch 5060- WebGPU: Mark the context lost on GPU context lost- Mitigate bad cast in OffscreenCanvas::GetFontSelector- Filter command responses from detached CDP sessions- [Merge to 103] Merge fix for crash when enabling calendar in M103"- Disable flaky InspectUIFencedFrameTest.FencedFrameInFrontEndGoogle Chrome 103.0.5060.114Security Fixes:- High CVE-2022-2294: Heap buffer overflow in WebRTC- High CVE-2022-2295: Type Confusion in V8- High CVE-2022-2296: Use after free in Chrome OS ShellVarious fixes from internal audits, fuzzing and other initiatives:- Pre-paint: OOF within monolithic content is contained normally- Pre-paint: Remove obsolete inline continuation code- Updating XTBs based on .GRDs from branch 5060- Switch V8 reference to git hash- Automatic update from google3- HDR/Windows: SDR displays must have 80 nits- Updating XTBs based on .GRDs from branch 5060- Disable IntegrationTest.SelfUpdateFromOldReal in M103- Add bot account to transport_security_state_static owners- M103: [Pinpoint] add pgo bots to M103- Updating XTBs based on .GRDs from branch 5060- migrate metrics_python_tests to python3 for M103- [Sheriff] Disable flaky MachOImageAnnotationsReader tests for M103- Revert "Move most of partnerbookmarks to the module"- [M103] Let GPU Intel Macs target 12.4- Updating XTBs based on .GRDs from branch 5060- testing: fix check_static_initializers.py for python3 for M103- sheriff: Disable QuarantineMacTest.*- [M103] Disable svg/W3C-SVG-1.1/pservers-grad-05-b.svg to satisfy M103 builders- Updating XTBs based on .GRDs from branch 5060-Handedness discusion Issue 87 webgpu/webgpu-samples
允许 WebAuthn 信赖方将有关现有凭据的信息发送回凭据存储提供程序,以便可以更新或从提供程序和系统 UI 中删除不正确或吊销的凭据。WebGPU:32 位浮点纹理混合。 GPU float32-blendable 功能使具有格式 r32float、 rg32float和 rgba32float 可混合的 GPU 纹理。WebGPU:从 GPU 设备公开 GPUAdapterInfo。 GPU 设备adapterInfo属性公开与 对象相同GPUAdapterInfoGPUAdapter。WebGPU:纹理视图使用情况。 向 WebGPU 纹理视图创建添加可选字段,以从源纹理请求使用标志的子集。默认情况下,纹理视图用法继承自源纹理,但有些视图格式可能与完整的继承用法集不兼容。 将使用情况字段添加到纹理视图创建后,用户可请求源纹理的一部分用法,这些用法对视图格式有效,并且特定于其纹理视图的预期用法。WebGPU 实现还可以优化低级别资源的创建,并在使用具有更专用的使用情况标志的视图时提高性能。新源试用版:Document-Isolation-Policy。 文档隔离策略允许文档自行启用crossOriginIsolation,而无需部署 COOP 或 COEP,也无需考虑crossOriginIsolation页面的状态。 策略由进程隔离提供支持。 此外,文档非 CORS 跨源子资源要么在没有凭据的情况下加载,要么需要具有 CORP 标头。新源试用版:带有 Magic 注释的显式编译提示。 此功能允许附加有关应在 JavaScript 文件中预先分析和编译哪些函数的信息。 该信息编码为 magic 注释。 navigator.storage 不再是 EventTarget。 navigator.storage 为存储压力事件创建 , EventTarget 该事件从未超过原型阶段。 删除此死代码,因此 navigator.storage 将不再扩展 EventTarget。删除前缀 HTMLVideoElement 全屏 API。 已从 Microsoft Edge 中弃用带前缀的 HTMLVideoElement 全屏 API。它们已替换为 Element.requestFullscreen() API。 截至 2024 年,大多数浏览器都支持未设置的 API 数年。Microsoft Edge 132 从 HTMLVideoElement中删除以下内容:属性 webkitSupportsFullscreen 。属性 webkitDisplayingFullscreen 。方法 webkitEnterFullscreen() 。方法 webkitExitFullscreen() 。 请注意 FullScreen 中“S”的不同大写。方法 webkitEnterFullScreen() 。方法 webkitExitFullScreen() 。这些方法现在只是新式 API 的别名。 多年来,它们的使用稳步下降。版本 131.0.2903.51:2024 年 11 月 15 日修复了各种 bug 和性能问题。版本 131.0.2903.48:2024 年 11 月 14 日修复了各种 bug 和性能问题。版本 131.0.2903.45:2024 年 11 月 13 日修复了各种 bug 和性能问题。版本 131.0.2903.36:2024 年 11 月 8 日修复了各种 bug 和性能问题,以及功能更新。功能更新对 Kyber 的更改。 Kyber 算法经过少量技术更改进行了标准化,并重命名为模块 Lattice 密钥封装机制 (ML-KEM) 。 ML-KEM 在 BoringSSL 加密库中实现,该库允许依赖于此库的服务部署和利用 ML-KEM。对 ML-KEM 最终版本的更改使其与以前部署的 Kyber 版本不兼容。 由于这种不兼容,Microsoft Edge 中将进行以下更改:Microsoft Edge 从支持 Kyber 切换到 ML-KEM。Microsoft Edge 为混合 ML-KEM (代码点0x11EC) 提供关键共享预测。标志 PostQuantumKeyAgreementEnabled 和 PostQuantumKeyAgreementEnabled 策略适用于 Kyber 和 ML-KEM。Microsoft Edge 将不再支持混合 Kyber (codepoint 0x6399) 。版本 131.0.2903.27:2024 年 11 月 4 日修复了各种 bug 和性能问题。版本 131.0.2903.14:2024 年 10 月 28 日修复了各种 bug 和性能问题。版本 131.0.2903.9:2024 年 10 月 24 日修复了各种 bug 和性能问题、开发通道更新、功能更新、影响更改的站点兼容性以及策略更新。开发频道更新在此 Beta 频道发布之前,以下开发人员通道更新。 这些说明提供有关每个版本中的更改的详细信息。131.0.2863.0 的开发频道更新已上线。 - Microsoft社区中心131.0.2875.0 的开发频道更新已上线。 - Microsoft社区中心131.0.2889.0 的开发频道更新已上线。 - Microsoft社区中心131.0.2903.5 的开发频道更新已上线。 - Microsoft社区中心功能更新事件的 beforeunload “取消”对话框。 Microsoft Edge 更改了事件的已取消对话框 beforeunload 的行为。 在事件处理程序中beforeunload调用event.preventDefault不会阻止显示对话框。 相反, event.returnValue = '' 需要在事件处理程序中 beforeunload 调用 ,以防止取消的对话。 BeforeunloadEventCancelByPreventDefaultEnabled 策略已过时,在 Microsoft Edge 版本 130 后不再有效。通过即时更新轻松获取最新更新。 Microsoft Edge 中的即时更新可确保在离开计算机时自动获取最新的浏览器更新。 你可以继续浏览,知道你已经拥有最新的更新,以确保你的在线安全。 有关详细信息,请参阅在 Microsoft Edge 中获取即时更新 - Microsoft 支持部门。 注意: 此功能面向企业客户提供个人预览版。 将来的功能更新可通过 Microsoft Edge 发行说明获取。影响更改的网站兼容性CSS 定位点定位: anchor-scope。 属性 anchor-scope 允许将定位点名称的可见性限制为给定子树。CSS font-variant-emoji。 font-variant-emoji CSS 属性提供了一种在彩色 (表情符号样式) 和单色 (文本样式) 表情符号之间控制的方法。 也可以通过在每个表情符号代码点之后添加表情符号变体选择器来完成此方法,特别是文本的 U+FE0E 和表情符号的 U+FE0F。CSS 突出显示继承。 使用 CSS 突出显示继承时,CSS 突出显示伪类(如 ::selection 和 ::highlight),通过伪突出显示链而不是元素链继承其属性。 结果是一个更直观的模型,用于继承突出显示的属性。改进了 和 元素的样式结构。 为 和 元素的结构支持更多 CSS 样式,以便在更多公开小组件或可折叠小组件在 Web 上构建的情况下使用这些元素。 具体而言,此更改删除了阻止在这些元素上设置显示属性的限制,并添加了一个 ::details-content 伪元素来设置展开和折叠部分的容器样式。 @page 边距框。 在打印 Web 文档或将其导出为 PDF 时,添加对页边距框的支持。边 @page 距框允许你在页面的边距区域中定义内容,例如,用于提供自定义页眉和页脚,而不是使用浏览器生成的内置页眉和页脚。边距框是在 CSS @page 规则中使用 at-rule 定义的。 边距框的外观和内容使用规则中的 @page CSS 属性指定,包括 content 属性。 还支持计数器进行页码编号。 该规范定义了两个特殊的计数器名称: page 用于当前页码和 pages 总页数。@property支持 语法。 支持已注册自定义属性的语法组件名称。支持 currentcolor 相对颜色语法。 允许使用 from 关键字 (keyword) ) 作为基的 CSS (currentcolor 中的相对颜色。 通过此支持,可以根据元素的文本颜色为该元素的边框、阴影或背景设置补色。此功能还包括以下用例:颜色函数嵌套在 上的 currentcolor依赖项,例如: color-mix (in srgb, rgb(from currentcolor r g b), white)) or rgb(from rgb(from currentcolor 1 g b) b g r)。支持 、clip-pathfill、 stroke和 marker-* 属性的外部 SVG 资源。 此功能添加了对剪辑路径、标记和绘制服务器的外部引用的支持, (fill) 和 stroke 属性。 例如,clip-path: url("resources.svg#myPath")。直接套接字 API。 允许独立Web 应用建立直接传输控制协议 (TCP) 和用户数据报协议, (UDP) 与网络设备和系统的通信,以及侦听和接受传入连接。从 CSP 限制中免除 Speculation-Rules 标头。 汇报推理规则与 CSP 之间的集成,以便 CSP 仅适用于 ,而不适用于 Speculation-Rules 标头。 CSP 的脚本策略旨在防止脚本注入 HTML,而 CSP 威胁模型与 HTTP 标头无关。 此方法允许更轻松地从 CDN 和其他边缘服务器部署推理规则。FedCM 作为存储访问 API 的信任信号。 通过使以前的 FedCM 授予自动批准存储访问请求的有效理由来协调 FedCM 和存储访问 API。当用户向信赖方 (RP) 授予第三方标识提供者 (IdP) 使用其标识的权限时,许多 IdP 需要第三方 Cookie 才能正常运行。 此建议旨在通过更新存储访问 API (SAA) 权限检查,不仅接受存储访问提示提供的权限授予,而且还接受 FedCM 提示符提供的权限授予,从而以私密和安全的方式满足这一要求。此机制的一个关键属性是将授权限制为具有 FedCM 权限策略的 RP 明确允许的情况,对 RP 实施按帧控制,并防止 IdP 的被动监视超出 FedCM 已授予的功能。COOP 值 noopener-allow-popups。 某些源可以包含具有不同级别安全要求的不同应用程序。 在这些情况下,防止在一个应用程序中运行的脚本能够打开另一个同源应用程序的页并编写脚本页可能会很有帮助。在这种情况下,确保文档的打开程序无法编写其脚本,这有利于文档,即使打开者文档是同源文档。 Cross-Origin-Opener-Policy noopener-allow-popups 值允许文档定义该行为。选择分析程序放宽。 此更改使 HTML 分析器允许在 、、 和 之外使用更多标记。此更改支持可 自定义功能,但会首先提供,因为它可以单独完成,并且存在一些兼容性风险。WebGPU:剪辑距离。 添加了可选的 GPU 功能 clip-distances ,该功能允许在顶点着色器输出中设置用户定义的剪辑距离。 对于需要剪裁超出用户定义平面的场景中所有顶点的应用程序(例如许多 CAD 应用程序)而言,此方法非常有用。 WebGPU: GPUCanvasContext getConfiguration()。 使用配置字典调用 后GPUCanvasContext configure(),GPUCanvasContext getConfiguration()方法可用于检查画布上下文配置。 它包括 GPU device、format、、viewFormatsusage、colorSpacetoneMapping、 和 alphaMode 成员。 如 问题 4828 中所述,Web 应用可以使用它检测 WebGPU 中是否支持 HDR 画布。专用辅助角色上的 WebHID。 在专用辅助角色上下文中启用 WebHID。 这样,就可以在单独的线程上实现大量 I/O 和处理来自 HID 设备的数据的性能,有助于减少对main线程的性能影响。WebRTC RTCRtpEncodingParameters.scaleResolutionDownTo。 一个 API,用于将 WebRTC 编码器配置为在输入帧大于指定的 maxWidth 和 maxHeight时缩放输入帧。 此 API 类似于 scaleResolutionDownBy ,只不过解析约束以绝对术语表示 (例如,640x360) 而不是相对术语 (例如,缩减 2) ,避免与动态更改输入帧大小相关的争用条件。删除 CSS 定位点定位属性 inset-area。 根据 CSS 工作组关于将 inset-area. WebGPU Explainer; WebGPU Fundamentals - Teach you the very fundamentals of WebGPU; WebGPU Samples - A set of samples demonstrating the use of the WebGPU API; WebGPU WebGPU Samples. Contribute to webgpu/webgpu-samples development by creating an account on GitHub.
Can't run Hello Triangle sample Issue 339 webgpu/webgpu-samples
After free in Passwords- High CVE-2023-1529: Out of bounds memory access in WebHID- High CVE-2023-1530: Use after free in PDF- High CVE-2023-1531: Use after free in ANGLE- High CVE-2023-1532: Out of bounds read in GPU Video- High CVE-2023-1533: Use after free in WebProtect- High CVE-2023-1534: Out of bounds read in ANGLEVarious fixes from internal audits, fuzzing and other initiatives:- Revert "Cache hypothetical scrollbar thickness"- [M111] preload: Record the metrics of triggered mousedown and mouseover- MediaRecorder: fix duplicate onstart events- Updating XTBs based on .GRDs from branch 5563- [Merge to M111] Use Count histograms to account for longer pervasive payloads list- [M111][infra] Use the actual project in src-side builder configs- [skylab_tests] Update skylab tests cros img version- Fix crash for bogus extensions- [M111] Disable kPreventNavigationWithoutUserInteraction- Updating XTBs based on .GRDs from branch 5563- [M111][Sheriff] Disable flaky customtabs testMultipleActionButtons test- [M111][Sheriff] Disable flaky customtabs tests- Merge "Editing: Disable FastPositionIterator feature" to M111 branch- [M111] Generate conf json for pinpoint only- Disable glShaderBinary in the passthrough cmd decoder.- Remove lingered condition for isolation key w.r.t enable-unsafe-webgpu- Remove BinaryUploadService pointer from RequestHandlerBase- Merge M111: Revert "AXAPI: expose content from aria-describedby as AXCustomContent"- [Autofill] Do not store LegalMessageLines at const ref- [M111] Error if `worker_host_` is not available- Hide the password leak detection dialog before the account chooser is displayed- [M111] Don't discard pages that have user edits- [Merge to M111] Fix IPH parameterized string resolution when ANDROID_SCROLL_OPTIMIZATIONS is disabled- Revert "5563: Move most/all fuchsia arm64 tests to the temporary LIFO swarming pool"- Track whether a frame has had user-initiated edits in PerformanceManager- [Merge-M111][WhatsNew] Fix transition crash from DetailView to TableView- Roll src/third_party/libwebp/src/ 603e8d7ad..fd7b5d484 (2 commits)- [M-111] hid: Handle empty input reportsGoogle Chrome 111.0.5563.64Security Fixes:- High CVE-2023-1213: Use after free in Swiftshader. Reported by Jaehun Jeong(@n3sk) of Theori on 2023-01-30- High CVE-2023-1214: Type Confusion inwebgpu-samples/ at main - GitHub
The creator Ivan is on HN as well, stating that he made almost $1 million in a year with this site. Very inspiring. And of course PhotoPea itself is fantastic, essential for every digital designer. If he adds support for AI quick sketching (using LCMs), he can leapfrog Photoshop. Other companies have raised $50M for this, but he can absolutely bootstrap it. Especially if webgpu enables it. It's a free alternative to a relatively expensive and clunky-to-install tool. It's popular, the first result when searching "online photoshop". And it has ads.With a non-technical demographic, ad-blocker percentage is lower and you can make a lot of revenue. He made $1m by somehow evading Adobe's litigation against him.It's quite a feat and amazing. It's a direct clone of Photoshop and I have no idea how it has been up for so long. There is no legal doctrine under which Adobe could sue him over copying the functionality of Photoshop. So why can I not copy an Adobe Photoshop CD then? Do I have to delete some code on it first?Why are people constantly sued for the likeness of logos? Colours? Text?Why are open source, from scratch, video games sources of open ended lengths of litigation? But what if they changed the polygon count on all assets? Still free? Changing the polygons wouldn’t be enough. You would need to change architecture, textures, colors, story lines, game play and any number of things that define a unique work. People work hard to build brands. If they are successful they have the money to defend them from more vectors than most can anticipate.Everything is a moving window … Many of these questions are answered by big legal cases with lots of money behind them … Or one person that tries it, and test the reasoning against market and law. Such person will incur much risk for potential big reward. You may be interested in reading on Overton’s window. Always be aware of consequences to this type of “efficient” thinking and your intentions for doing so. If you stay within the window the legal cases to. WebGPU Explainer; WebGPU Fundamentals - Teach you the very fundamentals of WebGPU; WebGPU Samples - A set of samples demonstrating the use of the WebGPU API; WebGPUGitHub - xjGafi/webgpu-samples: WebGPU 模版,采用
CVE-2023-0698: Out of bounds read in WebRTC- Medium CVE-2023-0699: Use after free in GPU- Medium CVE-2023-0700: Inappropriate implementation in Download- Medium CVE-2023-0701: Heap buffer overflow in WebUI- Medium CVE-2023-0702: Type Confusion in Data Transfer- Medium CVE-2023-0703: Type Confusion in DevTools- Low CVE-2023-0704: Insufficient policy enforcement in DevTools- Low CVE-2023-0705: Integer overflow in CoreVarious fixes from internal audits, fuzzing and other initiatives:- Revert "[editing] adjust selection to avoid select `user-select:none` element when triple-click"- Fix “Change Password on Website” crash- Updating XTBs based on .GRDs from branch 5481- [Merge to M110] Add timing histograms to estimate the impact of ClosedTabCache- [DefaultOffline]: New fonts and remove border radius- Remove lingered condition for isolation key w.r.t enable-unsafe-webgpu.- [Merge to M110] Prerender: Record events on PrerenderPageLoadMetricsObserver in UMA- [CrOS Network] Fix flaky tether dialog test- [M110] breadcrumbs: fix previous session event overrun- [M110] Show partial view even when download events are observed by extensionsGoogle Chrome 109.0.5414.119- Various fixes from internal audits, fuzzing and other initiativesGoogle Chrome 109.0.5414.87Security Fixes and Rewards:- High CVE-2023-0128: Use after free in Overview Mode- High CVE-2023-0129: Heap buffer overflow in Network Service- Medium CVE-2023-0130: Inappropriate implementation in Fullscreen API- Medium CVE-2023-0131: Inappropriate implementation in iframe Sandbox- Medium CVE-2023-0132: Inappropriate implementation in Permission prompts- Medium CVE-2023-0133: Inappropriate implementation in Permission prompts- Medium CVE-2023-0134: Use after free in Cart- Medium CVE-2023-0135: Use after free in Cart- Medium CVE-2023-0136: Inappropriate implementation in Fullscreen API- Medium CVE-2023-0137: Heap buffer overflow in Platform Apps- Low CVE-2023-0138: Heap buffer overflow in libphonenumber- Low CVE-2023-0139: Insufficient validation of untrusted input in Downloads- Low CVE-2023-0140: Inappropriate implementation in File System API- Low CVE-2023-0141: Insufficient policy enforcement in CORSAs usual, our ongoing internal security work was responsible for a wide range of fixes:- Various fixes from internal audits, fuzzing and other initiativesGoogle Chrome 108.0.5339.124Security fixes:- High CVE-2022-4436: Use after freeComments
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.Engines and libraries ⚙️NameStarsLast CommitDescriptionthree.jsJavaScript 3D librarystack.glan open software ecosystem for WebGL, built on top of browserify and npm.PixiJSSuper fast HTML 5 2D rendering engine that uses webGL with canvas fallbackPexPex is a javascript 3d library / engine allowing for seamless development between Plask and WebGL in the browser.Babylon.jsa complete JavaScript framework for building 3D games with HTML 5 and WebGLFilamentFilament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS and WASM/WebGLClayGLA WebGL graphic library helping you to build scalable Web3D applicationsAwayJSAwayJS is a graphics library for javascript written in typescriptSceneJSAn extensible WebGL-based engine for high-detail 3D visualisationBlend4Weba tool for interactive 3D visualization on the InternetPlayCanvasJavaScript game engine built on WebGL and WebVRTurbulenzTurbulenz is a modular 3D and 2D game framework for making HTML5 powered games for browsers, desktops and mobile devices.Hilo3da WebGL Rendering Engine.litesceneA WebGL 3D Engine library with component-based node hierarchy. Used by WebGLStudio.Two.jsA renderer agnostic two-dimensional drawing api for the web.webgl-operateA TypeScript based WebGL rendering framework.RhodoniteRhodonite Web3D Library in TypeScriptZograA simple WebGL2 renderer.LayaAirLayaAir is an open-source 2D/3D engine. LayaAir Engine is designed for high performance games.libGDXDesktop/Android/HTML5/iOS Java game development framework.LittleJSLittleJS is a HTML5 game engine with many features and no dependencies.Galacean EngineA typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.NameStarsLast CommitDescriptiondawnDawn, a WebGPU implementationwgpuSafe and portable GPU abstraction in Rust, implementing WebGPU API.RedGPURedGPU - Javascript webGPU Enginesokol3D-API wrapperwgpuNative WebGPU implementation based on gfx-haldgelA WebGPU engine.YUEPersonal WebGPU based 3D renderer.Simple-GPUFunctional WebGPU.VelloAn experimental GPU compute-centric 2D renderer.GWebGPUEngineA WebGPU Engine for real-time rendering and GPGPU.OrillusionOrillusion is a pure Web3D rendering engine which is fully developed based on the WebGPU standard.SWGPUA complete, fast and fun web game engine with examples.XGPUa higher-level, easy-to-use interface for building rendering engines or processing numeric data.webgpu-rendererA simple renderer implemented by WebGPU, includes a builtin path tracing pipeline.pointsA Generative Art library made in WebGPUWebGPU RaytracerRealtime path tracing via WebGPU compute shadersWebGPU-KitA minimal webGPU toolkit for rendering and compute pipelinesshadeupA language for WebGPU that makes writing shaders easierSundown EngineWebGPU game engine for fun and games.CobaltWebGpu 2D renderer.Toolkits and micro frameworks 🧰NameStarsLast CommitDescriptionreglFast functional WebGLlightgl.jsA lightweight WebGL libraryTWGLA Tiny WebGL helper Libraryp5.jsa new interpretation of Processing, not an emulation or port.Foura slightly higher level graphics API based on WebGL 1.0TDLTDL is a low-level library for WebGL apps (see TWGL)KickJSA WebGL game engine for modern web-browsersnanoglwebgl micro frameworkAlfridA WebGL tool setMediumProgressive WebGL toolkit for artPicoGL.jsA minimal WebGL 2-only rendering libraryO-GLMinimal WebGL frameworkmini-webglMini toy WebGL libraryphenomenon-pxThe fastest way to create pixel shaders.zen-3dJavaScript 3D library.GLOWGLOW is a WebGL wrapper, which focuses on easy creation and use of shaders.HelixA
2025-04-15Lottie-rsA Lottie file toolkit written in Rust. Lottie is a JSON format exported with Bodymovin plugin from Adobe After Effects describing animations. This crate aims to parse, analyze and render this animation format with multiple renderers.SamplesThe following samples are gathered from lottiefiles.com community and lottiefiles.github.io. Creditsgoes to original owners/creators of the files.NamePreviewNamePreviewConfettiNyan CatTechno PenguinDelete AnimationA (5x scaled)B (5x scaled)Bounce StrokesTry it outThe default player implementation uses Bevy to render the animation.Currently supports bevy 0.13.0.cargo r --release -- --input ../../fixtures/ui/drink.jsonThere are some lottie files for demonstration purpose under fixtures/uiBevy support tablebevylottie-rs0.13main / 0.0.1Headless runnerExporting animation headlessly is also supported, aiming to render animations on a server. Currentlyyou can export animation to webp file using the --headless option.cargo r --release -- --input fixtures/ui/drink.json --headlessA webp file with the same name as input JSON will be generated.Feature Incompletion NoticeDue to limitation of webGPU, some features are not supported and listed below.Blend mode: this involves complex texture exchanging and is really hardFont LoadingThis library uses font-toolkit to manage/load/use fonts, whichis also MIT-licensed.If a font is missing or a system default font is used (e.g. monospace), currently lottie-rs willuse Fira Mono as the default fallback if running on architecturethat allows local font loading. For WASM targets, this fallback logic is not present, a matchingfailure will cause the text being skipped.
2025-04-02UsedFixed WebGPU using the incorrect size for booleansFixed a memory leak with some string marshalling functionsIf you are using Silk.NET with an iOS or Android application, please enable trimming and set TrimMode to full. 2.17.1 Hotfix Release 2.17.0 Spring 2023 Update 1 Silk.NET Spring 2023 Update 1Added zero-cost extension methods for ComPtrs, making our DirectX bindings easier to use and higher quality than ever before.Added WebGPU bindings for Dawn and WGPU.Added Direct2D bindings. (massive thank you to @curin)Added DirectComposition bindings. (again, massive preesh to @curin)Added DirectWrite bindings.Added d3d11on12 bindings.Added WGL bindings.Added support for Android 12.Added support for OpenAL disconnect extension. (thanks @okaniku)Added GLFW API constants for ANGLE. (thanks @cyraid)Added extension functions for OpenAL BufferData to make use of AL_EXT_float32 enums.Added ReopenDevices extension for OpenAL Soft. (thanks @LeNitrous)Added BufferCallback extension for OpenAL Soft.Added Vulkan structure chain polymorphism. (thanks @Khitiara for the proposal)Added SDL/GLFW native libraries for Windows on ARM64.Added IsScancodePressed function in Silk.NET Input.Added TopMost in Silk.NET Windowing (thanks @MarioGK)Added EGL display and surface to INativeWindow.Added an explicit check against calling Reset on a window while within the render loop of said window.Added support for multiple native binary candidate paths for a single binding.Improved support for WASM and AOT in the Silk.NET loader.Improved support for Windows on ARM64.Improved Silk.NET.Maths generic specialization codegen.Improved support for DXVK, including a new DXHandle property in INativeWindow for getting Linux HWND equivalents.Improved support for Silk.NET.Windowing under reflection-free NativeAOTUpdated to SDL 2.24.Updated to Vulkan 1.3.246.Updated to DirectStorage 1.1.1.Updated to OpenXR 1.0.27.Updated to Assimp 5.2.5.Updated to latest OpenCL specifications.Updated to latest OpenGL specifications.Updated to latest ImGui.Fixed XInput GetApi not being implemented. (thanks @skyebird189)Fixed TransparentBuffer not being applied correctly without specifying a PreferredBitDepth. (thanks @MarioGK)Fixed wide string marshalling.Fixed string array marshalling on systems where the max DBCS character size is insufficient for UTF8.Fixed Span overloads not calculating the correct length value for ommitted (implicit) length parameters.Fixed copying of native libraries under .NET Framework 4.6.1. (thanks @paralaxsd)Fixed SDL crashing on Android when the screen rotates in some cases.Fixed a memory leak when using GlobalMemory to marshal string arrays instead of StringArrayToPtr. (thanks @Khitiara)Welcome to the biggest update yet! 2.17 Spring
2025-03-28