Home | History | Annotate | Download | only in bench

Lines Matching refs:GR_GL_CALL

200     GR_GL_CALL(gl, GenBuffers(1, &fVBO));
204 GR_GL_CALL(gl, ClearColor(0.03f, 0.03f, 0.03f, 1.0f));
205 GR_GL_CALL(gl, Clear(GR_GL_COLOR_BUFFER_BIT));
208 GR_GL_CALL(gl, UseProgram(fProgram));
215 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, fVBO));
216 GR_GL_CALL(gl, EnableVertexAttribArray(0));
217 GR_GL_CALL(gl, VertexAttribPointer(0, 4, GR_GL_FLOAT, GR_GL_FALSE, (GrGLsizei)fStride,
223 GR_GL_CALL(gl, EnableVertexAttribArray(attribId));
224 GR_GL_CALL(gl, VertexAttribPointer(attribId, 4, GR_GL_FLOAT, GR_GL_FALSE,
229 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, fVertices.count(), fVertices.begin(),
237 GR_GL_CALL(gl, DrawArrays(GR_GL_TRIANGLES, 0, kVerticesPerTri * triangles));
251 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, 0));
252 GR_GL_CALL(gl, BindTexture(GR_GL_TEXTURE_2D, 0));
253 GR_GL_CALL(gl, BindFramebuffer(GR_GL_FRAMEBUFFER, 0));
254 GR_GL_CALL(gl, DeleteTextures(1, &fTexture));
255 GR_GL_CALL(gl, DeleteProgram(fProgram));
256 GR_GL_CALL(gl, DeleteBuffers(fBuffers.count(), fBuffers.begin()));