Add support for WebGL2 read and draw buffer settings

Adds support for the `ReadBuffer` and `DrawBuffers`
WebGL2 calls and the related parameter getters.

See:

- https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2
- https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4
- https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.11
This commit is contained in:
Mátyás Mustoha 2020-02-25 10:47:59 +01:00
parent e8e0b70266
commit 0afe27ef18
17 changed files with 315 additions and 51 deletions

View file

@ -1,52 +1,46 @@
[methods-2.html]
[WebGL test #2: Property either does not exist or is not a function: readBuffer]
expected: FAIL
[WebGL test #1: Property either does not exist or is not a function: blitFramebuffer]
expected: FAIL
[WebGL test #11: Property either does not exist or is not a function: vertexAttribI4iv]
[WebGL test #7: Property either does not exist or is not a function: compressedTexImage3D]
expected: FAIL
[WebGL test #8: Property either does not exist or is not a function: compressedTexImage3D]
[WebGL test #4: Property either does not exist or is not a function: texStorage3D]
expected: FAIL
[WebGL test #13: Property either does not exist or is not a function: vertexAttribI4uiv]
[WebGL test #11: Property either does not exist or is not a function: vertexAttribI4ui]
expected: FAIL
[WebGL test #16: Property either does not exist or is not a function: drawBuffers]
[WebGL test #2: Property either does not exist or is not a function: texImage3D]
expected: FAIL
[WebGL test #3: Property either does not exist or is not a function: texImage3D]
[WebGL test #12: Property either does not exist or is not a function: vertexAttribI4uiv]
expected: FAIL
[WebGL test #10: Property either does not exist or is not a function: vertexAttribI4i]
[WebGL test #3: Property either does not exist or is not a function: texStorage2D]
expected: FAIL
[WebGL test #9: Property either does not exist or is not a function: compressedTexSubImage3D]
expected: FAIL
[WebGL test #12: Property either does not exist or is not a function: vertexAttribI4ui]
[WebGL test #8: Property either does not exist or is not a function: compressedTexSubImage3D]
expected: FAIL
[WebGL test #0: Property either does not exist or is not a function: isContextLost]
expected: FAIL
[WebGL test #7: Property either does not exist or is not a function: copyTexSubImage3D]
[WebGL test #9: Property either does not exist or is not a function: vertexAttribI4i]
expected: FAIL
[WebGL test #14: Property either does not exist or is not a function: vertexAttribIPointer]
[WebGL test #13: Property either does not exist or is not a function: vertexAttribIPointer]
expected: FAIL
[WebGL test #4: Property either does not exist or is not a function: texStorage2D]
[WebGL test #14: Property either does not exist or is not a function: drawRangeElements]
expected: FAIL
[WebGL test #15: Property either does not exist or is not a function: drawRangeElements]
[WebGL test #5: Property either does not exist or is not a function: texSubImage3D]
expected: FAIL
[WebGL test #6: Property either does not exist or is not a function: texSubImage3D]
[WebGL test #10: Property either does not exist or is not a function: vertexAttribI4iv]
expected: FAIL
[WebGL test #5: Property either does not exist or is not a function: texStorage3D]
[WebGL test #6: Property either does not exist or is not a function: copyTexSubImage3D]
expected: FAIL