diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-01-07 06:09:05 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-01-07 06:09:05 +0000 |
commit | b44c86d67cd47fbabfdbcca0d3946ae33ad85604 (patch) | |
tree | 90e8c0f7af23268ea9d31fb460592f52973952c4 /src/mesa/glapi | |
parent | 0a654a5d5a99e00e1456cd04870dd6e656b558f9 (diff) |
fixed GetString template, added GL_SGI_color_table templates
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/glapitemp.h | 51 |
1 files changed, 48 insertions, 3 deletions
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index b75ac4e4dea..09334fcd397 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -1,10 +1,10 @@ -/* $Id: glapitemp.h,v 1.4 1999/12/16 12:36:30 brianp Exp $ */ +/* $Id: glapitemp.h,v 1.5 2000/01/07 06:09:05 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -660,7 +660,7 @@ KEYWORD1 void KEYWORD2 NAME(GetPolygonStipple)(GLubyte *mask) DISPATCH(GetPolygonStipple, (mask)); } -KEYWORD1 const GLubyte * KEYWORD2 glGetString(GLenum name) +KEYWORD1 const GLubyte * KEYWORD2 NAME(GetString)(GLenum name) { DISPATCH_SETUP; return DISPATCH(GetString, (name)); @@ -2766,6 +2766,51 @@ KEYWORD1 void KEYWORD2 NAME(SeparableFilter2DEXT)(GLenum target, GLenum internal +/* 14. GL_SGI_color_table */ + +KEYWORD1 void KEYWORD2 NAME(ColorTableParameterfvSGI)(GLenum target, GLenum pname, const GLfloat *params) +{ + DISPATCH_SETUP; + DISPATCH(ColorTableParameterfvSGI, (target, pname, params)); +} + +KEYWORD1 void KEYWORD2 NAME(ColorTableParameterivSGI)(GLenum target, GLenum pname, const GLint *params) +{ + DISPATCH_SETUP; + DISPATCH(ColorTableParameterivSGI, (target, pname, params)); +} + +KEYWORD1 void KEYWORD2 NAME(ColorTableSGI)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) +{ + DISPATCH_SETUP; + DISPATCH(ColorTableSGI, (target, internalformat, width, format, type, table)); +} + +KEYWORD1 void KEYWORD2 NAME(CopyColorTableSGI)(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width) +{ + DISPATCH_SETUP; + DISPATCH(CopyColorTableSGI, (target, internalFormat, x, y, width)); +} + +KEYWORD1 void KEYWORD2 NAME(GetColorTableSGI)(GLenum target, GLenum format, GLenum type, GLvoid *table) +{ + DISPATCH_SETUP; + DISPATCH(GetColorTableSGI, (target, format, type, table)); +} +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvSGI)(GLenum target, GLenum pname, GLfloat *params) +{ + DISPATCH_SETUP; + DISPATCH(GetColorTableParameterfvSGI, (target, pname, params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivSGI)(GLenum target, GLenum pname, GLint *params) +{ + DISPATCH_SETUP; + DISPATCH(GetColorTableParameterivSGI, (target, pname, params)); +} + + + /* 20. GL_EXT_texture_object */ KEYWORD1 void KEYWORD2 NAME(GenTexturesEXT)(GLsizei n, GLuint *textures) |