diff options
author | Brian Paul <[email protected]> | 2002-04-21 18:49:18 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-04-21 18:49:18 +0000 |
commit | b7752724d930aa8b93617829d814b20509f85069 (patch) | |
tree | d1583ea4033247c2facfe845efd82782206b49bc /src/mesa/array_cache/acache.h | |
parent | 1113e3266f1a9df3506fb80189bfe00d9681b55e (diff) |
vertex program attribute array work
Diffstat (limited to 'src/mesa/array_cache/acache.h')
-rw-r--r-- | src/mesa/array_cache/acache.h | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/src/mesa/array_cache/acache.h b/src/mesa/array_cache/acache.h index 6cb21153546..4e0e3779150 100644 --- a/src/mesa/array_cache/acache.h +++ b/src/mesa/array_cache/acache.h @@ -1,10 +1,10 @@ -/* $Id: acache.h,v 1.2 2001/03/12 00:48:41 gareth Exp $ */ +/* $Id: acache.h,v 1.3 2002/04/21 18:49:19 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 4.1 * - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -43,15 +43,6 @@ extern void _ac_InvalidateState( GLcontext *ctx, GLuint new_state ); extern struct gl_client_array * -_ac_import_texcoord( GLcontext *ctx, - GLuint unit, - GLenum type, - GLuint reqstride, - GLuint reqsize, - GLboolean reqwritable, - GLboolean *writable ); - -extern struct gl_client_array * _ac_import_vertex( GLcontext *ctx, GLenum type, GLuint reqstride, @@ -103,6 +94,24 @@ _ac_import_edgeflag( GLcontext *ctx, GLboolean reqwritable, GLboolean *writable ); +extern struct gl_client_array * +_ac_import_texcoord( GLcontext *ctx, + GLuint unit, + GLenum type, + GLuint reqstride, + GLuint reqsize, + GLboolean reqwritable, + GLboolean *writable ); + +extern struct gl_client_array * +_ac_import_attrib( GLcontext *ctx, + GLuint index, + GLenum type, + GLuint reqstride, + GLuint reqsize, + GLboolean reqwritable, + GLboolean *writable ); + /* Clients must call this function to validate state and set bounds * before importing any data: |