Lines Matching refs:format

48  * Get the GL base format of a specified GL compressed texture format
72 * The base format of \c format if \c format is a compressed format (either
76 _mesa_gl_compressed_format_base_format(GLenum format)
78 switch (format) {
223 * RGBA versions of the S3TC extensions compressed format tokens
228 * unsigned RGB or unsigned RGBA. The DXT1 format supporting alpha
257 * very long time to compress the textures in this format it's probably not
258 * very useful as a general format where the GL will have to compress it on
262 * \param formats the resulting format list (may be NULL).
384 * compressed online, by passing the compressed texture format enum
385 * as the internal format when uploading a texture using TexImage1D,
396 * In particular, the ASTC format specifiers will not be added to
485 _mesa_glenum_to_compressed_format(GLenum format)
487 switch (format) {
678 * GLenum for that format.
680 * which must return the specific texture format used when the user might
681 * have originally specified a generic compressed format in their
684 * internal format unchanged.
867 _mesa_problem(ctx, "Unexpected mesa texture format in"
875 * Return a texel-fetch function for the given format, or NULL if
876 * invalid format.
879 _mesa_get_compressed_fetch_func(mesa_format format)
881 switch (_mesa_get_format_layout(format)) {
883 return _mesa_get_dxt_fetch_func(format);
885 return _mesa_get_fxt_fetch_func(format);
888 return _mesa_get_compressed_rgtc_func(format);
890 return _mesa_get_etc_fetch_func(format);
892 return _mesa_get_bptc_fetch_func(format);
905 _mesa_decompress_image(mesa_format format, GLuint width, GLuint height,
914 bytes = _mesa_get_format_bytes(format);
915 _mesa_get_format_block_size(format, &bw, &bh);
917 fetch = _mesa_get_compressed_fetch_func(format);
919 _mesa_problem(NULL, "Unexpected format in _mesa_decompress_image()");