Lines Matching defs:attribSize

29 static void convertFixedDirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,unsigned int nBytes,unsigned int strideOut,int attribSize);
30 static void convertFixedIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei count,GLenum indices_type,const GLvoid* indices,unsigned int strideOut,int attribSize);
31 static void convertByteDirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,unsigned int nBytes,unsigned int strideOut,int attribSize);
32 static void convertByteIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei count,GLenum indices_type,const GLvoid* indices,unsigned int strideOut,int attribSize);
217 static void convertFixedDirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,unsigned int nBytes,unsigned int strideOut,int attribSize) {
222 for(int j=0;j<attribSize;j++) {
229 static void convertFixedIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei count,GLenum indices_type,const GLvoid* indices,unsigned int strideOut,int attribSize) {
236 for(int j=0;j<attribSize;j++) {
242 static void convertByteDirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,unsigned int nBytes,unsigned int strideOut,int attribSize) {
247 for(int j=0;j<attribSize;j++) {
254 static void convertByteIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei count,GLenum indices_type,const GLvoid* indices,unsigned int strideOut,int attribSize) {
261 for(int j=0;j<attribSize;j++) {
268 int attribSize = p->getSize()*4; //4 is the sizeof GLfixed or GLfloat in bytes
269 int stride = p->getStride()?p->getStride():attribSize;
270 int start = p->getBufferOffset()+first*attribSize;
272 list.addRange(Range(start,count*attribSize));
275 list.addRange(Range(start,attribSize));
282 int attribSize = p->getSize() * 4; //4 is the sizeof GLfixed or GLfloat in bytes
283 int stride = p->getStride()?p->getStride():attribSize;
289 list.addRange(Range(start+index*stride,attribSize));
296 int attribSize = p->getSize() * 4; //4 is the sizeof GLfixed or GLfloat in bytes
297 int stride = p->getStride()?p->getStride():attribSize;
303 int nElements = ranges[i].getSize()/attribSize;
314 int attribSize = p->getSize();
315 unsigned int size = attribSize*count + first;
318 int stride = p->getStride()?p->getStride():bytes*attribSize;
322 convertFixedDirectLoop(data,stride,cArrs.getCurrentData(),size*sizeof(GLfloat),attribSize*sizeof(GLfloat),attribSize);
324 convertByteDirectLoop(data,stride,cArrs.getCurrentData(),size*sizeof(GLshort),attribSize*sizeof(GLshort),attribSize);
333 int attribSize = p->getSize();
334 int stride = p->getStride()?p->getStride():sizeof(GLfixed)*attribSize;
344 convertFixedIndirectLoop(data,stride,data,nIndices,GL_UNSIGNED_SHORT,indices,stride,attribSize);
372 int attribSize = p->getSize();
373 int size = attribSize * maxElements;
376 int stride = p->getStride()?p->getStride():bytes*attribSize;
380 convertFixedIndirectLoop(data,stride,cArrs.getCurrentData(),count,indices_type,indices,attribSize*sizeof(GLfloat),attribSize);
382 convertByteIndirectLoop(data,stride,cArrs.getCurrentData(),count,indices_type,indices,attribSize*sizeof(GLshort),attribSize);
390 int attribSize = p->getSize();
391 int stride = p->getStride()?p->getStride():sizeof(GLfixed)*attribSize;
399 convertFixedIndirectLoop(data,stride,data,nIndices,GL_UNSIGNED_SHORT,conversionIndices,stride,attribSize);