Lines Matching refs:gl
24 namespace gl { namespace
67 gl->glEnableVertexAttribArray(m_index); in stateChange()
69 gl->glDisableVertexAttribArray(m_index); in stateChange()
71 EXPECT_EQ(GL_NO_ERROR, gl->glGetError()); in stateChange()
76 gl->glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxAttribs); in selectIndex()
77 EXPECT_EQ(GL_NO_ERROR, gl->glGetError()); in selectIndex()
99 gl->glGetVertexAttribfv(m_index, paramName, &(values[0])); in compareFloatParameter()
100 EXPECT_EQ(GL_NO_ERROR, gl->glGetError()); in compareFloatParameter()
118 gl->glGetVertexAttribiv(m_index, paramName, &(values[0])); in compareIntParameter()
119 EXPECT_EQ(GL_NO_ERROR, gl->glGetError()); in compareIntParameter()
170 gl->glVertexAttrib1fv( in stateChange()
174 gl->glVertexAttrib2fv( in stateChange()
178 gl->glVertexAttrib3fv( in stateChange()
182 gl->glVertexAttrib4fv( in stateChange()
214 gl->glGetVertexAttribPointerv(m_index, GL_VERTEX_ATTRIB_ARRAY_POINTER, in stateCheck()
216 EXPECT_EQ(GL_NO_ERROR, gl->glGetError()); in stateCheck()
223 gl->glVertexAttribPointer(m_index, changed.size, changed.type, in stateChange()
241 if (gl->glIsBuffer(changed.bufferBinding) == GL_TRUE) { in stateChange()
242 gl->glBindBuffer(GL_ARRAY_BUFFER, changed.bufferBinding); in stateChange()
243 EXPECT_EQ(GL_NO_ERROR, gl->glGetError()) in stateChange()
246 gl->glGetIntegerv(GL_ARRAY_BUFFER_BINDING, &bindresult); in stateChange()
247 EXPECT_EQ(GL_NO_ERROR, gl->glGetError()); in stateChange()
257 gl->glBindBuffer(GL_ARRAY_BUFFER, 0); in stateChange()
258 EXPECT_EQ(GL_NO_ERROR, gl->glGetError()); in stateChange()
261 gl->glGetIntegerv(GL_ARRAY_BUFFER_BINDING, &bindresult); in stateChange()
262 EXPECT_EQ(GL_NO_ERROR, gl->glGetError()); in stateChange()
297 GLuint buffer = createBuffer(gl, data); in TEST_F()