head 3.8; access; symbols merge-1:3.5.2.2 autoconf:3.5.0.4 experimental-1:3.5.0.2 mesa-3-1-with-kw3:3.4 mesa-3-1-prior-to-kw3:3.3; locks; strict; comment @ * @; 3.8 date 99.08.01.16.35.54; author brianp; state Exp; branches; next 3.7; 3.7 date 99.07.31.19.17.27; author miklos; state Exp; branches; next 3.6; 3.6 date 99.07.12.12.05.25; author keithw; state Exp; branches; next 3.5; 3.5 date 99.03.31.20.18.41; author keithw; state Exp; branches 3.5.2.1; next 3.4; 3.4 date 99.02.25.14.12.32; author keithw; state Exp; branches; next 3.3; 3.3 date 99.02.14.03.46.34; author brianp; state Exp; branches; next 3.2; 3.2 date 98.10.29.03.57.11; author brianp; state Exp; branches; next 3.1; 3.1 date 98.10.29.02.28.13; author brianp; state Exp; branches; next 3.0; 3.0 date 98.01.31.21.06.45; author brianp; state Exp; branches; next ; 3.5.2.1 date 99.05.21.21.29.28; author keithw; state Exp; branches; next 3.5.2.2; 3.5.2.2 date 99.05.22.19.14.40; author keithw; state Exp; branches; next ; desc @vertex buffer transformation @ 3.8 log @moved gl_init_Vbxform() to stages.h @ text @/* $Id: vbxform.h,v 3.7 1999/07/31 19:17:27 miklos Exp $ */ /* * Mesa 3-D graphics library * Version: 3.1 * * Copyright (C) 1999 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"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef VBXFORM_H #define VBXFORM_H extern void gl_flush_vb( GLcontext *ctx, const char *where ); extern void gl_maybe_transform_vb( struct immediate *IM ); extern void gl_compute_orflag( struct immediate *IM ); extern void gl_reset_vb( struct vertex_buffer *VB ); extern void gl_fixup_input( GLcontext *ctx, struct immediate *IM ); extern void gl_fixup_cassette( GLcontext *ctx, struct immediate *IM ); extern void gl_copy_prev_vertices( struct vertex_buffer *VB, struct immediate *prev, struct immediate *next ); extern void gl_execute_cassette( GLcontext *ctx, struct immediate *IM ); extern void gl_reset_input( GLcontext *ctx ); extern void gl_execute_vb( GLcontext *ctx ); extern void gl_copy_to_current( GLcontext *ctx, struct immediate *IM ); extern void gl_copy_all_to_current( GLcontext *ctx, struct immediate *IM ); extern struct immediate *gl_purge_immediate( GLcontext *ctx, struct immediate *IM, GLuint flag ); extern void gl_print_cassette( struct immediate *IM, GLboolean fixed_up, GLuint req ); extern GLuint gl_texcoord_size( GLuint flag, GLuint unit ); #endif @ 3.7 log @added init_xform prototype. @ text @d1 1 a1 1 /* $Id: vbxform.h,v 3.6 1999/07/12 12:05:25 keithw Exp $ */ a32 2 extern void gl_init_vbxform(); @ 3.6 log @merge from experimental branch upto merge-1 tag @ text @d1 1 a1 1 /* $Id: vbxform.h,v 3.5.2.2 1999/05/22 19:14:40 keithw Exp $ */ d34 1 @ 3.5 log @Compiled vertex arrays @ text @d1 1 a1 1 /* $Id: vbxform.h,v 1.3 1999/02/25 23:50:40 keithw Exp $ */ d39 2 d43 1 a43 1 extern void gl_fixup_input( GLcontext *ctx ); d51 1 a51 3 extern void gl_execute_cassette( GLcontext *ctx, struct immediate *IM, GLuint pipe); d66 3 @ 3.5.2.1 log @Quake3 inspired optimizations @ text @d1 1 a1 1 /* $Id: vbxform.h,v 3.5 1999/03/31 20:18:41 keithw Exp $ */ d41 1 a41 1 extern void gl_fixup_input( GLcontext *ctx, struct immediate *IM ); d49 3 a51 1 extern void gl_execute_cassette( GLcontext *ctx, struct immediate *IM ); a65 3 extern GLuint gl_texcoord_size( GLuint flag, GLuint unit ); @ 3.5.2.2 log @q2, q3 bugfixes @ text @d1 1 a1 1 /* $Id: vbxform.h,v 3.5.2.1 1999/05/21 21:29:28 keithw Exp $ */ a37 2 extern void gl_compute_orflag( struct immediate *IM ); @ 3.4 log @Merged in kw3 patch @ text @d1 1 a1 1 /* $Id: vbxform.h,v 3.3 1999/02/14 03:46:34 brianp Exp $ */ a35 1 /* extern void gl_maybe_transform_vb( GLcontext *ctx ); */ d39 1 a39 2 extern void gl_transform_vb( GLcontext *ctx ); extern void gl_reset_vb( GLcontext *ctx, struct immediate *next ); d45 1 a45 1 extern void gl_copy_prev_vertices( GLcontext *ctx, d49 4 a52 1 extern void gl_execute_cassette( GLcontext *ctx, struct immediate *IM ); d64 2 a65 1 extern void gl_print_cassette( struct immediate *IM, GLuint req ); @ 3.3 log @new copyright @ text @d1 1 a1 1 /* $Id: vbxform.h,v 3.2 1998/10/29 03:57:11 brianp Exp brianp $ */ d28 1 a28 12 /* * $Log: vbxform.h,v $ * Revision 3.2 1998/10/29 03:57:11 brianp * misc clean-up of new vertex transformation code * * Revision 3.1 1998/10/29 02:28:13 brianp * incorporated Keith Whitwell's transformation optimizations * * Revision 3.0 1998/01/31 21:06:45 brianp * initial rev * */ d35 27 a61 1 extern void gl_transform_vb( GLcontext *ctx, GLboolean alldone ); d63 1 @ 3.2 log @misc clean-up of new vertex transformation code @ text @d1 1 a1 1 /* $Id: vbxform.h,v 3.1 1998/10/29 02:28:13 brianp Exp brianp $ */ d6 19 a24 15 * Copyright (C) 1995-1998 Brian Paul * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. d30 3 @ 3.1 log @incorporated Keith Whitwell's transformation optimizations @ text @d1 1 a1 1 /* $Id: vbxform.h,v 3.0 1998/01/31 21:06:45 brianp Exp brianp $ */ d26 3 d39 1 a39 1 extern void gl_transform_vb_part1( GLcontext *ctx, GLboolean alldone ); @ 3.0 log @initial rev @ text @d1 1 a1 1 /* $Id$ */ d5 1 a5 1 * Version: 3.0 d25 4 a28 1 * $Log$ a36 2 extern void gl_transform_vb_part2( GLcontext *ctx, GLboolean alldone ); @