Lines Matching full:internalformat
111 _mesa_cpal_compressed_size(int level, GLenum internalFormat,
119 if (internalFormat < GL_PALETTE4_RGB8_OES
120 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
124 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
125 ASSERT(info->cpal_format == internalFormat);
146 _mesa_cpal_compressed_format_type(GLenum internalFormat, GLenum *format,
151 if (internalFormat < GL_PALETTE4_RGB8_OES
152 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
156 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
162 * Convert a call to glCompressedTexImage2D() where internalFormat is a
167 GLenum internalFormat,
177 /* By this point, the internalFormat should have been validated.
179 assert(internalFormat >= GL_PALETTE4_RGB8_OES
180 && internalFormat <= GL_PALETTE8_RGB5_A1_OES);
182 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];