Lines Matching refs:attribLoc
321 GLint attribLoc = glGetAttribLocation(program, "testAttrib"); in TEST_P() local
323 ASSERT_NE(-1, attribLoc); in TEST_P()
331 glEnableVertexAttribArray(attribLoc); in TEST_P()
332 glVertexAttribPointer(attribLoc, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, nullptr); in TEST_P()
335 glVertexAttrib4f(attribLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
347 glDisableVertexAttribArray(attribLoc); in TEST_P()
376 GLint attribLoc = glGetAttribLocation(program, "testAttrib"); in TEST_P() local
378 ASSERT_NE(-1, attribLoc); in TEST_P()
382 glVertexAttrib4f(attribLoc + 1, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
383 glVertexAttrib4f(attribLoc + 2, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
456 GLint attribLoc = glGetAttribLocation(program1, "testAttrib"); in TEST_P() local
458 ASSERT_NE(-1, attribLoc); in TEST_P()
467 glVertexAttrib4f(attribLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
486 ASSERT_EQ(attribLoc, glGetAttribLocation(program2, "testAttrib")); in TEST_P()
1244 GLint attribLoc = glGetAttribLocation(program, "valueIn"); in TEST_P() local
1245 ASSERT_NE(-1, attribLoc); in TEST_P()
1257 glVertexAttribPointer(attribLoc, 1, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
1258 glEnableVertexAttribArray(attribLoc); in TEST_P()