Home
last modified time | relevance | path

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

/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
DIndexDataManager.cpp251 void *StreamingIndexBuffer::map(UINT requiredSpace, UINT *offset) in map() argument
257 … HRESULT result = mIndexBuffer->Lock(mWritePosition, requiredSpace, &mapPtr, D3DLOCK_NOOVERWRITE); in map()
266 mWritePosition += requiredSpace; in map()
272 void StreamingIndexBuffer::reserveSpace(UINT requiredSpace, GLenum type) in reserveSpace() argument
274 if (requiredSpace > mBufferSize) in reserveSpace()
282 mBufferSize = std::max(requiredSpace, 2 * mBufferSize); in reserveSpace()
294 else if (mWritePosition + requiredSpace > mBufferSize) // Recycle in reserveSpace()
313 void *StaticIndexBuffer::map(UINT requiredSpace, UINT *offset) in map() argument
319 HRESULT result = mIndexBuffer->Lock(0, requiredSpace, &mapPtr, 0); in map()
333 void StaticIndexBuffer::reserveSpace(UINT requiredSpace, GLenum type) in reserveSpace() argument
[all …]
DIndexDataManager.h40 virtual void *map(UINT requiredSpace, UINT *offset) = 0;
42 virtual void reserveSpace(UINT requiredSpace, GLenum type) = 0;
62 void *map(UINT requiredSpace, UINT *offset);
63 void reserveSpace(UINT requiredSpace, GLenum type);
75 void *map(UINT requiredSpace, UINT *offset);
76 void reserveSpace(UINT requiredSpace, GLenum type);
DVertexDataManager.h68 virtual void *map(const VertexAttribute &attribute, UINT requiredSpace, UINT *streamOffset) = 0;
70 void addRequiredSpace(UINT requiredSpace);
85 void *map(const VertexAttribute &attribute, UINT requiredSpace, UINT *streamOffset);
95 void *map(const VertexAttribute &attribute, UINT requiredSpace, UINT *streamOffset);
DVertexDataManager.cpp617 void ArrayVertexBuffer::addRequiredSpace(UINT requiredSpace) in addRequiredSpace() argument
619 mRequiredSpace += requiredSpace; in addRequiredSpace()
635 void *StreamingVertexBuffer::map(const VertexAttribute &attribute, std::size_t requiredSpace, std::… in map() argument
641 … HRESULT result = mVertexBuffer->Lock(mWritePosition, requiredSpace, &mapPtr, D3DLOCK_NOOVERWRITE); in map()
650 mWritePosition += requiredSpace; in map()
701 void *StaticVertexBuffer::map(const VertexAttribute &attribute, std::size_t requiredSpace, UINT *st… in map() argument
707 HRESULT result = mVertexBuffer->Lock(mWritePosition, requiredSpace, &mapPtr, 0); in map()
720 mWritePosition += requiredSpace; in map()