Implement gl.getParameter(gl.MAX_VIEWPORT_DIMS)

This commit is contained in:
Anthony Ramine 2018-07-08 01:49:23 +02:00
parent 0e6bec65bb
commit 31774e9203
6 changed files with 24 additions and 21 deletions

View file

@ -1,12 +1,4 @@
[drawingbuffer-static-canvas-test.html]
type: testharness
expected: ERROR
[WebGL test #5: maxSize[0\] > 0 should be true. Threw exception TypeError: maxSize is null]
expected: FAIL
[WebGL test #6: maxSize[1\] > 0 should be true. Threw exception TypeError: maxSize is null]
expected: FAIL
[WebGL test #7: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL
expected: CRASH

View file

@ -1,6 +1,4 @@
[drawingbuffer-test.html]
type: testharness
expected: ERROR
[WebGL test #3: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL
expected: CRASH

View file

@ -3,15 +3,6 @@
[WebGL test #20: context.getParameter(context.COMPRESSED_TEXTURE_FORMATS) is not an instance of Uint32Array]
expected: FAIL
[WebGL test #99: context.getParameter(context.MAX_VIEWPORT_DIMS)[0\] >= window.screen.width should be true. Threw exception TypeError: context.getParameter(...) is null]
expected: FAIL
[WebGL test #100: context.getParameter(context.MAX_VIEWPORT_DIMS)[1\] >= window.screen.height should be true. Threw exception TypeError: context.getParameter(...) is null]
expected: FAIL
[WebGL test #101: context.getParameter(context.MAX_VIEWPORT_DIMS) is not an instance of Int32Array]
expected: FAIL
[WebGL test #310: context.getError() should be 0. Was 1280.]
expected: FAIL