Home
last modified time | relevance | path

Searched refs:GR_GL_ARRAY_BUFFER (Results 1 – 11 of 11) sorted by relevance

/external/skia/bench/
DGLInstancedArraysBench.cpp204 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, posVBO)); in setupInstanceVbo()
205 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(positions), positions, GR_GL_STATIC_DRAW)); in setupInstanceVbo()
213 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, instanceVBO)); in setupInstanceVbo()
214 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(colors), colors, GR_GL_STATIC_DRAW)); in setupInstanceVbo()
246 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, posVBO)); in setupDoubleVbo()
250 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(positions), positions, GR_GL_STATIC_DRAW)); in setupDoubleVbo()
254 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, colorVBO)); in setupDoubleVbo()
258 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(colors), colors, GR_GL_STATIC_DRAW)); in setupDoubleVbo()
294 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, vbo)); in setupSingleVbo()
301 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(vertices), vertices, GR_GL_STATIC_DRAW)); in setupSingleVbo()
[all …]
DGLVec4ScalarBench.cpp237 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, fVboId)); in setupSingleVbo()
244 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(vertices), vertices, GR_GL_STATIC_DRAW)); in setupSingleVbo()
283 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, 0)); in teardown()
DGLVertexAttributesBench.cpp215 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, fVBO)); in glDraw()
229 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, fVertices.count(), fVertices.begin(), in glDraw()
251 GR_GL_CALL(gl, BindBuffer(GR_GL_ARRAY_BUFFER, 0)); in teardown()
/external/skia/src/gpu/gl/debug/
DGrGLCreateDebugInterface.cpp80 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target || in debugGLBufferData()
89 case GR_GL_ARRAY_BUFFER: in debugGLBufferData()
575 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target || GR_GL_ELEMENT_ARRAY_BUFFER == target); in debugGLBindBuffer()
583 case GR_GL_ARRAY_BUFFER: in debugGLBindBuffer()
628 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target || in debugGLMapBufferRange()
637 case GR_GL_ARRAY_BUFFER: in debugGLMapBufferRange()
664 case GR_GL_ARRAY_BUFFER: in debugGLMapBuffer()
683 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target || in debugGLUnmapBuffer()
688 case GR_GL_ARRAY_BUFFER: in debugGLUnmapBuffer()
712 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target || in debugGLFlushMappedBufferRange()
[all …]
/external/skia/src/gpu/gl/
DGrGLCreateNullInterface.cpp175 case GR_GL_ARRAY_BUFFER: in nullGLBufferData()
218 case GR_GL_ARRAY_BUFFER: in nullGLBindBuffer()
248 case GR_GL_ARRAY_BUFFER: in nullGLMapBufferRange()
270 case GR_GL_ARRAY_BUFFER: in nullGLMapBuffer()
298 case GR_GL_ARRAY_BUFFER: in nullGLUnmapBuffer()
323 case GR_GL_ARRAY_BUFFER: in nullGLGetBufferParameteriv()
DGrGLBufferImpl.cpp92 SkASSERT(GR_GL_ARRAY_BUFFER == fBufferType || GR_GL_ELEMENT_ARRAY_BUFFER == fBufferType); in updateData()
113 SkASSERT(GR_GL_ARRAY_BUFFER == fBufferType || GR_GL_ELEMENT_ARRAY_BUFFER == fBufferType || in validate()
DSkNullGLContext.cpp173 case GR_GL_ARRAY_BUFFER: in nullGLBufferData()
222 case GR_GL_ARRAY_BUFFER: in nullGLBindBuffer()
264 case GR_GL_ARRAY_BUFFER: in nullGLMapBufferRange()
292 case GR_GL_ARRAY_BUFFER: in nullGLMapBuffer()
326 case GR_GL_ARRAY_BUFFER: in nullGLUnmapBuffer()
357 case GR_GL_ARRAY_BUFFER: in nullGLGetBufferParameteriv()
DGrGLVertexBuffer.cpp15 , fImpl(gpu, desc, GR_GL_ARRAY_BUFFER) { in GrGLVertexBuffer()
DGrGLDefines.h109 #define GR_GL_ARRAY_BUFFER 0x8892 macro
DGrGLGpu.h481 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ARRAY_BUFFER, id)); in setVertexBufferID()
DGrGLGpu.cpp380 BufferData(GR_GL_ARRAY_BUFFER, in createPLSSetupProgram()
1667 BufferData(GR_GL_ARRAY_BUFFER, in onCreateVertexBuffer()
1896 if (GR_GL_ARRAY_BUFFER == type) { in bindBuffer()
1908 if (GR_GL_ARRAY_BUFFER == type) { in releaseBuffer()
3496 BufferData(GR_GL_ARRAY_BUFFER, in createCopyPrograms()
3586 BufferData(GR_GL_ARRAY_BUFFER, in createWireRectProgram()