xref: /reactos/dll/opengl/mesa/asm-386.h (revision f04935d8)
1 /* $Id: asm-386.h,v 1.1 1997/12/15 03:39:14 brianp Exp $ */
2 
3 /*
4  * Mesa 3-D graphics library
5  * Version:  2.6
6  * Copyright (C) 1995-1997  Brian Paul
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the Free
20  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  */
22 
23 
24 /*
25  * $Log: asm-386.h,v $
26  * Revision 1.1  1997/12/15 03:39:14  brianp
27  * Initial revision
28  *
29  */
30 
31 
32 #ifndef ASM_386_H
33 #define ASM_386_H
34 
35 
36 #include "GL/gl.h"
37 
38 
39 /*
40  * Prototypes for assembly functions.
41  */
42 
43 
44 extern void asm_transform_points3_general( GLuint n, GLfloat d[][4],
45                                            GLfloat m[16], GLfloat s[][4] );
46 
47 extern void asm_transform_points3_identity( GLuint n, GLfloat d[][4],
48                                             GLfloat s[][4] );
49 
50 extern void asm_transform_points3_2d( GLuint n, GLfloat d[][4],
51                                       GLfloat m[16], GLfloat s[][4] );
52 
53 extern void asm_transform_points3_2d_no_rot( GLuint n, GLfloat d[][4],
54                                              GLfloat m[16], GLfloat s[][4] );
55 
56 extern void asm_transform_points3_3d( GLuint n, GLfloat d[][4], GLfloat m[16],
57                                       GLfloat s[][4] );
58 
59 extern void asm_transform_points4_general( GLuint n, GLfloat d[][4],
60                                            GLfloat m[16], GLfloat s[][4] );
61 
62 extern void asm_transform_points4_identity( GLuint n, GLfloat d[][4],
63                                             GLfloat s[][4] );
64 
65 extern void asm_transform_points4_2d( GLuint n, GLfloat d[][4], GLfloat m[16],
66                                       GLfloat s[][4] );
67 
68 extern void asm_transform_points4_2d_no_rot( GLuint n, GLfloat d[][4],
69                                              GLfloat m[16], GLfloat s[][4] );
70 
71 extern void asm_transform_points4_3d( GLuint n, GLfloat d[][4], GLfloat m[16],
72                                       GLfloat s[][4] );
73 
74 extern void asm_transform_points4_ortho( GLuint n, GLfloat d[][4],
75                                          GLfloat m[16], GLfloat s[][4] );
76 
77 extern void asm_transform_points4_perspective( GLuint n, GLfloat d[][4],
78                                                GLfloat m[16], GLfloat s[][4] );
79 
80 extern void asm_project_and_cliptest_general( GLuint n, GLfloat d[][4],
81                                           GLfloat m[16],
82                                           GLfloat s[][4], GLubyte clipmask[],
83                                           GLubyte *ormask, GLubyte *andmask );
84 
85 extern void asm_project_and_cliptest_identity( GLuint n, GLfloat d[][4],
86                                           GLfloat s[][4], GLubyte clipmask[],
87                                           GLubyte *ormask, GLubyte *andmask );
88 
89 extern void asm_project_and_cliptest_ortho( GLuint n, GLfloat d[][4],
90                                           GLfloat m[16],
91                                           GLfloat s[][4], GLubyte clipmask[],
92                                           GLubyte *ormask, GLubyte *andmask );
93 
94 extern void asm_project_and_cliptest_perspective( GLuint n, GLfloat d[][4],
95                                           GLfloat m[16],
96                                           GLfloat s[][4], GLubyte clipmask[],
97                                           GLubyte *ormask, GLubyte *andmask );
98 
99 #endif
100