• Home
  • Raw
  • Download

Lines Matching refs:GLU_CHECK_CALL

229 			GLU_CHECK_CALL(glGenBuffers(1, &buffer));  in init()
232 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, buffer)); in init()
233GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, m_spec.buffers[bufferNdx].size, data, GL_DYNAMIC_DRAW… in init()
234 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, 0)); in init()
260 GLU_CHECK_CALL(glDeleteBuffers((GLsizei)m_buffers.size(), &(m_buffers[0]))); in deinit()
548 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_buffers[state.elementArrayBuffer])); in setState()
552 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_buffers[state.attributes[attribNdx].bufferNdx])); in setState()
554 GLU_CHECK_CALL(glEnableVertexAttribArray(attribNdx)); in setState()
556 GLU_CHECK_CALL(glDisableVertexAttribArray(attribNdx)); in setState()
559GLU_CHECK_CALL(glVertexAttribIPointer(attribNdx, state.attributes[attribNdx].size, state.attribute… in setState()
561GLU_CHECK_CALL(glVertexAttribPointer(attribNdx, state.attributes[attribNdx].size, state.attributes… in setState()
563 GLU_CHECK_CALL(glVertexAttribDivisor(attribNdx, state.attributes[attribNdx].divisor)); in setState()
569 GLU_CHECK_CALL(glClearColor(0.7f, 0.7f, 0.7f, 1.0f)); in makeDrawCall()
570 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in makeDrawCall()
585 GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices)); in makeDrawCall()
587GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices, m_… in makeDrawCall()
592GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GLintptr)m_… in makeDrawCall()
594GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GL… in makeDrawCall()
600 GLU_CHECK_CALL(glDrawArrays(GL_TRIANGLES, 0, m_spec.count)); in makeDrawCall()
602 GLU_CHECK_CALL(glDrawArraysInstanced(GL_TRIANGLES, 0, m_spec.count, m_spec.instances)); in makeDrawCall()
610 GLU_CHECK_CALL(glGenVertexArrays(1, &vao)); in render()
611 GLU_CHECK_CALL(glBindVertexArray(vao)); in render()
613 GLU_CHECK_CALL(glBindVertexArray(0)); in render()
617 GLU_CHECK_CALL(glBindVertexArray(vao)); in render()
618 GLU_CHECK_CALL(glUseProgram(m_vaoProgram->getProgram())); in render()
622 GLU_CHECK_CALL(glBindVertexArray(0)); in render()
624 GLU_CHECK_CALL(glUseProgram(m_stateProgram->getProgram())); in render()
632 GLU_CHECK_CALL(glUseProgram(m_vaoProgram->getProgram())); in genReferences()
637 GLU_CHECK_CALL(glUseProgram(m_stateProgram->getProgram())); in genReferences()
749 GLU_CHECK_CALL(glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &attribCount)); in init()
813 GLU_CHECK_CALL(glGenBuffers(1, &buffer)); in init()
816 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, buffer)); in init()
817GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, m_spec.buffers[bufferNdx].size, data, GL_DYNAMIC_DRAW… in init()
818 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, 0)); in init()
844 GLU_CHECK_CALL(glDeleteBuffers((GLsizei)m_buffers.size(), &(m_buffers[0]))); in deinit()
1133 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_buffers[state.elementArrayBuffer])); in setState()
1137 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_buffers[state.attributes[attribNdx].bufferNdx])); in setState()
1139 GLU_CHECK_CALL(glEnableVertexAttribArray(attribNdx)); in setState()
1141 GLU_CHECK_CALL(glDisableVertexAttribArray(attribNdx)); in setState()
1144GLU_CHECK_CALL(glVertexAttribIPointer(attribNdx, state.attributes[attribNdx].size, state.attribute… in setState()
1146GLU_CHECK_CALL(glVertexAttribPointer(attribNdx, state.attributes[attribNdx].size, state.attributes… in setState()
1148 GLU_CHECK_CALL(glVertexAttribDivisor(attribNdx, state.attributes[attribNdx].divisor)); in setState()
1154 GLU_CHECK_CALL(glClearColor(0.7f, 0.7f, 0.7f, 1.0f)); in makeDrawCall()
1155 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in makeDrawCall()
1162 GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices)); in makeDrawCall()
1164GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices, m_… in makeDrawCall()
1169GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GLintptr)m_… in makeDrawCall()
1171GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GL… in makeDrawCall()
1177 GLU_CHECK_CALL(glDrawArrays(GL_TRIANGLES, 0, m_spec.count)); in makeDrawCall()
1179 GLU_CHECK_CALL(glDrawArraysInstanced(GL_TRIANGLES, 0, m_spec.count, m_spec.instances)); in makeDrawCall()
1187 GLU_CHECK_CALL(glGenVertexArrays(1, &vao)); in render()
1188 GLU_CHECK_CALL(glBindVertexArray(vao)); in render()
1190 GLU_CHECK_CALL(glBindVertexArray(0)); in render()
1194 GLU_CHECK_CALL(glBindVertexArray(vao)); in render()
1195 GLU_CHECK_CALL(glUseProgram(m_vaoProgram->getProgram())); in render()
1199 GLU_CHECK_CALL(glBindVertexArray(0)); in render()
1201 GLU_CHECK_CALL(glUseProgram(m_stateProgram->getProgram())); in render()
1209 GLU_CHECK_CALL(glUseProgram(m_vaoProgram->getProgram())); in genReferences()
1214 GLU_CHECK_CALL(glUseProgram(m_stateProgram->getProgram())); in genReferences()