diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-12-11 16:25:36 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-12-11 16:25:36 +0000 |
commit | 2dc621f3fdb585f23013aa3e220f2148f9405538 (patch) | |
tree | d4eb6b4a76b427143e88953bbec0284bf15e3ffc /src/mesa/drivers/dri/mga/mgavb.h | |
parent | 5bcf52b4d6951f9058b5ef00cf2438b3bdfbeea0 (diff) |
Updates to tnl_dd_dmatmp.h
- Allocate vertices explicitly, rather than trying to talk
about dma buffers.
- Clean up the various Flush() operations.
- Don't allow fallbacks any longer. Provide a support function
to detect them ahead o ftime
Updates to tnl_dd_vbtmp.h
- Get rid of power-of-two vertex strides. Pack all vertices tightly.
- Get texunit 2,3 emit working coorrectly.
Other stuff:
- Get rid of lingering Ubyte color support.
- Fix a few compiler warnings.
Diffstat (limited to 'src/mesa/drivers/dri/mga/mgavb.h')
-rw-r--r-- | src/mesa/drivers/dri/mga/mgavb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/mga/mgavb.h b/src/mesa/drivers/dri/mga/mgavb.h index 88cc3108df..5f6454aca9 100644 --- a/src/mesa/drivers/dri/mga/mgavb.h +++ b/src/mesa/drivers/dri/mga/mgavb.h @@ -52,9 +52,10 @@ extern void mgaPrintSetupFlags(char *msg, GLuint flags ); extern void mgaInitVB( GLcontext *ctx ); extern void mgaFreeVB( GLcontext *ctx ); -extern void mga_emit_contiguous_verts( GLcontext *ctx, +extern void *mga_emit_contiguous_verts( GLcontext *ctx, GLuint start, - GLuint count ); + GLuint count, + void *dest ); extern void mga_translate_vertex(GLcontext *ctx, const mgaVertex *src, |