Skip to content
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

Add a feature for SAB in WebGL #2067

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions features/webgl-sab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: SharedArrayBuffer in WebGL
description: "`SharedArrayBuffer` objects can be used in WebGL APIs that previously only worked with `ArrayBuffer` objects."
spec:
- https://registry.khronos.org/webgl/specs/latest/1.0/
- https://registry.khronos.org/webgl/specs/latest/2.0/
group: webgl
compat_features:
- api.WebGL2RenderingContext.bufferData.srcData_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.bufferSubData.srcData_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.compressedTexImage2D.pixels_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.compressedTexSubImage2D.srcData_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.readPixels.pixels_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.uniformMatrix2fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.uniformMatrix3fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.uniformMatrix4fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.vertexAttrib1fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.vertexAttrib2fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.vertexAttrib3fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.vertexAttrib4fv.value_param_accepts_SharedArrayBuffer
- api.WebGLRenderingContext.compressedTexImage2D.pixels_param_accepts_SharedArrayBuffer
- api.WebGLRenderingContext.vertexAttrib1fv.value_param_accepts_SharedArrayBuffer
- api.WebGLRenderingContext.vertexAttrib2fv.value_param_accepts_SharedArrayBuffer
- api.WebGLRenderingContext.vertexAttrib3fv.value_param_accepts_SharedArrayBuffer
- api.WebGLRenderingContext.vertexAttrib4fv.value_param_accepts_SharedArrayBuffer
45 changes: 45 additions & 0 deletions features/webgl-sab.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Generated from: webgl-sab.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "60"
chrome_android: "60"
edge: "79"
firefox: "79"
firefox_android: "79"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "60"
# chrome_android: "60"
# edge: "79"
# firefox: "79"
# firefox_android: "79"
- api.WebGL2RenderingContext.bufferData.srcData_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.bufferSubData.srcData_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.compressedTexImage2D.pixels_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.compressedTexSubImage2D.srcData_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.readPixels.pixels_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.uniformMatrix2fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.uniformMatrix3fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.uniformMatrix4fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.vertexAttrib1fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.vertexAttrib2fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.vertexAttrib3fv.value_param_accepts_SharedArrayBuffer
- api.WebGL2RenderingContext.vertexAttrib4fv.value_param_accepts_SharedArrayBuffer

# baseline: false
# support:
# chrome: "60"
# chrome_android: "60"
# edge: ≤79
# firefox: "79"
# firefox_android: "79"
- api.WebGLRenderingContext.compressedTexImage2D.pixels_param_accepts_SharedArrayBuffer
- api.WebGLRenderingContext.vertexAttrib1fv.value_param_accepts_SharedArrayBuffer
- api.WebGLRenderingContext.vertexAttrib2fv.value_param_accepts_SharedArrayBuffer
- api.WebGLRenderingContext.vertexAttrib3fv.value_param_accepts_SharedArrayBuffer
- api.WebGLRenderingContext.vertexAttrib4fv.value_param_accepts_SharedArrayBuffer