Lines Matching refs:positionLoc
542 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
551 ctx.enableVertexAttribArray (positionLoc); in testRender()
552 ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &m_points[0]); in testRender()
556 ctx.disableVertexAttribArray (positionLoc); in testRender()
681 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
689 ctx.enableVertexAttribArray (positionLoc); in testRender()
691 …ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_lines[0].p0); in testRender()
695 ctx.disableVertexAttribArray (positionLoc); in testRender()
909 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
917 ctx.enableVertexAttribArray (positionLoc); in testRender()
919 …ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_polys[0].p0); in testRender()
922 ctx.disableVertexAttribArray (positionLoc); in testRender()
1140 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in render() local
1166 ctx.enableVertexAttribArray (positionLoc); in render()
1168 …ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_triangles[0]… in render()
1171 ctx.disableVertexAttribArray (positionLoc); in render()