Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
55 pj 1
/* $Id: vpstate.h,v 1.1 2003-02-28 11:42:06 pj Exp $ */
2
 
3
/*
4
 * Mesa 3-D graphics library
5
 * Version:  4.1
6
 *
7
 * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
8
 *
9
 * Permission is hereby granted, free of charge, to any person obtaining a
10
 * copy of this software and associated documentation files (the "Software"),
11
 * to deal in the Software without restriction, including without limitation
12
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13
 * and/or sell copies of the Software, and to permit persons to whom the
14
 * Software is furnished to do so, subject to the following conditions:
15
 *
16
 * The above copyright notice and this permission notice shall be included
17
 * in all copies or substantial portions of the Software.
18
 *
19
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
22
 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23
 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
 *
26
 * Authors:
27
 *    Brian Paul
28
 */
29
 
30
 
31
#ifndef VPSTATE_H
32
#define VPSTATE_H
33
 
34
 
35
extern void _mesa_delete_program(GLcontext *ctx, GLuint id);
36
 
37
 
38
extern void _mesa_BindProgramNV(GLenum target, GLuint id);
39
 
40
extern void _mesa_DeleteProgramsNV(GLsizei n, const GLuint *ids);
41
 
42
extern void _mesa_ExecuteProgramNV(GLenum target, GLuint id, const GLfloat *params);
43
 
44
extern void _mesa_GenProgramsNV(GLsizei n, GLuint *ids);
45
 
46
extern GLboolean _mesa_AreProgramsResidentNV(GLsizei n, const GLuint *ids, GLboolean *residences);
47
 
48
extern void _mesa_RequestResidentProgramsNV(GLsizei n, const GLuint *ids);
49
 
50
 
51
extern void _mesa_GetProgramParameterfvNV(GLenum target, GLuint index, GLenum pname, GLfloat *params);
52
 
53
extern void _mesa_GetProgramParameterdvNV(GLenum target, GLuint index, GLenum pname, GLdouble *params);
54
 
55
extern void _mesa_GetProgramivNV(GLuint id, GLenum pname, GLint *params);
56
 
57
extern void _mesa_GetProgramStringNV(GLuint id, GLenum pname, GLubyte *program);
58
 
59
extern void _mesa_GetTrackMatrixivNV(GLenum target, GLuint address, GLenum pname, GLint *params);
60
 
61
extern void _mesa_GetVertexAttribdvNV(GLuint index, GLenum pname, GLdouble *params);
62
 
63
extern void _mesa_GetVertexAttribfvNV(GLuint index, GLenum pname, GLfloat *params);
64
 
65
extern void _mesa_GetVertexAttribivNV(GLuint index, GLenum pname, GLint *params);
66
 
67
extern void _mesa_GetVertexAttribPointervNV(GLuint index, GLenum pname, GLvoid **pointer);
68
 
69
extern GLboolean _mesa_IsProgramNV(GLuint id);
70
 
71
extern void _mesa_LoadProgramNV(GLenum target, GLuint id, GLsizei len,
72
                                const GLubyte *program);
73
 
74
extern void _mesa_ProgramParameter4dNV(GLenum target, GLuint index,
75
                                       GLdouble x, GLdouble y,
76
                                       GLdouble z, GLdouble w);
77
 
78
extern void _mesa_ProgramParameter4dvNV(GLenum target, GLuint index,
79
                                        const GLdouble *params);
80
 
81
extern void _mesa_ProgramParameter4fNV(GLenum target, GLuint index,
82
                                       GLfloat x, GLfloat y,
83
                                       GLfloat z, GLfloat w);
84
 
85
extern void _mesa_ProgramParameter4fvNV(GLenum target, GLuint index,
86
                                        const GLfloat *params);
87
 
88
extern void _mesa_ProgramParameters4dvNV(GLenum target, GLuint index,
89
                                         GLuint num, const GLdouble *params);
90
 
91
extern void _mesa_ProgramParameters4fvNV(GLenum target, GLuint index,
92
                                         GLuint num, const GLfloat *params);
93
 
94
extern void _mesa_TrackMatrixNV(GLenum target, GLuint address,
95
                                GLenum matrix, GLenum transform);
96
 
97
 
98
extern void _mesa_VertexAttribs1svNV(GLuint index, GLsizei n, const GLshort *v);
99
 
100
extern void _mesa_VertexAttribs1fvNV(GLuint index, GLsizei n, const GLfloat *v);
101
 
102
extern void _mesa_VertexAttribs1dvNV(GLuint index, GLsizei n, const GLdouble *v);
103
 
104
extern void _mesa_VertexAttribs2svNV(GLuint index, GLsizei n, const GLshort *v);
105
 
106
extern void _mesa_VertexAttribs2fvNV(GLuint index, GLsizei n, const GLfloat *v);
107
 
108
extern void _mesa_VertexAttribs2dvNV(GLuint index, GLsizei n, const GLdouble *v);
109
 
110
extern void _mesa_VertexAttribs3svNV(GLuint index, GLsizei n, const GLshort *v);
111
 
112
extern void _mesa_VertexAttribs3fvNV(GLuint index, GLsizei n, const GLfloat *v);
113
 
114
extern void _mesa_VertexAttribs3dvNV(GLuint index, GLsizei n, const GLdouble *v);
115
 
116
extern void _mesa_VertexAttribs4svNV(GLuint index, GLsizei n, const GLshort *v);
117
 
118
extern void _mesa_VertexAttribs4fvNV(GLuint index, GLsizei n, const GLfloat *v);
119
 
120
extern void _mesa_VertexAttribs4dvNV(GLuint index, GLsizei n, const GLdouble *v);
121
 
122
extern void _mesa_VertexAttribs4ubvNV(GLuint index, GLsizei n, const GLubyte *v);
123
 
124
 
125
#endif