Skip to content

Commit

Permalink
Add drawingBufferFormat to constants-and-properties tests. (KhronosGr…
Browse files Browse the repository at this point in the history
…oup#3651)

Added:
 drawingBufferFormat to WebGL 1 and 2
 RGB8/RGBA8 to WebGL 1

Tested locally in Chromium.

Fixes KhronosGroup#3650.
  • Loading branch information
kenrussell authored May 7, 2024
1 parent 1b63714 commit f599fd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sdk/tests/conformance/context/constants-and-properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,11 @@
drawingBufferWidth : "number",
drawingBufferHeight : "number",
drawingBufferColorSpace : "string",
drawingBufferFormat : "number",
unpackColorSpace : "string",
canvas : "implementation-dependent"
canvas : "implementation-dependent",
RGB8 : "number",
RGBA8 : "number",
};

// Properties to be ignored (as a list of strings) because they were
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@
drawingBufferWidth : "number",
drawingBufferHeight : "number",
drawingBufferColorSpace : "string",
drawingBufferFormat : "number",
unpackColorSpace : "string",
canvas : "implementation-dependent"
};
Expand Down

0 comments on commit f599fd5

Please sign in to comment.