63 for (
i=0;
i<32;
i++) {
142 texObj =
ctx->Texture.Current1D;
145 texObj =
ctx->Texture.Current2D;
148 texObj =
ctx->Texture.Proxy1D;
152 texObj =
ctx->Texture.Proxy2D;
179 if (
ctx->Driver.UpdateTexturePalette) {
180 (*
ctx->Driver.UpdateTexturePalette)(
ctx, texObj );
244 texObj =
ctx->Texture.Current1D;
247 texObj =
ctx->Texture.Current2D;
void gl_GetColorTableParameteriv(GLcontext *ctx, GLenum target, GLenum pname, GLint *params)
void gl_GetColorTableParameterfv(GLcontext *ctx, GLenum target, GLenum pname, GLfloat *params)
void gl_ColorTable(GLcontext *ctx, GLenum target, GLenum internalFormat, struct gl_image *table)
static GLboolean power_of_two(GLint k)
void gl_GetColorTable(GLcontext *ctx, GLenum target, GLenum format, GLenum type, GLvoid *table)
static GLint decode_internal_format(GLint format)
void gl_ColorSubTable(GLcontext *ctx, GLenum target, GLsizei start, struct gl_image *data)
#define GL_COLOR_TABLE_INTENSITY_SIZE_EXT
#define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT
#define GL_COLOR_TABLE_GREEN_SIZE_EXT
#define GL_COLOR_TABLE_BLUE_SIZE_EXT
#define GL_COLOR_TABLE_ALPHA_SIZE_EXT
#define GL_COLOR_TABLE_WIDTH_EXT
#define GL_COLOR_TABLE_FORMAT_EXT
#define GL_COLOR_TABLE_RED_SIZE_EXT
#define MAX_TEXTURE_PALETTE_SIZE
void gl_problem(const GLcontext *ctx, const char *s)
void gl_error(GLcontext *ctx, GLenum error, const char *s)
#define GL_LUMINANCE_ALPHA
#define GL_PROXY_TEXTURE_2D
#define GL_LUMINANCE4_ALPHA4
GLuint GLuint GLsizei GLenum type
#define GL_INVALID_OPERATION
#define GL_LUMINANCE12_ALPHA4
#define GL_LUMINANCE12_ALPHA12
#define GL_LUMINANCE16_ALPHA16
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define GL_LUMINANCE8_ALPHA8
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
#define GL_LUMINANCE6_ALPHA2
#define GL_PROXY_TEXTURE_1D
#define GL_TEXTURE_3D_EXT
GLenum const GLfloat * params
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define MEMCPY(DST, SRC, BYTES)
#define INSIDE_BEGIN_END(CTX)
GLubyte Palette[MAX_TEXTURE_PALETTE_SIZE *4]