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