Home
last modified time | relevance | path

Searched refs:mVertexBuffer (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/src/OpenGL/libGLES_CM/
DVertexDataManager.cpp211 VertexBuffer::VertexBuffer(unsigned int size) : mVertexBuffer(nullptr) in VertexBuffer()
215 mVertexBuffer = new sw::Resource(size + 1024); in VertexBuffer()
217 if(!mVertexBuffer) in VertexBuffer()
226 if(mVertexBuffer) in ~VertexBuffer()
228 mVertexBuffer->destruct(); in ~VertexBuffer()
234 if(mVertexBuffer) in unmap()
236 mVertexBuffer->unlock(); in unmap()
242 return mVertexBuffer; in getResource()
247 if(mVertexBuffer) in ConstantVertexBuffer()
249 float *vector = (float*)mVertexBuffer->lock(sw::PUBLIC); in ConstantVertexBuffer()
[all …]
DVertexDataManager.h52 sw::Resource *mVertexBuffer;
/external/swiftshader/src/OpenGL/libGL/
DVertexDataManager.cpp217 VertexBuffer::VertexBuffer(unsigned int size) : mVertexBuffer(nullptr) in VertexBuffer()
221 mVertexBuffer = new sw::Resource(size + 1024); in VertexBuffer()
223 if(!mVertexBuffer) in VertexBuffer()
232 if(mVertexBuffer) in ~VertexBuffer()
234 mVertexBuffer->destruct(); in ~VertexBuffer()
240 if(mVertexBuffer) in unmap()
242 mVertexBuffer->unlock(); in unmap()
248 return mVertexBuffer; in getResource()
253 if(mVertexBuffer) in ConstantVertexBuffer()
255 float *vector = (float*)mVertexBuffer->lock(sw::PUBLIC); in ConstantVertexBuffer()
[all …]
DVertexDataManager.h55 sw::Resource *mVertexBuffer;
/external/swiftshader/src/OpenGL/libGLESv2/
DVertexDataManager.cpp239 VertexBuffer::VertexBuffer(unsigned int size) : mVertexBuffer(nullptr) in VertexBuffer()
243 mVertexBuffer = new sw::Resource(size + 1024); in VertexBuffer()
245 if(!mVertexBuffer) in VertexBuffer()
254 if(mVertexBuffer) in ~VertexBuffer()
256 mVertexBuffer->destruct(); in ~VertexBuffer()
262 if(mVertexBuffer) in unmap()
264 mVertexBuffer->unlock(); in unmap()
270 return mVertexBuffer; in getResource()
275 if(mVertexBuffer) in ConstantVertexBuffer()
277 float *vector = (float*)mVertexBuffer->lock(sw::PUBLIC); in ConstantVertexBuffer()
[all …]
DVertexDataManager.h52 sw::Resource *mVertexBuffer;
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java48 private Buffer mVertexBuffer; field in Grid
87 mVertexBuffer = mFixedVertexBuffer; in Grid()
98 mVertexBuffer = mFloatVertexBuffer; in Grid()
220 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer); in beginDrawingStrips()
258 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer); in draw()
346 final int vertexSize = mVertexBuffer.capacity() * mCoordinateSize; in generateHardwareBuffers()
349 mVertexBuffer.position(0); in generateHardwareBuffers()
351 mVertexBuffer, GL11.GL_STATIC_DRAW); in generateHardwareBuffers()