Home | History | Annotate | Download | only in bench

Lines Matching refs:GR_GL_CALL

236     GR_GL_CALL(gl, GenBuffers(1, &fVboId));
237 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, fVboId));
238 GR_GL_CALL(gl, EnableVertexAttribArray(0));
239 GR_GL_CALL(gl, EnableVertexAttribArray(1));
240 GR_GL_CALL(gl, VertexAttribPointer(0, 2, GR_GL_FLOAT, GR_GL_FALSE, sizeof(Vertex),
242 GR_GL_CALL(gl, VertexAttribPointer(1, 3, GR_GL_FLOAT, GR_GL_FALSE, sizeof(Vertex),
244 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(vertices), vertices, GR_GL_STATIC_DRAW));
263 GR_GL_CALL(gl, UseProgram(fProgram));
270 GR_GL_CALL(gl, DrawArrays(GR_GL_TRIANGLES, 0, kVerticesPerTri * kNumTriPerDraw));
283 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, 0));
284 GR_GL_CALL(gl, BindTexture(GR_GL_TEXTURE_2D, 0));
285 GR_GL_CALL(gl, BindFramebuffer(GR_GL_FRAMEBUFFER, 0));
286 GR_GL_CALL(gl, DeleteTextures(1, &fFboTextureId));
287 GR_GL_CALL(gl, DeleteProgram(fProgram));
288 GR_GL_CALL(gl, DeleteBuffers(1, &fVboId));