From f599fd5b6fda1766ca2f8cab4ecafc634cafa2a8 Mon Sep 17 00:00:00 2001 From: Ken Russell Date: Tue, 7 May 2024 09:03:48 -0700 Subject: [PATCH] Add drawingBufferFormat to constants-and-properties tests. (#3651) Added: drawingBufferFormat to WebGL 1 and 2 RGB8/RGBA8 to WebGL 1 Tested locally in Chromium. Fixes #3650. --- sdk/tests/conformance/context/constants-and-properties.html | 5 ++++- .../conformance2/context/constants-and-properties-2.html | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk/tests/conformance/context/constants-and-properties.html b/sdk/tests/conformance/context/constants-and-properties.html index ccf128e11b..00247c95a7 100644 --- a/sdk/tests/conformance/context/constants-and-properties.html +++ b/sdk/tests/conformance/context/constants-and-properties.html @@ -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 diff --git a/sdk/tests/conformance2/context/constants-and-properties-2.html b/sdk/tests/conformance2/context/constants-and-properties-2.html index f4e2bfc30e..a384409fca 100644 --- a/sdk/tests/conformance2/context/constants-and-properties-2.html +++ b/sdk/tests/conformance2/context/constants-and-properties-2.html @@ -711,6 +711,7 @@ drawingBufferWidth : "number", drawingBufferHeight : "number", drawingBufferColorSpace : "string", +drawingBufferFormat : "number", unpackColorSpace : "string", canvas : "implementation-dependent" };