1 This test verifies the functionality of the OES_vertex_array_object extension, if it is available.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS WebGL context exists
7 Testing binding enum with extension disabled
8 PASS getError was expected value: INVALID_ENUM : VERTEX_ARRAY_BINDING_OES should not be queryable if extension is disabled
9 PASS Successfully enabled OES_vertex_array_object extension
10 PASS OES_vertex_array_object listed as supported and getExtension succeeded
11 Testing binding enum with extension enabled
12 PASS ext.VERTEX_ARRAY_BINDING_OES is 0x85B5
13 PASS getError was expected value: NO_ERROR : VERTEX_ARRAY_BINDING_OES query should succeed if extension is enable
14 PASS Default value of VERTEX_ARRAY_BINDING_OES is null
16 PASS gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is null
17 PASS gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is expected VAO
18 PASS gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is expected VAO
19 PASS gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is null
20 PASS getError was expected value: INVALID_OPERATION : binding a deleted vertex array object
21 PASS gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is null
22 Testing object creation
23 PASS getError was expected value: NO_ERROR : createVertexArrayOES should not set an error
25 PASS ext.isVertexArrayOES(vao) is false
26 PASS ext.isVertexArrayOES(vao) is true
27 PASS ext.isVertexArrayOES(vao) is true
28 PASS ext.isVertexArrayOES() is false
29 PASS ext.isVertexArrayOES(null) is false
30 Testing attributes work across bindings
31 PASS All attributes preserved across bindings
32 Testing that attribute values are not attached to bindings
33 PASS Vertex attribute values are not attached to bindings
34 Testing draws with various VAO bindings
35 PASS Draw 0 passed pixel test
36 PASS Draw 1 passed pixel test
37 PASS Draw 2 passed pixel test
38 Testing using deleted buffers referenced by VAOs
39 PASS should be 255,0,0,255
40 PASS should be 0,255,0,255
41 PASS should be 0,0,255,255
42 PASS should be 0,255,255,255
43 Testing that VAOs don't effect ARRAY_BUFFER binding.
46 PASS getError was expected value: NO_ERROR : there should be no errors
48 PASS successfullyParsed is true
51 PASS successfullyParsed is true