OLD | NEW |
1 Test of drawElements with out-of-bounds parameters | 1 Test of drawElements with out-of-bounds parameters |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 Test empty index buffer | 5 Test empty index buffer |
6 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 0) genera
ted expected GL error: INVALID_OPERATION. | 6 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 0) genera
ted expected GL error: INVALID_OPERATION. |
7 PASS context.drawElements(context.TRIANGLES, 10000, context.UNSIGNED_BYTE, 0) ge
nerated expected GL error: INVALID_OPERATION. | 7 PASS context.drawElements(context.TRIANGLES, 10000, context.UNSIGNED_BYTE, 0) ge
nerated expected GL error: INVALID_OPERATION. |
8 PASS context.drawElements(context.TRIANGLES, 10000000000000, context.UNSIGNED_BY
TE, 0) generated expected GL error: INVALID_OPERATION. | 8 PASS context.drawElements(context.TRIANGLES, 10000000000000, context.UNSIGNED_BY
TE, 0) generated expected GL error: INVALID_OPERATION. |
9 PASS context.drawElements(context.TRIANGLES, -1, context.UNSIGNED_BYTE, 0) gener
ated expected GL error: INVALID_VALUE. | 9 PASS context.drawElements(context.TRIANGLES, -1, context.UNSIGNED_BYTE, 0) gener
ated expected GL error: INVALID_VALUE. |
10 PASS context.drawElements(context.TRIANGLES, 1, context.UNSIGNED_BYTE, 0) genera
ted expected GL error: INVALID_OPERATION. | 10 PASS context.drawElements(context.TRIANGLES, 1, context.UNSIGNED_BYTE, 0) genera
ted expected GL error: INVALID_OPERATION. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 PASS context.drawElements(context.TRIANGLES, 12, context.UNSIGNED_SHORT, 0) gene
rated expected GL error: INVALID_OPERATION. | 45 PASS context.drawElements(context.TRIANGLES, 12, context.UNSIGNED_SHORT, 0) gene
rated expected GL error: INVALID_OPERATION. |
46 PASS context.drawElements(context.TRIANGLES, 15, context.UNSIGNED_SHORT, 0) gene
rated expected GL error: INVALID_OPERATION. | 46 PASS context.drawElements(context.TRIANGLES, 15, context.UNSIGNED_SHORT, 0) gene
rated expected GL error: INVALID_OPERATION. |
47 PASS context.drawElements(context.TRIANGLES, 18, context.UNSIGNED_SHORT, 0) gene
rated expected GL error: INVALID_OPERATION. | 47 PASS context.drawElements(context.TRIANGLES, 18, context.UNSIGNED_SHORT, 0) gene
rated expected GL error: INVALID_OPERATION. |
48 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_SHORT, 2*15) ge
nerated expected GL error: INVALID_OPERATION. | 48 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_SHORT, 2*15) ge
nerated expected GL error: INVALID_OPERATION. |
49 PASS context.drawElements(context.TRIANGLES, 0xffffffff, context.UNSIGNED_SHORT,
0) generated expected GL error: INVALID_VALUE. | 49 PASS context.drawElements(context.TRIANGLES, 0xffffffff, context.UNSIGNED_SHORT,
0) generated expected GL error: INVALID_VALUE. |
50 PASS context.drawElements(context.TRIANGLES, 0x7fffffff, context.UNSIGNED_SHORT,
0) generated expected GL error: INVALID_OPERATION. | 50 PASS context.drawElements(context.TRIANGLES, 0x7fffffff, context.UNSIGNED_SHORT,
0) generated expected GL error: INVALID_OPERATION. |
51 PASS context.drawElements(context.TRIANGLES, 0, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: NO_ERROR. | 51 PASS context.drawElements(context.TRIANGLES, 0, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: NO_ERROR. |
52 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: NO_ERROR. | 52 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: NO_ERROR. |
53 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 1) gener
ated expected GL error: INVALID_OPERATION. | 53 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 1) gener
ated expected GL error: INVALID_OPERATION. |
54 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 2) gener
ated expected GL error: NO_ERROR. | 54 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 2) gener
ated expected GL error: NO_ERROR. |
| 55 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: INVALID_OPERATION. |
55 | 56 |
56 PASS successfullyParsed is true | 57 PASS successfullyParsed is true |
57 | 58 |
58 TEST COMPLETE | 59 TEST COMPLETE |
59 | 60 |
OLD | NEW |