From a852378a6289d154364dde440f89a39bbfc33e2d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 19 Nov 2000 23:10:25 +0000 Subject: 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. --- src/mesa/swrast/s_feedback.h | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'src/mesa/swrast/s_feedback.h') diff --git a/src/mesa/swrast/s_feedback.h b/src/mesa/swrast/s_feedback.h index f32dcc86f9..4cd700b908 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 -- cgit v1.2.3