OLD | NEW |
| (Empty) |
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec
ause of its detrimental effects to the end user's experience. For more help, che
ck https://xhr.spec.whatwg.org/. | |
2 Test of drawArrays with out-of-bounds parameters | |
3 | |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
5 | |
6 Test empty buffer | |
7 PASS context.drawArrays(context.TRIANGLES, 0, 1) generated expected GL error: IN
VALID_OPERATION. | |
8 PASS context.drawArrays(context.TRIANGLES, 0, 10000) generated expected GL error
: INVALID_OPERATION. | |
9 PASS context.drawArrays(context.TRIANGLES, 0, 10000000000000) generated expected
GL error: INVALID_OPERATION. | |
10 PASS context.drawArrays(context.TRIANGLES, 0, -1) generated expected GL error: I
NVALID_VALUE. | |
11 PASS context.drawArrays(context.TRIANGLES, 1, 0) generated expected GL error: NO
_ERROR. | |
12 PASS context.drawArrays(context.TRIANGLES, -1, 0) generated expected GL error: I
NVALID_VALUE. | |
13 PASS context.drawArrays(context.TRIANGLES, 0, 0) generated expected GL error: NO
_ERROR. | |
14 PASS context.drawArrays(context.TRIANGLES, 100, 0) generated expected GL error:
NO_ERROR. | |
15 PASS context.drawArrays(context.TRIANGLES, 1, -1) generated expected GL error: I
NVALID_VALUE. | |
16 PASS context.drawArrays(context.TRIANGLES, -1, 1) generated expected GL error: I
NVALID_VALUE. | |
17 | |
18 Test buffer with 3 float vectors | |
19 PASS context.drawArrays(context.TRIANGLES, 0, 3) generated expected GL error: NO
_ERROR. | |
20 PASS context.drawArrays(0x0009, 0, 3) generated expected GL error: INVALID_ENUM. | |
21 PASS context.drawArrays(context.TRIANGLES, 3, 2) generated expected GL error: IN
VALID_OPERATION. | |
22 PASS context.drawArrays(context.TRIANGLES, 0, 10000) generated expected GL error
: INVALID_OPERATION. | |
23 PASS context.drawArrays(context.TRIANGLES, 0, 10000000000000) generated expected
GL error: INVALID_OPERATION. | |
24 PASS context.drawArrays(context.TRIANGLES, 0, -1) generated expected GL error: I
NVALID_VALUE. | |
25 PASS context.drawArrays(context.TRIANGLES, -1, 0) generated expected GL error: I
NVALID_VALUE. | |
26 PASS context.drawArrays(context.TRIANGLES, 0, 0) generated expected GL error: NO
_ERROR. | |
27 PASS context.drawArrays(context.TRIANGLES, 100, 0) generated expected GL error:
NO_ERROR. | |
28 PASS context.drawArrays(context.TRIANGLES, 1, -1) generated expected GL error: I
NVALID_VALUE. | |
29 PASS context.drawArrays(context.TRIANGLES, -1, 1) generated expected GL error: I
NVALID_VALUE. | |
30 | |
31 Test buffer with interleaved (3+2) float vectors | |
32 PASS context.drawArrays(context.TRIANGLES, 0, 9) generated expected GL error: NO
_ERROR. | |
33 PASS context.drawArrays(context.TRIANGLES, 0, -500) generated expected GL error:
INVALID_VALUE. | |
34 PASS context.drawArrays(context.TRIANGLES, -200, 1) generated expected GL error:
INVALID_VALUE. | |
35 PASS context.drawArrays(context.TRIANGLES, -200, -500) generated expected GL err
or: INVALID_VALUE. | |
36 PASS context.drawArrays(context.TRIANGLES, 0, 0xffffffff) generated expected GL
error: INVALID_VALUE. | |
37 PASS context.drawArrays(context.TRIANGLES, 0xffffffff, 1) generated expected GL
error: INVALID_VALUE. | |
38 PASS context.drawArrays(context.TRIANGLES, 0xffffffff, 0xffffffff) generated exp
ected GL error: INVALID_VALUE. | |
39 PASS context.drawArrays(context.TRIANGLES, 0, 200) generated expected GL error:
INVALID_OPERATION. | |
40 PASS context.drawArrays(context.TRIANGLES, 0, 0x7fffffff) generated expected GL
error: INVALID_OPERATION. | |
41 PASS context.drawArrays(context.TRIANGLES, 0x7fffffff, 1) generated expected GL
error: INVALID_OPERATION. | |
42 PASS context.drawArrays(context.TRIANGLES, 0x7fffffff, 0x7fffffff) generated exp
ected GL error: INVALID_OPERATION. | |
43 | |
44 PASS successfullyParsed is true | |
45 | |
46 TEST COMPLETE | |
47 | |
OLD | NEW |