From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../checkout/conformance/state/00_test_list.txt | 8 + .../checkout/conformance/state/diffs.txt | 69 +++++++ .../conformance/state/gl-enable-enum-test.html | 161 +++++++++++++++ .../checkout/conformance/state/gl-enum-tests.html | 50 +++++ .../checkout/conformance/state/gl-get-calls.html | 219 +++++++++++++++++++++ .../checkout/conformance/state/gl-geterror.html | 99 ++++++++++ .../checkout/conformance/state/gl-getstring.html | 81 ++++++++ .../conformance/state/gl-initial-state.html | 79 ++++++++ .../conformance/state/gl-object-get-calls.html | 47 +++++ .../state/state-uneffected-after-compositing.html | 107 ++++++++++ 10 files changed, 920 insertions(+) create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/00_test_list.txt create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/diffs.txt create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/gl-enable-enum-test.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/gl-enum-tests.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/gl-get-calls.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/gl-geterror.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/gl-getstring.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/gl-initial-state.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/gl-object-get-calls.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/state/state-uneffected-after-compositing.html (limited to 'dom/canvas/test/webgl-conf/checkout/conformance/state') diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/00_test_list.txt b/dom/canvas/test/webgl-conf/checkout/conformance/state/00_test_list.txt new file mode 100644 index 000000000..a76c2f09f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/00_test_list.txt @@ -0,0 +1,8 @@ +gl-enable-enum-test.html +--max-version 1.9.9 gl-enum-tests.html +gl-get-calls.html +gl-geterror.html +--max-version 1.9.9 gl-getstring.html +--min-version 1.0.4 gl-initial-state.html +--max-version 1.9.9 gl-object-get-calls.html +--min-version 1.0.3 state-uneffected-after-compositing.html diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/diffs.txt b/dom/canvas/test/webgl-conf/checkout/conformance/state/diffs.txt new file mode 100644 index 000000000..24a17204f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/diffs.txt @@ -0,0 +1,69 @@ +4c4 +< ** Copyright (c) 2012 The Khronos Group Inc. +--- +> ** Copyright (c) 2015 The Khronos Group Inc. +34c34 +< +--- +> +45,62c45 +< function sizeInBytes(type) { +< switch (type) { +< case gl.BYTE: +< case gl.UNSIGNED_BYTE: +< return 1; +< case gl.SHORT: +< case gl.UNSIGNED_SHORT: +< return 2; +< case gl.INT: +< case gl.UNSIGNED_INT: +< case gl.FLOAT: +< return 4; +< default: +< throw "unknown type"; +< } +< } +< +< var gl = wtu.create3DContext(); +--- +> var gl = wtu.create3DContext(null, null, 2); +191a175,178 +> var validArray = new Array(gl.COLOR_ATTACHMENT0, gl.DEPTH_ATTACHMENT, gl.STENCIL_ATTACHMENT, gl.DEPTH_STENCIL_ATTACHMENT); +> for (var ii = 1; ii < gl.getParameter(gl.MAX_COLOR_ATTACHMENTS); ++ii) { +> validArray[validArray.length] = gl.COLOR_ATTACHMENT0 + ii; +> } +195,199c182 +< [ gl.COLOR_ATTACHMENT0, +< gl.DEPTH_ATTACHMENT, +< gl.STENCIL_ATTACHMENT, +< gl.DEPTH_STENCIL_ATTACHMENT +< ], +--- +> validArray, +257a241 +> gl.RENDERBUFFER_SAMPLES, +325c309 +< var boolProgram = wtu.loadProgramFromFile(gl, "../resources/boolUniformShader.vert", "../resources/noopUniformShader.frag"); +--- +> var boolProgram = wtu.loadProgramFromFile(gl, "../../conformance/resources/boolUniformShader.vert", "../../conformance/resources/noopUniformShader.frag"); +342c326 +< var intProgram = wtu.loadProgramFromFile(gl, "../resources/intUniformShader.vert", "../resources/noopUniformShader.frag"); +--- +> var intProgram = wtu.loadProgramFromFile(gl, "../../conformance/resources/intUniformShader.vert", "../../conformance/resources/noopUniformShader.frag"); +359c343 +< var floatProgram = wtu.loadProgramFromFile(gl, "../resources/floatUniformShader.vert", "../resources/noopUniformShader.frag"); +--- +> var floatProgram = wtu.loadProgramFromFile(gl, "../../conformance/resources/floatUniformShader.vert", "../../conformance/resources/noopUniformShader.frag"); +376c360 +< var samplerProgram = wtu.loadProgramFromFile(gl, "../resources/noopUniformShader.vert", "../resources/samplerUniformShader.frag"); +--- +> var samplerProgram = wtu.loadProgramFromFile(gl, "../../conformance/resources/noopUniformShader.vert", "../../conformance/resources/samplerUniformShader.frag"); +387c371 +< var matProgram = wtu.loadProgramFromFile(gl, "../resources/matUniformShader.vert", "../resources/noopUniformShader.frag"); +--- +> var matProgram = wtu.loadProgramFromFile(gl, "../../conformance/resources/matUniformShader.vert", "../../conformance/resources/noopUniformShader.frag"); +438c422,423 +< gl.CURRENT_VERTEX_ATTRIB +--- +> gl.CURRENT_VERTEX_ATTRIB, +> gl.VERTEX_ATTRIB_ARRAY_DIVISOR diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-enable-enum-test.html b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-enable-enum-test.html new file mode 100644 index 000000000..c58b26e15 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-enable-enum-test.html @@ -0,0 +1,161 @@ + + + + + + +WebGL gl.ENABLE enums Conformance Tests + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-enum-tests.html b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-enum-tests.html new file mode 100644 index 000000000..96fac1276 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-enum-tests.html @@ -0,0 +1,50 @@ + + + + + + +WebGL gl enums Conformance Tests + + + + + + + +
+
+ + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-get-calls.html b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-get-calls.html new file mode 100644 index 000000000..46677de1f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-get-calls.html @@ -0,0 +1,219 @@ + + + + + + +WebGL gl calls Conformance Tests + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-geterror.html b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-geterror.html new file mode 100644 index 000000000..037abca8f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-geterror.html @@ -0,0 +1,99 @@ + + + + + + +WebGL get error conformance test. + + + + + + + +
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-getstring.html b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-getstring.html new file mode 100644 index 000000000..9e1bb26d0 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-getstring.html @@ -0,0 +1,81 @@ + + + + + + +WebGL gl.getParameter Strings Conformance Tests + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-initial-state.html b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-initial-state.html new file mode 100644 index 000000000..5968299d0 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-initial-state.html @@ -0,0 +1,79 @@ + + + + + + +WebGL gl.getParameter initial values Tests + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-object-get-calls.html b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-object-get-calls.html new file mode 100644 index 000000000..0b3db6642 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/gl-object-get-calls.html @@ -0,0 +1,47 @@ + + + + + + + + + + + +
+
+ + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/state/state-uneffected-after-compositing.html b/dom/canvas/test/webgl-conf/checkout/conformance/state/state-uneffected-after-compositing.html new file mode 100644 index 000000000..e477734a9 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/state/state-uneffected-after-compositing.html @@ -0,0 +1,107 @@ + + + + + + +WebGL: Check that state is not lost by compositing + + + + + + +
+
+ + + + -- cgit v1.2.3