-void _mesa_vector4chan_alloc( GLvector4chan *v, GLuint flags, GLuint count,
- GLuint alignment )
-{
- v->stride = 4 * sizeof(GLchan);
- v->storage = ALIGN_MALLOC( count * 4 * sizeof(GLchan), alignment );
- v->start = (GLchan *) v->storage;
- v->data = (GLchan (*)[4]) v->storage;
- v->count = 0;
- v->flags = flags | VEC_MALLOC ;
-}
-
-void _mesa_vector4us_alloc( GLvector4us *v, GLuint flags, GLuint count,
- GLuint alignment )
-{
- v->stride = 4 * sizeof(GLushort);
- v->storage = ALIGN_MALLOC( count * 4 * sizeof(GLushort), alignment );
- v->start = (GLushort *) v->storage;
- v->data = (GLushort (*)[4]) v->storage;
- v->count = 0;
- v->flags = flags | VEC_MALLOC ;
-}
-
-void _mesa_vector1ub_alloc( GLvector1ub *v, GLuint flags, GLuint count,
- GLuint alignment )
-{
- v->stride = 1 * sizeof(GLubyte);
- v->storage = ALIGN_MALLOC( count * sizeof(GLubyte), alignment );
- v->start = (GLubyte *) v->storage;
- v->data = (GLubyte *) v->storage;
- v->count = 0;
- v->flags = flags | VEC_MALLOC ;
-}
-
-void _mesa_vector1ui_alloc( GLvector1ui *v, GLuint flags, GLuint count,
- GLuint alignment )
-{
- v->stride = 1 * sizeof(GLuint);
- v->storage = ALIGN_MALLOC( count * sizeof(GLuint), alignment );
- v->start = (GLuint *) v->storage;
- v->data = (GLuint *) v->storage;
- v->count = 0;
- v->flags = flags | VEC_MALLOC ;
-}
-
-
-
-/*