Lines Matching refs:GL_CALL
14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) macro
56 GL_CALL(DeleteVertexArrays(1, &fVertexArrayID)); in ~GLInstancedRendering()
89 GL_CALL(GenVertexArrays(1, &fVertexArrayID)); in onBeginFlush()
97 GL_CALL(BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, in onBeginFlush()
102 GL_CALL(EnableVertexAttribArray((int)Attrib::kShapeCoords)); in onBeginFlush()
103 GL_CALL(VertexAttribPointer((int)Attrib::kShapeCoords, 2, GR_GL_FLOAT, GR_GL_FALSE, in onBeginFlush()
105 GL_CALL(EnableVertexAttribArray((int)Attrib::kVertexAttrs)); in onBeginFlush()
106 GL_CALL(VertexAttribIPointer((int)Attrib::kVertexAttrs, 1, GR_GL_INT, sizeof(ShapeVertex), in onBeginFlush()
238 GL_CALL(MultiDrawElementsIndirect(GR_GL_TRIANGLES, GR_GL_UNSIGNED_BYTE, in onDraw()
249 GL_CALL(DrawElementsIndirect(GR_GL_TRIANGLES, GR_GL_UNSIGNED_BYTE, in onDraw()
253 GL_CALL(DrawElementsInstanced(GR_GL_TRIANGLES, cmdInfo.fGeometry.fCount, in onDraw()
277 GL_CALL(EnableVertexAttribArray((int)Attrib::kInstanceInfo)); in flushInstanceAttribs()
278 GL_CALL(VertexAttribIPointer((int)Attrib::kInstanceInfo, 1, GR_GL_UNSIGNED_INT, in flushInstanceAttribs()
280 GL_CALL(VertexAttribDivisor((int)Attrib::kInstanceInfo, 1)); in flushInstanceAttribs()
283 GL_CALL(EnableVertexAttribArray((int)Attrib::kShapeMatrixX)); in flushInstanceAttribs()
284 GL_CALL(EnableVertexAttribArray((int)Attrib::kShapeMatrixY)); in flushInstanceAttribs()
285 GL_CALL(VertexAttribPointer((int)Attrib::kShapeMatrixX, 3, GR_GL_FLOAT, GR_GL_FALSE, in flushInstanceAttribs()
287 GL_CALL(VertexAttribPointer((int)Attrib::kShapeMatrixY, 3, GR_GL_FLOAT, GR_GL_FALSE, in flushInstanceAttribs()
289 GL_CALL(VertexAttribDivisor((int)Attrib::kShapeMatrixX, 1)); in flushInstanceAttribs()
290 GL_CALL(VertexAttribDivisor((int)Attrib::kShapeMatrixY, 1)); in flushInstanceAttribs()
293 GL_CALL(EnableVertexAttribArray((int)Attrib::kColor)); in flushInstanceAttribs()
294 GL_CALL(VertexAttribPointer((int)Attrib::kColor, 4, GR_GL_UNSIGNED_BYTE, GR_GL_TRUE, in flushInstanceAttribs()
296 GL_CALL(VertexAttribDivisor((int)Attrib::kColor, 1)); in flushInstanceAttribs()
299 GL_CALL(EnableVertexAttribArray((int)Attrib::kLocalRect)); in flushInstanceAttribs()
300 GL_CALL(VertexAttribPointer((int)Attrib::kLocalRect, 4, GR_GL_FLOAT, GR_GL_FALSE, in flushInstanceAttribs()
302 GL_CALL(VertexAttribDivisor((int)Attrib::kLocalRect, 1)); in flushInstanceAttribs()
317 GL_CALL(DeleteVertexArrays(1, &fVertexArrayID)); in onResetGpuResources()