Lines Matching refs:positionLoc
740 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() local
741 if (positionLoc != -1) in setupShaderInputs()
743 glEnableVertexAttribArray(positionLoc); in setupShaderInputs()
744 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
1075 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() local
1076 if (positionLoc != -1) in setupShaderInputs()
1078 glEnableVertexAttribArray(positionLoc); in setupShaderInputs()
1079 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
1415 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() local
1416 if (positionLoc != -1) in setupShaderInputs()
1418 glEnableVertexAttribArray(positionLoc); in setupShaderInputs()
1419 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
1758 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() local
1759 if (positionLoc != -1) in setupShaderInputs()
1761 glEnableVertexAttribArray(positionLoc); in setupShaderInputs()
1762 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()