Home
last modified time | relevance | path

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

/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
DIndexDataManager.cpp127 UINT streamOffset = 0; in prepareIndexData() local
132streamOffset = staticBuffer->lookupRange(offset, count, &translated->minIndex, &translated->maxInd… in prepareIndexData()
134 if (streamOffset == -1) in prepareIndexData()
136 streamOffset = (offset / typeSize(type)) * indexSize(format); in prepareIndexData()
138 … staticBuffer->addRange(offset, count, translated->minIndex, translated->maxIndex, streamOffset); in prepareIndexData()
164 output = indexBuffer->map(indexSize(format) * convertCount, &streamOffset); in prepareIndexData()
180 streamOffset = (offset / typeSize(type)) * indexSize(format); in prepareIndexData()
181 … staticBuffer->addRange(offset, count, translated->minIndex, translated->maxIndex, streamOffset); in prepareIndexData()
186 translated->startIndex = streamOffset / indexSize(format); in prepareIndexData()
369 return mCache[range].streamOffset; in lookupRange()
[all …]
DVertexDataManager.cpp60 UINT streamOffset = 0; in writeAttributeData() local
66 output = vertexBuffer->map(attribute, spaceRequired(attribute, count), &streamOffset); in writeAttributeData()
101 return streamOffset; in writeAttributeData()
211 UINT streamOffset = -1; in prepareVertexData() local
215 streamOffset = staticBuffer->lookupAttribute(attribs[i]); in prepareVertexData()
217 if (streamOffset == -1) in prepareVertexData()
223streamOffset = writeAttributeData(staticBuffer, -startIndex, totalCount, attribs[i]); in prepareVertexData()
226 if (streamOffset != -1) in prepareVertexData()
228streamOffset += (start + attribs[i].mOffset / attribs[i].stride()) * converter.outputElementSize; in prepareVertexData()
233 streamOffset = writeAttributeData(mStreamingBuffer, start, count, attribs[i]); in prepareVertexData()
[all …]
DVertexDataManager.h68 virtual void *map(const VertexAttribute &attribute, UINT requiredSpace, UINT *streamOffset) = 0;
85 void *map(const VertexAttribute &attribute, UINT requiredSpace, UINT *streamOffset);
95 void *map(const VertexAttribute &attribute, UINT requiredSpace, UINT *streamOffset);
108 UINT streamOffset; member
DIndexDataManager.h80 void addRange(intptr_t offset, GLsizei count, UINT minIndex, UINT maxIndex, UINT streamOffset);
92 UINT streamOffset; member