Home | History | Annotate | Download | only in functional

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))
600 GLuint vao = 0;
602 GLU_CHECK_CALL(glGenVertexArrays(1, &vao));
603 GLU_CHECK_CALL(glBindVertexArray(vao));
604 setState(m_spec.vao);
609 GLU_CHECK_CALL(glBindVertexArray(vao));
611 makeDrawCall(m_spec.vao);
613 setState(m_spec.vao);
623 setState(m_spec.vao);
625 makeDrawCall(m_spec.vao);
644 logVertexArrayState(m_log, m_spec.vao, "Vertex Array Object State");
751 m_spec.vao.elementArrayBuffer = 0;
777 m_spec.vao.attributes.push_back(Attribute());
778 m_spec.vao.attributes[attribNdx].enabled = (m_random.getInt(0, 4) == 0) ? GL_FALSE : GL_TRUE;
779 m_spec.vao.attributes[attribNdx].size = m_random.getInt(2,4);
780 m_spec.vao.attributes[attribNdx].stride = 2*m_random.getInt(1, 3);
781 m_spec.vao.attributes[attribNdx].type = GL_SHORT;
782 m_spec.vao.attributes[attribNdx].integer = m_random.getBool();
783 m_spec.vao.attributes[attribNdx].divisor = m_random.getInt(0, 1);
784 m_spec.vao.attributes[attribNdx].offset = 2*m_random.getInt(0, 2);
785 m_spec.vao.attributes[attribNdx].normalized = m_random.getBool();
786 m_spec.vao.attributes[attribNdx].bufferNdx = attribCount - attribNdx;
790 m_spec.vao.attributes[attribNdx].divisor = 0;
791 m_spec.vao.attributes[attribNdx].enabled = GL_TRUE;
792 m_spec.vao.attributes[attribNdx].size = 2;
820 m_vaoProgram = createProgram(m_spec.vao);
830 if (m_spec.useDrawElements && (m_spec.vao.elementArrayBuffer == 0 || m_spec.state.elementArrayBuffer == 0))
1177 GLuint vao = 0;
1179 GLU_CHECK_CALL(glGenVertexArrays(1, &vao));
1180 GLU_CHECK_CALL(glBindVertexArray(vao));
1181 setState(m_spec.vao);
1186 GLU_CHECK_CALL(glBindVertexArray(vao));
1188 makeDrawCall(m_spec.vao);
1190 setState(m_spec.vao);
1200 setState(m_spec.vao);
1202 makeDrawCall(m_spec.vao);
1221 logVertexArrayState(m_log, m_spec.vao, "Vertex Array Object State");
1282 spec.vao = state;
1291 spec.vao.attributes[0].bufferNdx = 2;
1319 spec.vao = state;
1328 spec.vao.attributes[0].size = 3;
1357 spec.vao = state;
1365 spec.vao.attributes[0].stride = 2;
1395 spec.vao = state;
1403 spec.vao.attributes[0].type = GL_SHORT;
1431 spec.vao = state;
1441 spec.vao.attributes[0].integer = GL_TRUE;
1481 spec.vao = state;
1489 spec.vao.attributes[1].divisor = 3;
1519 spec.vao = state;
1527 spec.vao.attributes[0].offset = 2;
1556 spec.vao = state;
1564 spec.vao.attributes[0].normalized = GL_TRUE;
1595 spec.vao = state;
1605 spec.vao.elementArrayBuffer = 2;