Lines Matching refs:internalFormat
108 _mesa_cpal_compressed_size(int level, GLenum internalFormat,
116 if (internalFormat < GL_PALETTE4_RGB8_OES
117 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
121 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
122 assert(info->cpal_format == internalFormat);
144 * Convert a call to glCompressedTexImage2D() where internalFormat is a
149 GLenum internalFormat,
159 /* By this point, the internalFormat should have been validated.
161 assert(internalFormat >= GL_PALETTE4_RGB8_OES
162 && internalFormat <= GL_PALETTE8_RGB5_A1_OES);
164 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];