blob: 8b345243e3e16815819040a1d12b559fa5194ea9 [file] [log] [blame]
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
Test: ../../resources/webgl_test_files/conformance/extensions/oes-vertex-array-object.html
[ 1: PASS ] WebGL context exists
[ 2: PASS ] getError was expected value: INVALID_ENUM : VERTEX_ARRAY_BINDING_OES should not be queryable if extension is disabled
[ 3: PASS ] Successfully enabled OES_vertex_array_object extension
[ 4: PASS ] OES_vertex_array_object listed as supported and getExtension succeeded
[ 5: PASS ] ext.VERTEX_ARRAY_BINDING_OES is 0x85B5
[ 6: PASS ] getError was expected value: NO_ERROR : VERTEX_ARRAY_BINDING_OES query should succeed if extension is enabled
[ 7: PASS ] Default value of VERTEX_ARRAY_BINDING_OES is null
[ 8: PASS ] gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is null
[ 9: PASS ] gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is expected VAO
[ 10: PASS ] gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is expected VAO
[ 11: PASS ] gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is null
[ 12: PASS ] getError was expected value: INVALID_OPERATION : binding a deleted vertex array object
[ 13: PASS ] gl.getParameter(ext.VERTEX_ARRAY_BINDING_OES) is null
[ 14: PASS ] getError was expected value: NO_ERROR : createVertexArrayOES should not set an error
[ 15: PASS ] vao is non-null.
[ 16: PASS ] ext.isVertexArrayOES(vao) is false
[ 17: PASS ] ext.isVertexArrayOES(vao) is true
[ 18: PASS ] ext.isVertexArrayOES(vao) is true
[ 19: PASS ] ext.isVertexArrayOES(null) is false
[ 20: PASS ] All attributes preserved across bindings
[ 21: PASS ] Vertex attribute values are not attached to bindings
[ 22: PASS ] Drawing with the default VAO should pass
[ 23: PASS ] Drawing with the default VAO should pass
[ 24: PASS ] Drawing with the default VAO should pass
[ 25: PASS ] Drawing with the default VAO should pass
[ 26: PASS ] Drawing with the default VAO should pass
[ 27: PASS ] Drawing with the default VAO should pass
[ 28: PASS ] Drawing with VAO #0 should pass
[ 29: PASS ] Drawing with VAO #0 should pass
[ 30: PASS ] Drawing with VAO #0 should pass
[ 31: PASS ] Drawing with VAO #0 should pass
[ 32: PASS ] Drawing with VAO #0 should pass
[ 33: PASS ] Drawing with VAO #0 should pass
[ 34: PASS ] Drawing with VAO #1 should pass
[ 35: PASS ] Drawing with VAO #1 should pass
[ 36: PASS ] Drawing with VAO #1 should pass
[ 37: PASS ] Drawing with VAO #1 should pass
[ 38: PASS ] Drawing with VAO #1 should pass
[ 39: PASS ] Drawing with VAO #1 should pass
[ 40: PASS ] Drawing with VAO that has the color array disabled should pass
[ 41: PASS ] Drawing with VAO that has the color array disabled should pass
[ 42: PASS ] Drawing with VAO that has the color array disabled should pass
[ 43: PASS ] Drawing with VAO that has the color array disabled should pass
[ 44: PASS ] Drawing with VAO that has the color array disabled should pass
[ 45: PASS ] Drawing with VAO that has the color array disabled should pass
[ 46: PASS ] Drawing after deleting another VAO should pass
[ 47: PASS ] Drawing after deleting another VAO should pass
[ 48: PASS ] Drawing after deleting another VAO should pass
[ 49: PASS ] Drawing after deleting another VAO should pass
[ 50: PASS ] Drawing after deleting another VAO should pass
[ 51: PASS ] Drawing after deleting another VAO should pass
[ 52: PASS ] Drawing after deleting the VAO that was bound should pass
[ 53: PASS ] Drawing after deleting the VAO that was bound should pass
[ 54: PASS ] Drawing after deleting the VAO that was bound should pass
[ 55: PASS ] Drawing after deleting the VAO that was bound should pass
[ 56: PASS ] Drawing after deleting the VAO that was bound should pass
[ 57: PASS ] Drawing after deleting the VAO that was bound should pass
[ 58: PASS ] should be green
[ 59: PASS ] should be green
[ 60: PASS ] should be 255,0,0,255
[ 61: PASS ] should be 0,255,0,255
[ 62: PASS ] should be 0,0,255,255
[ 63: PASS ] should be 0,255,255,255
[ 64: PASS ] getError was expected value: INVALID_OPERATION : Draw call should fail.
[ 65: FAIL ] References from unbound VAOs keep Position buffer alive.
[ 66: FAIL ] References from unbound VAOs keep Color buffer alive
[ 67: PASS ] getError was expected value: NO_ERROR : Draw call should not fail.
[ 68: FAIL ] References from unbound VAOs keep Position buffer alive.
[ 69: FAIL ] References from unbound VAOs keep Color buffer alive
[ 70: PASS ] getError was expected value: NO_ERROR : Draw call should not fail.
[ 71: FAIL ] References from unbound VAOs keep Position buffer alive.
[ 72: FAIL ] References from unbound VAOs keep Color buffer alive
[ 73: PASS ] getError was expected value: NO_ERROR : Draw call should not fail.
[ 74: FAIL ] References from unbound VAOs keep Position buffer alive.
[ 75: FAIL ] References from unbound VAOs keep Color buffer alive
[ 76: PASS ] should be red
[ 77: PASS ] should be green
[ 78: PASS ] getError was expected value: NO_ERROR : there should be no errors
[ 79: PASS ] successfullyParsed is true
[ FAIL ] 8 failures reported