Home
last modified time | relevance | path

Searched refs:indexBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
DGroup.java32 private ShortBuffer indexBuffer = null; field in MaterialIndices
34 public MaterialIndices(Material material, ShortBuffer indexBuffer) { in MaterialIndices() argument
36 this.indexBuffer = indexBuffer; in MaterialIndices()
44 return indexBuffer; in getIndexBuffer()
109 ShortBuffer indexBuffer = matIdx.getIndexBuffer(); in getNumTriangles() local
110 numTriangles += indexBuffer.capacity()/3; in getNumTriangles()
135 ShortBuffer indexBuffer = matIdx.getIndexBuffer(); in draw() local
144 indexBuffer.capacity(), in draw()
146 indexBuffer); in draw()
/frameworks/base/opengl/libs/GLES2_dbg/src/
Ddbgcontext.cpp40 , hasNonVBOAttribs(false), indexBuffers(NULL), indexBuffer(NULL) in DbgContext()
359 indexBuffer = NULL; in glBindBuffer()
363 indexBuffer = NULL; in glBindBuffer()
367 indexBuffer = b; in glBindBuffer()
372 if (!indexBuffer) in glBindBuffer()
373 indexBuffer = indexBuffers = new VBO(buffer, target, indexBuffers); in glBindBuffer()
380 assert(indexBuffer); in glBufferData()
382 indexBuffer->size = size; in glBufferData()
383 indexBuffer->data = realloc(indexBuffer->data, size); in glBufferData()
384 memcpy(indexBuffer->data, data, size); in glBufferData()
[all …]
Dvertex.cpp113 if (!ctx->indexBuffer) in FetchIndexed()
137 if (dbg->indexBuffer) { in Debug_glDrawElements()
138 FetchIndexed(count, (unsigned char *)dbg->indexBuffer->data + in Debug_glDrawElements()
144 if (dbg->indexBuffer) { in Debug_glDrawElements()
145 FetchIndexed(count, (unsigned short *)((char *)dbg->indexBuffer->data + in Debug_glDrawElements()
Dheader.h120 VBO * indexBuffer; // currently bound index buffer member