Lines Matching refs:positionLoc
368 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
387 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
388 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
408 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
498 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
515 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
532 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
562 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
618 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
635 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
642 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangleTopLeft); in testPolygonOffset()
659 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangleBottomRight); in testPolygonOffset()
674 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
770 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
786 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
792 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangleBottomRight); in testPolygonOffset()
811 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangleTopLeft); in testPolygonOffset()
828 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
883 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
899 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
905 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangleTopLeft); in testPolygonOffset()
924 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangleBottomRight); in testPolygonOffset()
941 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
1000 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
1016 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
1021 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
1038 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
1122 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
1137 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
1149 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangles[0]); in testPolygonOffset()
1165 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangles[1]); in testPolygonOffset()
1175 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()