diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-01-24 04:56:19 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-01-24 04:56:19 +0000 |
commit | ab36c9aa1c4af92dd9f4ec48028f1eb2e98d1ccc (patch) | |
tree | d0ba400f68a046412770624342c50b6cbdbc8009 /src/mesa/main/get.c | |
parent | 9533fd18420b8ce5f229b43cf16408e64a10adaf (diff) |
removed the unused/broken GL_PGI_misc_hints extension
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r-- | src/mesa/main/get.c | 202 |
1 files changed, 1 insertions, 201 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index d9b046556f..63e04b1739 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1,4 +1,4 @@ -/* $Id: get.c,v 1.51 2001/01/24 00:04:58 brianp Exp $ */ +/* $Id: get.c,v 1.52 2001/01/24 04:56:20 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1021,56 +1021,6 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params ) gl_error(ctx, GL_INVALID_ENUM, "glGetBooleanv"); break; - /* GL_PGI_misc_hints */ - case GL_STRICT_DEPTHFUNC_HINT_PGI: - *params = ENUM_TO_BOOL(GL_NICEST); - break; - case GL_STRICT_LIGHTING_HINT_PGI: - *params = ENUM_TO_BOOL(ctx->Hint.StrictLighting); - break; - case GL_STRICT_SCISSOR_HINT_PGI: - case GL_FULL_STIPPLE_HINT_PGI: - *params = ENUM_TO_BOOL(GL_TRUE); - break; - case GL_CONSERVE_MEMORY_HINT_PGI: - *params = ENUM_TO_BOOL(GL_FALSE); - break; - case GL_ALWAYS_FAST_HINT_PGI: - *params = (GLboolean) (ctx->Hint.AllowDrawWin == GL_TRUE && - ctx->Hint.AllowDrawFrg == GL_FALSE && - ctx->Hint.AllowDrawMem == GL_FALSE); - break; - case GL_ALWAYS_SOFT_HINT_PGI: - *params = (GLboolean) (ctx->Hint.AllowDrawWin == GL_TRUE && - ctx->Hint.AllowDrawFrg == GL_TRUE && - ctx->Hint.AllowDrawMem == GL_TRUE); - break; - case GL_ALLOW_DRAW_OBJ_HINT_PGI: - *params = (GLboolean) GL_TRUE; - break; - case GL_ALLOW_DRAW_WIN_HINT_PGI: - *params = (GLboolean) ctx->Hint.AllowDrawWin; - break; - case GL_ALLOW_DRAW_FRG_HINT_PGI: - *params = (GLboolean) ctx->Hint.AllowDrawFrg; - break; - case GL_ALLOW_DRAW_MEM_HINT_PGI: - *params = (GLboolean) ctx->Hint.AllowDrawMem; - break; - case GL_CLIP_NEAR_HINT_PGI: - case GL_CLIP_FAR_HINT_PGI: - *params = ENUM_TO_BOOL(GL_TRUE); - break; - case GL_WIDE_LINE_HINT_PGI: - *params = ENUM_TO_BOOL(GL_DONT_CARE); - break; - case GL_BACK_NORMALS_HINT_PGI: - *params = ENUM_TO_BOOL(GL_TRUE); - break; - case GL_NATIVE_GRAPHICS_HANDLE_PGI: - *params = 0; - break; - /* GL_EXT_compiled_vertex_array */ case GL_ARRAY_ELEMENT_LOCK_FIRST_EXT: *params = ctx->Array.LockFirst ? GL_TRUE : GL_FALSE; @@ -2259,56 +2209,6 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params ) gl_error(ctx, GL_INVALID_ENUM, "glGetDoublev"); break; - /* GL_PGI_misc_hints */ - case GL_STRICT_DEPTHFUNC_HINT_PGI: - *params = ENUM_TO_DOUBLE(GL_NICEST); - break; - case GL_STRICT_LIGHTING_HINT_PGI: - *params = ENUM_TO_DOUBLE(ctx->Hint.StrictLighting); - break; - case GL_STRICT_SCISSOR_HINT_PGI: - case GL_FULL_STIPPLE_HINT_PGI: - *params = ENUM_TO_DOUBLE(GL_TRUE); - break; - case GL_CONSERVE_MEMORY_HINT_PGI: - *params = ENUM_TO_DOUBLE(GL_FALSE); - break; - case GL_ALWAYS_FAST_HINT_PGI: - *params = (GLdouble) (ctx->Hint.AllowDrawWin == GL_TRUE && - ctx->Hint.AllowDrawFrg == GL_FALSE && - ctx->Hint.AllowDrawMem == GL_FALSE); - break; - case GL_ALWAYS_SOFT_HINT_PGI: - *params = (GLdouble) (ctx->Hint.AllowDrawWin == GL_TRUE && - ctx->Hint.AllowDrawFrg == GL_TRUE && - ctx->Hint.AllowDrawMem == GL_TRUE); - break; - case GL_ALLOW_DRAW_OBJ_HINT_PGI: - *params = (GLdouble) GL_TRUE; - break; - case GL_ALLOW_DRAW_WIN_HINT_PGI: - *params = (GLdouble) ctx->Hint.AllowDrawWin; - break; - case GL_ALLOW_DRAW_FRG_HINT_PGI: - *params = (GLdouble) ctx->Hint.AllowDrawFrg; - break; - case GL_ALLOW_DRAW_MEM_HINT_PGI: - *params = (GLdouble) ctx->Hint.AllowDrawMem; - break; - case GL_CLIP_NEAR_HINT_PGI: - case GL_CLIP_FAR_HINT_PGI: - *params = ENUM_TO_DOUBLE(GL_TRUE); - break; - case GL_WIDE_LINE_HINT_PGI: - *params = ENUM_TO_DOUBLE(GL_DONT_CARE); - break; - case GL_BACK_NORMALS_HINT_PGI: - *params = ENUM_TO_DOUBLE(GL_TRUE); - break; - case GL_NATIVE_GRAPHICS_HANDLE_PGI: - *params = 0; - break; - /* GL_EXT_compiled_vertex_array */ case GL_ARRAY_ELEMENT_LOCK_FIRST_EXT: *params = (GLdouble) ctx->Array.LockFirst; @@ -3499,56 +3399,6 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params ) gl_error(ctx, GL_INVALID_ENUM, "glGetFloatv"); break; - /* GL_PGI_misc_hints */ - case GL_STRICT_DEPTHFUNC_HINT_PGI: - *params = ENUM_TO_FLOAT(GL_NICEST); - break; - case GL_STRICT_LIGHTING_HINT_PGI: - *params = ENUM_TO_FLOAT(ctx->Hint.StrictLighting); - break; - case GL_STRICT_SCISSOR_HINT_PGI: - case GL_FULL_STIPPLE_HINT_PGI: - *params = ENUM_TO_FLOAT(GL_TRUE); - break; - case GL_CONSERVE_MEMORY_HINT_PGI: - *params = ENUM_TO_FLOAT(GL_FALSE); - break; - case GL_ALWAYS_FAST_HINT_PGI: - *params = (GLfloat) (ctx->Hint.AllowDrawWin == GL_TRUE && - ctx->Hint.AllowDrawFrg == GL_FALSE && - ctx->Hint.AllowDrawMem == GL_FALSE); - break; - case GL_ALWAYS_SOFT_HINT_PGI: - *params = (GLfloat) (ctx->Hint.AllowDrawWin == GL_TRUE && - ctx->Hint.AllowDrawFrg == GL_TRUE && - ctx->Hint.AllowDrawMem == GL_TRUE); - break; - case GL_ALLOW_DRAW_OBJ_HINT_PGI: - *params = (GLfloat) GL_TRUE; - break; - case GL_ALLOW_DRAW_WIN_HINT_PGI: - *params = (GLfloat) ctx->Hint.AllowDrawWin; - break; - case GL_ALLOW_DRAW_FRG_HINT_PGI: - *params = (GLfloat) ctx->Hint.AllowDrawFrg; - break; - case GL_ALLOW_DRAW_MEM_HINT_PGI: - *params = (GLfloat) ctx->Hint.AllowDrawMem; - break; - case GL_CLIP_NEAR_HINT_PGI: - case GL_CLIP_FAR_HINT_PGI: - *params = ENUM_TO_FLOAT(GL_TRUE); - break; - case GL_WIDE_LINE_HINT_PGI: - *params = ENUM_TO_FLOAT(GL_DONT_CARE); - break; - case GL_BACK_NORMALS_HINT_PGI: - *params = ENUM_TO_FLOAT(GL_TRUE); - break; - case GL_NATIVE_GRAPHICS_HANDLE_PGI: - *params = 0; - break; - /* GL_EXT_compiled_vertex_array */ case GL_ARRAY_ELEMENT_LOCK_FIRST_EXT: *params = (GLfloat) ctx->Array.LockFirst; @@ -4711,56 +4561,6 @@ _mesa_GetIntegerv( GLenum pname, GLint *params ) gl_error(ctx, GL_INVALID_ENUM, "glGetIntegerv"); break; - /* GL_PGI_misc_hints */ - case GL_STRICT_DEPTHFUNC_HINT_PGI: - *params = (GL_NICEST); - break; - case GL_STRICT_LIGHTING_HINT_PGI: - *params = (ctx->Hint.StrictLighting); - break; - case GL_STRICT_SCISSOR_HINT_PGI: - case GL_FULL_STIPPLE_HINT_PGI: - *params = GL_TRUE; - break; - case GL_CONSERVE_MEMORY_HINT_PGI: - *params = GL_FALSE; - break; - case GL_ALWAYS_FAST_HINT_PGI: - *params = (ctx->Hint.AllowDrawWin == GL_TRUE && - ctx->Hint.AllowDrawFrg == GL_FALSE && - ctx->Hint.AllowDrawMem == GL_FALSE); - break; - case GL_ALWAYS_SOFT_HINT_PGI: - *params = (ctx->Hint.AllowDrawWin == GL_TRUE && - ctx->Hint.AllowDrawFrg == GL_TRUE && - ctx->Hint.AllowDrawMem == GL_TRUE); - break; - case GL_ALLOW_DRAW_OBJ_HINT_PGI: - *params = GL_TRUE; - break; - case GL_ALLOW_DRAW_WIN_HINT_PGI: - *params = ctx->Hint.AllowDrawWin; - break; - case GL_ALLOW_DRAW_FRG_HINT_PGI: - *params = ctx->Hint.AllowDrawFrg; - break; - case GL_ALLOW_DRAW_MEM_HINT_PGI: - *params = ctx->Hint.AllowDrawMem; - break; - case GL_CLIP_NEAR_HINT_PGI: - case GL_CLIP_FAR_HINT_PGI: - *params = GL_TRUE; - break; - case GL_WIDE_LINE_HINT_PGI: - *params = GL_DONT_CARE; - break; - case GL_BACK_NORMALS_HINT_PGI: - *params = GL_TRUE; - break; - case GL_NATIVE_GRAPHICS_HANDLE_PGI: - *params = 0; - break; - /* GL_EXT_compiled_vertex_array */ case GL_ARRAY_ELEMENT_LOCK_FIRST_EXT: *params = ctx->Array.LockFirst; |