diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-09-28 03:37:22 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-09-28 03:37:22 +0000 |
commit | 940158a6f2e98069a47293d713df674e16ad8a11 (patch) | |
tree | 2a30931edcadd9b53b108d1a7206a6bc21a9b083 /GL/mesa | |
parent | 806d74bc0640f4f3dcc034b36a36aea289b01685 (diff) |
Replace all uses of __glEvalComputeK (and the doubly redundant
EvalComputeK) with calls to one of __glMap[12][df]_size. This was
tested with progs/samples/eval (from Mesa).
Diffstat (limited to 'GL/mesa')
-rw-r--r-- | GL/mesa/X/xf86glx.c | 30 | ||||
-rw-r--r-- | GL/mesa/X/xf86glxint.h | 1 |
2 files changed, 0 insertions, 31 deletions
diff --git a/GL/mesa/X/xf86glx.c b/GL/mesa/X/xf86glx.c index 229e871fa..d39fafc28 100644 --- a/GL/mesa/X/xf86glx.c +++ b/GL/mesa/X/xf86glx.c @@ -900,36 +900,6 @@ void __MESA_endDispatchOverride(__GLcontext *gc) * in the OpenGL SI. */ -GLint __glEvalComputeK(GLenum target) -{ - switch (target) { - case GL_MAP1_VERTEX_4: - case GL_MAP1_COLOR_4: - case GL_MAP1_TEXTURE_COORD_4: - case GL_MAP2_VERTEX_4: - case GL_MAP2_COLOR_4: - case GL_MAP2_TEXTURE_COORD_4: - return 4; - case GL_MAP1_VERTEX_3: - case GL_MAP1_TEXTURE_COORD_3: - case GL_MAP1_NORMAL: - case GL_MAP2_VERTEX_3: - case GL_MAP2_TEXTURE_COORD_3: - case GL_MAP2_NORMAL: - return 3; - case GL_MAP1_TEXTURE_COORD_2: - case GL_MAP2_TEXTURE_COORD_2: - return 2; - case GL_MAP1_TEXTURE_COORD_1: - case GL_MAP2_TEXTURE_COORD_1: - case GL_MAP1_INDEX: - case GL_MAP2_INDEX: - return 1; - default: - return 0; - } -} - GLuint __glFloorLog2(GLuint val) { int c = 0; diff --git a/GL/mesa/X/xf86glxint.h b/GL/mesa/X/xf86glxint.h index 8b893af6d..5daf4354a 100644 --- a/GL/mesa/X/xf86glxint.h +++ b/GL/mesa/X/xf86glxint.h @@ -98,7 +98,6 @@ extern void __MESA_beginDispatchOverride(__GLcontext *gc); extern void __MESA_endDispatchOverride(__GLcontext *gc); extern GLint __glCallLists_size(GLsizei n, GLenum type); -extern GLint __glEvalComputeK(GLenum target); extern GLuint __glFloorLog2(GLuint val); extern GLint __glFogfv_size(GLenum pname); extern GLint __glFogiv_size(GLenum pname); |