From d471473b5842154c0b44b7bec149401f6dab43cc Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 19 Oct 1999 18:37:02 +0000 Subject: Changes to reduce the memory footprint of display lists --- src/mesa/x86/x86.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/mesa/x86/x86.c') diff --git a/src/mesa/x86/x86.c b/src/mesa/x86/x86.c index fe3bb34c91..610ec15ea6 100644 --- a/src/mesa/x86/x86.c +++ b/src/mesa/x86/x86.c @@ -1,4 +1,4 @@ -/* $Id: x86.c,v 1.1 1999/08/19 00:55:42 jtg Exp $ */ +/* $Id: x86.c,v 1.2 1999/10/19 18:37:07 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -36,9 +36,23 @@ #include "context.h" #include "types.h" +#include "vertices.h" #include "xform.h" #include "x86.h" +extern void gl_v16_x86_cliptest_points4(GLfloat *first_vert, + GLfloat *last_vert, + GLubyte *or_mask, + GLubyte *and_mask, + GLubyte *clip_mask ); + + +extern void gl_v16_x86_general_xform(GLfloat *dest, + const GLfloat *m, + const GLfloat *src, + GLuint src_stride, + GLuint count); + #define XFORM_ARGS GLvector4f *to_vec, \ @@ -103,5 +117,8 @@ void gl_init_x86_asm_transforms( void ) gl_test_all_transform_functions("x86"); #endif + + gl_cliptest_points4_v16 = gl_v16_x86_cliptest_points4; + gl_xform_points3_v16_general = gl_v16_x86_general_xform; #endif } -- cgit v1.2.3