Home
last modified time | relevance | path

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

/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DBuffer.cpp27 mIndexBuffer = NULL; in Buffer()
34 delete mIndexBuffer; in ~Buffer()
64 mIndexBuffer = new StaticIndexBuffer(getDevice()); in bufferData()
72 … if ((mVertexBuffer && mVertexBuffer->size() != 0) || (mIndexBuffer && mIndexBuffer->size() != 0)) in bufferSubData()
94 return mIndexBuffer; in getIndexBuffer()
102 delete mIndexBuffer; in invalidateStaticData()
103 mIndexBuffer = NULL; in invalidateStaticData()
DBuffer.h54 StaticIndexBuffer *mIndexBuffer; variable
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
DIndexDataManager.cpp207 …ice9 *device, UINT size, D3DFORMAT format) : mDevice(device), mBufferSize(size), mIndexBuffer(NULL) in IndexBuffer()
212 …>CreateIndexBuffer(size, D3DUSAGE_DYNAMIC | D3DUSAGE_WRITEONLY, format, pool, &mIndexBuffer, NULL); in IndexBuffer()
223 if (mIndexBuffer) in ~IndexBuffer()
225 mIndexBuffer->Release(); in ~IndexBuffer()
231 return mIndexBuffer; in getBuffer()
236 if (mIndexBuffer) in unmap()
238 mIndexBuffer->Unlock(); in unmap()
255 if (mIndexBuffer) in map()
257 … HRESULT result = mIndexBuffer->Lock(mWritePosition, requiredSpace, &mapPtr, D3DLOCK_NOOVERWRITE); in map()
276 if (mIndexBuffer) in reserveSpace()
[all …]
DIndexDataManager.h49 IDirect3DIndexBuffer9 *mIndexBuffer; variable
/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 …]