diff options
author | Brian Paul <[email protected]> | 2000-11-19 23:10:25 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-11-19 23:10:25 +0000 |
commit | a852378a6289d154364dde440f89a39bbfc33e2d (patch) | |
tree | dbaf6946d80e517a2f0b349a11d1736cde1b83e1 /src/mesa/swrast/s_feedback.h | |
parent | b12d8e3b0ddf6dc56dc866530b66230bdc5d73db (diff) |
Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.
Completely removed the dirty texture object list. Set texObj->Complete
to GL_FALSE to indicate dirty.
Made point/line/triangle/quad SWvertex parameters const.
Minor code clean-ups.
Diffstat (limited to 'src/mesa/swrast/s_feedback.h')
-rw-r--r-- | src/mesa/swrast/s_feedback.h | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/src/mesa/swrast/s_feedback.h b/src/mesa/swrast/s_feedback.h index f32dcc86f94..4cd700b908a 100644 --- a/src/mesa/swrast/s_feedback.h +++ b/src/mesa/swrast/s_feedback.h @@ -1,4 +1,4 @@ -/* $Id: s_feedback.h,v 1.1 2000/11/05 18:24:40 keithw Exp $ */ +/* $Id: s_feedback.h,v 1.2 2000/11/19 23:10:26 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -33,15 +33,21 @@ #include "swrast.h" -extern void gl_feedback_point( GLcontext *ctx, SWvertex *v ); -extern void gl_feedback_line( GLcontext *ctx, SWvertex *v1, SWvertex *v2 ); -extern void gl_feedback_triangle( GLcontext *ctx, SWvertex *v0, SWvertex *v1, - SWvertex *v2 ); +extern void gl_feedback_point( GLcontext *ctx, const SWvertex *v ); -extern void gl_select_point( GLcontext *ctx, SWvertex *v ); -extern void gl_select_line( GLcontext *ctx, SWvertex *v1, SWvertex *v2 ); -extern void gl_select_triangle( GLcontext *ctx, SWvertex *v0, SWvertex *v1, - SWvertex *v2 ); +extern void gl_feedback_line( GLcontext *ctx, + const SWvertex *v1, const SWvertex *v2 ); + +extern void gl_feedback_triangle( GLcontext *ctx, const SWvertex *v0, + const SWvertex *v1, const SWvertex *v2 ); + +extern void gl_select_point( GLcontext *ctx, const SWvertex *v ); + +extern void gl_select_line( GLcontext *ctx, + const SWvertex *v1, const SWvertex *v2 ); + +extern void gl_select_triangle( GLcontext *ctx, const SWvertex *v0, + const SWvertex *v1, const SWvertex *v2 ); #endif |