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