Lines Matching defs:vao
127 VertexArrayState vao;
244 m_vaoProgram = createProgram(m_spec.vao);
254 if (m_spec.useDrawElements && (m_spec.vao.elementArrayBuffer == 0 || m_spec.state.elementArrayBuffer == 0))
608 GLuint vao = 0;
610 GLU_CHECK_CALL(glGenVertexArrays(1, &vao));
611 GLU_CHECK_CALL(glBindVertexArray(vao));
612 setState(m_spec.vao);
617 GLU_CHECK_CALL(glBindVertexArray(vao));
619 makeDrawCall(m_spec.vao);
621 setState(m_spec.vao);
631 setState(m_spec.vao);
633 makeDrawCall(m_spec.vao);
652 logVertexArrayState(m_log, m_spec.vao, "Vertex Array Object State");
759 m_spec.vao.elementArrayBuffer = 0;
785 m_spec.vao.attributes.push_back(Attribute());
786 m_spec.vao.attributes[attribNdx].enabled = (m_random.getInt(0, 4) == 0) ? GL_FALSE : GL_TRUE;
787 m_spec.vao.attributes[attribNdx].size = m_random.getInt(2,4);
788 m_spec.vao.attributes[attribNdx].stride = 2*m_random.getInt(1, 3);
789 m_spec.vao.attributes[attribNdx].type = GL_SHORT;
790 m_spec.vao.attributes[attribNdx].integer = m_random.getBool();
791 m_spec.vao.attributes[attribNdx].divisor = m_random.getInt(0, 1);
792 m_spec.vao.attributes[attribNdx].offset = 2*m_random.getInt(0, 2);
793 m_spec.vao.attributes[attribNdx].normalized = m_random.getBool();
794 m_spec.vao.attributes[attribNdx].bufferNdx = attribCount - attribNdx;
798 m_spec.vao.attributes[attribNdx].divisor = 0;
799 m_spec.vao.attributes[attribNdx].enabled = GL_TRUE;
800 m_spec.vao.attributes[attribNdx].size = 2;
828 m_vaoProgram = createProgram(m_spec.vao);
838 if (m_spec.useDrawElements && (m_spec.vao.elementArrayBuffer == 0 || m_spec.state.elementArrayBuffer == 0))
1185 GLuint vao = 0;
1187 GLU_CHECK_CALL(glGenVertexArrays(1, &vao));
1188 GLU_CHECK_CALL(glBindVertexArray(vao));
1189 setState(m_spec.vao);
1194 GLU_CHECK_CALL(glBindVertexArray(vao));
1196 makeDrawCall(m_spec.vao);
1198 setState(m_spec.vao);
1208 setState(m_spec.vao);
1210 makeDrawCall(m_spec.vao);
1229 logVertexArrayState(m_log, m_spec.vao, "Vertex Array Object State");
1290 spec.vao = state;
1299 spec.vao.attributes[0].bufferNdx = 2;
1327 spec.vao = state;
1336 spec.vao.attributes[0].size = 3;
1365 spec.vao = state;
1373 spec.vao.attributes[0].stride = 2;
1403 spec.vao = state;
1411 spec.vao.attributes[0].type = GL_SHORT;
1439 spec.vao = state;
1449 spec.vao.attributes[0].integer = GL_TRUE;
1489 spec.vao = state;
1497 spec.vao.attributes[1].divisor = 3;
1527 spec.vao = state;
1535 spec.vao.attributes[0].offset = 2;
1564 spec.vao = state;
1572 spec.vao.attributes[0].normalized = GL_TRUE;
1603 spec.vao = state;
1613 spec.vao.elementArrayBuffer = 2;