projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: document sRGBDecode field
[mesa.git]
/
src
/
mesa
/
main
/
eval.c
diff --git
a/src/mesa/main/eval.c
b/src/mesa/main/eval.c
index 95d6e2318793c466344775dfad787f23c0901f24..9ab55072f00cdf970539432c4975aada5be84fea 100644
(file)
--- a/
src/mesa/main/eval.c
+++ b/
src/mesa/main/eval.c
@@
-43,8
+43,9
@@
#include "context.h"
#include "eval.h"
#include "macros.h"
#include "context.h"
#include "eval.h"
#include "macros.h"
+#include "mfeatures.h"
#include "mtypes.h"
#include "mtypes.h"
-#include "
glapi
/dispatch.h"
+#include "
main
/dispatch.h"
#if FEATURE_evaluators
#if FEATURE_evaluators
@@
-100,7
+101,7
@@
GLuint _mesa_evaluator_components( GLenum target )
* Return pointer to the gl_1d_map struct for the named target.
*/
static struct gl_1d_map *
* Return pointer to the gl_1d_map struct for the named target.
*/
static struct gl_1d_map *
-get_1d_map(
GL
context *ctx, GLenum target )
+get_1d_map(
struct gl_
context *ctx, GLenum target )
{
switch (target) {
case GL_MAP1_VERTEX_3:
{
switch (target) {
case GL_MAP1_VERTEX_3:
@@
-150,7
+151,7
@@
get_1d_map( GLcontext *ctx, GLenum target )
* Return pointer to the gl_2d_map struct for the named target.
*/
static struct gl_2d_map *
* Return pointer to the gl_2d_map struct for the named target.
*/
static struct gl_2d_map *
-get_2d_map(
GL
context *ctx, GLenum target )
+get_2d_map(
struct gl_
context *ctx, GLenum target )
{
switch (target) {
case GL_MAP2_VERTEX_3:
{
switch (target) {
case GL_MAP2_VERTEX_3:
@@
-880,7
+881,7
@@
init_2d_map( struct gl_2d_map *map, int n, const float *initial )
}
}
-void _mesa_init_eval(
GL
context *ctx )
+void _mesa_init_eval(
struct gl_
context *ctx )
{
int i;
{
int i;
@@
-894,7
+895,7
@@
void _mesa_init_eval( GLcontext *ctx )
ctx->Eval.Map1TextureCoord4 = GL_FALSE;
ctx->Eval.Map1Vertex3 = GL_FALSE;
ctx->Eval.Map1Vertex4 = GL_FALSE;
ctx->Eval.Map1TextureCoord4 = GL_FALSE;
ctx->Eval.Map1Vertex3 = GL_FALSE;
ctx->Eval.Map1Vertex4 = GL_FALSE;
-
MEMSET
(ctx->Eval.Map1Attrib, 0, sizeof(ctx->Eval.Map1Attrib));
+
memset
(ctx->Eval.Map1Attrib, 0, sizeof(ctx->Eval.Map1Attrib));
ctx->Eval.Map2Color4 = GL_FALSE;
ctx->Eval.Map2Index = GL_FALSE;
ctx->Eval.Map2Normal = GL_FALSE;
ctx->Eval.Map2Color4 = GL_FALSE;
ctx->Eval.Map2Index = GL_FALSE;
ctx->Eval.Map2Normal = GL_FALSE;
@@
-904,7
+905,7
@@
void _mesa_init_eval( GLcontext *ctx )
ctx->Eval.Map2TextureCoord4 = GL_FALSE;
ctx->Eval.Map2Vertex3 = GL_FALSE;
ctx->Eval.Map2Vertex4 = GL_FALSE;
ctx->Eval.Map2TextureCoord4 = GL_FALSE;
ctx->Eval.Map2Vertex3 = GL_FALSE;
ctx->Eval.Map2Vertex4 = GL_FALSE;
-
MEMSET
(ctx->Eval.Map2Attrib, 0, sizeof(ctx->Eval.Map2Attrib));
+
memset
(ctx->Eval.Map2Attrib, 0, sizeof(ctx->Eval.Map2Attrib));
ctx->Eval.AutoNormal = GL_FALSE;
ctx->Eval.MapGrid1un = 1;
ctx->Eval.MapGrid1u1 = 0.0;
ctx->Eval.AutoNormal = GL_FALSE;
ctx->Eval.MapGrid1un = 1;
ctx->Eval.MapGrid1u1 = 0.0;
@@
-952,7
+953,7
@@
void _mesa_init_eval( GLcontext *ctx )
}
}
-void _mesa_free_eval_data(
GL
context *ctx )
+void _mesa_free_eval_data(
struct gl_
context *ctx )
{
int i;
{
int i;