blob: bfac165b5ed29a836aa7bd16054a9b55e87699eb [file] [log] [blame]
Michal Krol2861e732004-03-29 11:09:34 +00001/*
2 * Mesa 3-D graphics library
3 * Version: 5.1
4 *
5 * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included
15 * in all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 *
24 * Authors:
25 * Brian Paul
26 */
27
28
29#ifndef NVPROGRAM_H
30#define NVPROGRAM_H
31
32
33extern void GLAPIENTRY
34_mesa_ExecuteProgramNV(GLenum target, GLuint id, const GLfloat *params);
35
36extern GLboolean GLAPIENTRY
37_mesa_AreProgramsResidentNV(GLsizei n, const GLuint *ids, GLboolean *residences);
38
39extern void GLAPIENTRY
40_mesa_RequestResidentProgramsNV(GLsizei n, const GLuint *ids);
41
42extern void GLAPIENTRY
43_mesa_GetProgramParameterfvNV(GLenum target, GLuint index, GLenum pname, GLfloat *params);
44
45extern void GLAPIENTRY
46_mesa_GetProgramParameterdvNV(GLenum target, GLuint index, GLenum pname, GLdouble *params);
47
48extern void GLAPIENTRY
49_mesa_GetProgramivNV(GLuint id, GLenum pname, GLint *params);
50
51extern void GLAPIENTRY
52_mesa_GetProgramStringNV(GLuint id, GLenum pname, GLubyte *program);
53
54extern void GLAPIENTRY
55_mesa_GetTrackMatrixivNV(GLenum target, GLuint address, GLenum pname, GLint *params);
56
57extern void GLAPIENTRY
58_mesa_GetVertexAttribdvNV(GLuint index, GLenum pname, GLdouble *params);
59
60extern void GLAPIENTRY
61_mesa_GetVertexAttribfvNV(GLuint index, GLenum pname, GLfloat *params);
62
63extern void GLAPIENTRY
64_mesa_GetVertexAttribivNV(GLuint index, GLenum pname, GLint *params);
65
66extern void GLAPIENTRY
67_mesa_GetVertexAttribPointervNV(GLuint index, GLenum pname, GLvoid **pointer);
68
69extern void GLAPIENTRY
70_mesa_LoadProgramNV(GLenum target, GLuint id, GLsizei len, const GLubyte *program);
71
72extern void GLAPIENTRY
Michal Krol2861e732004-03-29 11:09:34 +000073_mesa_ProgramParameters4dvNV(GLenum target, GLuint index, GLuint num, const GLdouble *params);
74
75extern void GLAPIENTRY
76_mesa_ProgramParameters4fvNV(GLenum target, GLuint index, GLuint num, const GLfloat *params);
77
78extern void GLAPIENTRY
79_mesa_TrackMatrixNV(GLenum target, GLuint address, GLenum matrix, GLenum transform);
80
81
82extern void GLAPIENTRY
83_mesa_ProgramNamedParameter4fNV(GLuint id, GLsizei len, const GLubyte *name,
84 GLfloat x, GLfloat y, GLfloat z, GLfloat w);
85
86extern void GLAPIENTRY
87_mesa_ProgramNamedParameter4fvNV(GLuint id, GLsizei len, const GLubyte *name,
88 const float v[]);
89
90extern void GLAPIENTRY
91_mesa_ProgramNamedParameter4dNV(GLuint id, GLsizei len, const GLubyte *name,
92 GLdouble x, GLdouble y, GLdouble z, GLdouble w);
93
94extern void GLAPIENTRY
95_mesa_ProgramNamedParameter4dvNV(GLuint id, GLsizei len, const GLubyte *name,
96 const double v[]);
97
98extern void GLAPIENTRY
99_mesa_GetProgramNamedParameterfvNV(GLuint id, GLsizei len, const GLubyte *name,
100 GLfloat *params);
101
102extern void GLAPIENTRY
103_mesa_GetProgramNamedParameterdvNV(GLuint id, GLsizei len, const GLubyte *name,
104 GLdouble *params);
105
106
107#endif