Lines Matching refs:GLubyte
68 get_palette_entry(const struct cpal_format_info *info, const GLubyte *palette,
69 GLuint index, GLubyte *pixel)
80 paletted_to_color(const struct cpal_format_info *info, const GLubyte *palette,
81 const void *indices, GLuint num_pixels, GLubyte *image)
83 GLubyte *pix = image;
88 const GLubyte *ind = (const GLubyte *) indices;
102 const GLubyte *ind = (const GLubyte *) indices;
146 * compressed palette format into a regular GLubyte/RGBA glTexImage2D() call.
156 const GLubyte *indices;
170 indices = (const GLubyte *) palette + info->palette_size * info->size;
178 GLubyte *image = NULL;