Home
last modified time | relevance | path

Searched refs:mIndexBuffer (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/src/OpenGL/libGLES_CM/
DIndexDataManager.cpp154 StreamingIndexBuffer::StreamingIndexBuffer(unsigned int initialSize) : mIndexBuffer(nullptr), mBuff… in StreamingIndexBuffer()
158 mIndexBuffer = new sw::Resource(initialSize + 16); in StreamingIndexBuffer()
160 if(!mIndexBuffer) in StreamingIndexBuffer()
171 if(mIndexBuffer) in ~StreamingIndexBuffer()
173 mIndexBuffer->destruct(); in ~StreamingIndexBuffer()
181 if(mIndexBuffer) in map()
183 mapPtr = (char*)mIndexBuffer->lock(sw::PUBLIC) + mWritePosition; in map()
200 if(mIndexBuffer) in unmap()
202 mIndexBuffer->unlock(); in unmap()
210 if(mIndexBuffer) in reserveSpace()
[all …]
DIndexDataManager.h50 sw::Resource *mIndexBuffer;
/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp373 StreamingIndexBuffer::StreamingIndexBuffer(size_t initialSize) : mIndexBuffer(NULL), mBufferSize(in… in StreamingIndexBuffer()
377 mIndexBuffer = new sw::Resource(initialSize + 16); in StreamingIndexBuffer()
379 if(!mIndexBuffer) in StreamingIndexBuffer()
390 if(mIndexBuffer) in ~StreamingIndexBuffer()
392 mIndexBuffer->destruct(); in ~StreamingIndexBuffer()
400 if(mIndexBuffer) in map()
402 mapPtr = (char*)mIndexBuffer->lock(sw::PUBLIC) + mWritePosition; in map()
419 if(mIndexBuffer) in unmap()
421 mIndexBuffer->unlock(); in unmap()
429 if(mIndexBuffer) in reserveSpace()
[all …]
DIndexDataManager.h53 sw::Resource *mIndexBuffer;
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java46 private CharBuffer mIndexBuffer; field in Grid
110 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount) in Grid()
136 mIndexBuffer.put(i++, a); in Grid()
137 mIndexBuffer.put(i++, b); in Grid()
138 mIndexBuffer.put(i++, c); in Grid()
140 mIndexBuffer.put(i++, b); in Grid()
141 mIndexBuffer.put(i++, c); in Grid()
142 mIndexBuffer.put(i++, d); in Grid()
247 GL10.GL_UNSIGNED_SHORT, mIndexBuffer.position(startIndex)); in drawStrip()
265 GL10.GL_UNSIGNED_SHORT, mIndexBuffer); in draw()
[all …]