~ubuntu-branches/ubuntu/quantal/mesa-glw/quantal

« back to all changes in this revision

Viewing changes to src/mesa/shader/arbprogram.h

  • Committer: Bazaar Package Importer
  • Author(s): Morten Kjeldgaard
  • Date: 2008-05-06 16:19:15 UTC
  • Revision ID: james.westby@ubuntu.com-20080506161915-uynz7nftmfixu6bq
Tags: upstream-7.0.3
ImportĀ upstreamĀ versionĀ 7.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Mesa 3-D graphics library
 
3
 * Version:  6.5.2
 
4
 *
 
5
 * Copyright (C) 1999-2006  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
 
 
25
 
 
26
#ifndef ARBPROGRAM_H
 
27
#define ARBPROGRAM_H
 
28
 
 
29
 
 
30
extern void GLAPIENTRY
 
31
_mesa_EnableVertexAttribArrayARB(GLuint index);
 
32
 
 
33
 
 
34
extern void GLAPIENTRY
 
35
_mesa_DisableVertexAttribArrayARB(GLuint index);
 
36
 
 
37
 
 
38
extern void GLAPIENTRY
 
39
_mesa_GetVertexAttribdvARB(GLuint index, GLenum pname, GLdouble *params);
 
40
 
 
41
 
 
42
extern void GLAPIENTRY
 
43
_mesa_GetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params);
 
44
 
 
45
 
 
46
extern void GLAPIENTRY
 
47
_mesa_GetVertexAttribivARB(GLuint index, GLenum pname, GLint *params);
 
48
 
 
49
 
 
50
extern void GLAPIENTRY
 
51
_mesa_GetVertexAttribPointervARB(GLuint index, GLenum pname, GLvoid **pointer);
 
52
 
 
53
 
 
54
extern GLboolean GLAPIENTRY
 
55
_mesa_IsProgramARB(GLuint id);
 
56
 
 
57
 
 
58
extern void GLAPIENTRY
 
59
_mesa_ProgramStringARB(GLenum target, GLenum format, GLsizei len,
 
60
                       const GLvoid *string);
 
61
 
 
62
 
 
63
extern void GLAPIENTRY
 
64
_mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index,
 
65
                               GLdouble x, GLdouble y, GLdouble z, GLdouble w);
 
66
 
 
67
 
 
68
extern void GLAPIENTRY
 
69
_mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index,
 
70
                                const GLdouble *params);
 
71
 
 
72
 
 
73
extern void GLAPIENTRY
 
74
_mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index,
 
75
                               GLfloat x, GLfloat y, GLfloat z, GLfloat w);
 
76
 
 
77
 
 
78
extern void GLAPIENTRY
 
79
_mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index,
 
80
                                const GLfloat *params);
 
81
 
 
82
 
 
83
extern void GLAPIENTRY
 
84
_mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
 
85
                                 const GLfloat *params);
 
86
 
 
87
 
 
88
extern void GLAPIENTRY
 
89
_mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index,
 
90
                                 GLdouble x, GLdouble y,
 
91
                                 GLdouble z, GLdouble w);
 
92
 
 
93
 
 
94
extern void GLAPIENTRY
 
95
_mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index,
 
96
                                  const GLdouble *params);
 
97
 
 
98
 
 
99
extern void GLAPIENTRY
 
100
_mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index,
 
101
                                 GLfloat x, GLfloat y, GLfloat z, GLfloat w);
 
102
 
 
103
 
 
104
extern void GLAPIENTRY
 
105
_mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index,
 
106
                                  const GLfloat *params);
 
107
 
 
108
 
 
109
extern void GLAPIENTRY
 
110
_mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
 
111
                                   const GLfloat *params);
 
112
 
 
113
 
 
114
extern void GLAPIENTRY
 
115
_mesa_GetProgramEnvParameterdvARB(GLenum target, GLuint index,
 
116
                                  GLdouble *params);
 
117
 
 
118
 
 
119
extern void GLAPIENTRY
 
120
_mesa_GetProgramEnvParameterfvARB(GLenum target, GLuint index, 
 
121
                                  GLfloat *params);
 
122
 
 
123
 
 
124
extern void GLAPIENTRY
 
125
_mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index,
 
126
                                    GLdouble *params);
 
127
 
 
128
 
 
129
extern void GLAPIENTRY
 
130
_mesa_GetProgramLocalParameterfvARB(GLenum target, GLuint index, 
 
131
                                    GLfloat *params);
 
132
 
 
133
 
 
134
extern void GLAPIENTRY
 
135
_mesa_GetProgramivARB(GLenum target, GLenum pname, GLint *params);
 
136
 
 
137
 
 
138
extern void GLAPIENTRY
 
139
_mesa_GetProgramStringARB(GLenum target, GLenum pname, GLvoid *string);
 
140
 
 
141
 
 
142
#endif