Lines Matching defs:stride
61 GLint stride;
87 , stride (0)
102 int stride;
207 << "\tGL_VERTEX_ATTRIB_ARRAY_STRIDE : " << state.attributes[attribNdx].stride << "\n"
320 int stride;
322 if (buffer.stride != 0)
324 stride = buffer.stride;
330 case GL_FLOAT: stride = buffer.componentCount * (int)sizeof(GLfloat); break;
331 case GL_INT: stride = buffer.componentCount * (int)sizeof(GLint); break;
332 case GL_UNSIGNED_INT: stride = buffer.componentCount * (int)sizeof(GLuint); break;
333 case GL_SHORT: stride = buffer.componentCount * (int)sizeof(GLshort); break;
334 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * (int)sizeof(GLushort); break;
335 case GL_BYTE: stride = buffer.componentCount * (int)sizeof(GLbyte); break;
336 case GL_UNSIGNED_BYTE: stride = buffer.componentCount * (int)sizeof(GLubyte); break;
339 stride = 0;
414 itr += stride;
559 GLU_CHECK_CALL(glVertexAttribIPointer(attribNdx, state.attributes[attribNdx].size, state.attributes[attribNdx].type, state.attributes[attribNdx].stride, (const GLvoid*)((GLintptr)state.attributes[attribNdx].offset)));
561 GLU_CHECK_CALL(glVertexAttribPointer(attribNdx, state.attributes[attribNdx].size, state.attributes[attribNdx].type, state.attributes[attribNdx].normalized, state.attributes[attribNdx].stride, (const GLvoid*)((GLintptr)state.attributes[attribNdx].offset)));
733 << "\tGL_VERTEX_ATTRIB_ARRAY_STRIDE : " << state.attributes[attribNdx].stride << "\n"
770 m_spec.state.attributes[attribNdx].stride = 2*m_random.getInt(1, 3);
788 m_spec.vao.attributes[attribNdx].stride = 2*m_random.getInt(1, 3);
904 int stride;
906 if (buffer.stride != 0)
908 stride = buffer.stride;
914 case GL_FLOAT: stride = buffer.componentCount * (int)sizeof(GLfloat); break;
915 case GL_INT: stride = buffer.componentCount * (int)sizeof(GLint); break;
916 case GL_UNSIGNED_INT: stride = buffer.componentCount * (int)sizeof(GLuint); break;
917 case GL_SHORT: stride = buffer.componentCount * (int)sizeof(GLshort); break;
918 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * (int)sizeof(GLushort); break;
919 case GL_BYTE: stride = buffer.componentCount * (int)sizeof(GLbyte); break;
920 case GL_UNSIGNED_BYTE: stride = buffer.componentCount * (int)sizeof(GLubyte); break;
923 stride = 0;
998 itr += stride;
1144 GLU_CHECK_CALL(glVertexAttribIPointer(attribNdx, state.attributes[attribNdx].size, state.attributes[attribNdx].type, state.attributes[attribNdx].stride, (const GLvoid*)((GLintptr)state.attributes[attribNdx].offset)));
1146 GLU_CHECK_CALL(glVertexAttribPointer(attribNdx, state.attributes[attribNdx].size, state.attributes[attribNdx].type, state.attributes[attribNdx].normalized, state.attributes[attribNdx].stride, (const GLvoid*)((GLintptr)state.attributes[attribNdx].offset)));
1275 state.attributes[0].stride = 0;
1312 state.attributes[0].stride = 0;
1340 // Different stride
1350 state.attributes[0].stride = 0;
1373 spec.vao.attributes[0].stride = 2;
1374 spec.state.attributes[0].stride = 4;
1388 state.attributes[0].stride = 0;
1425 state.attributes[0].stride = 0;
1463 state.attributes[0].stride = 0;
1473 state.attributes[1].stride = 0;
1512 state.attributes[0].stride = 0;
1549 state.attributes[0].stride = 0;
1586 state.attributes[0].stride = 0;