Lines Matching refs:positionLoc
545 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
554 ctx.enableVertexAttribArray (positionLoc); in testRender()
555 ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &m_points[0]); in testRender()
559 ctx.disableVertexAttribArray (positionLoc); in testRender()
684 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
692 ctx.enableVertexAttribArray (positionLoc); in testRender()
694 …ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_lines[0].p0); in testRender()
698 ctx.disableVertexAttribArray (positionLoc); in testRender()
913 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
921 ctx.enableVertexAttribArray (positionLoc); in testRender()
923 …ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_polys[0].p0); in testRender()
926 ctx.disableVertexAttribArray (positionLoc); in testRender()
1144 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in render() local
1170 ctx.enableVertexAttribArray (positionLoc); in render()
1172 …ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_triangles[0]… in render()
1175 ctx.disableVertexAttribArray (positionLoc); in render()