D | vbo_save_loopback.c | 100 const struct loopback_attr *la, GLuint nr) in loopback_prim() argument 125 la[k].func(ctx, la[k].index, (const GLfloat *)(data + la[k].offset)); in loopback_prim() 137 append_attr(GLuint *nr, struct loopback_attr la[], int i, int shift, in append_attr() argument 140 la[*nr].index = shift + i; in append_attr() 141 la[*nr].offset = vao->VertexAttrib[i].RelativeOffset; in append_attr() 142 la[*nr].func = vert_attrfunc[vao->VertexAttrib[i].Format.Size - 1]; in append_attr() 152 struct loopback_attr la[VBO_ATTRIB_MAX]; in _vbo_loopback_vertex_list() local 162 append_attr(&nr, la, i, VBO_MATERIAL_SHIFT, vao); in _vbo_loopback_vertex_list() 169 append_attr(&nr, la, i, 0, vao); in _vbo_loopback_vertex_list() 174 append_attr(&nr, la, VERT_ATTRIB_GENERIC0, 0, vao); in _vbo_loopback_vertex_list() [all …]
|