Home
last modified time | relevance | path

Searched refs:mesaFormat (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dtexcompress.h43 _mesa_compressed_format_to_glenum(struct gl_context *ctx, mesa_format mesaFormat);
47 mesa_format mesaFormat,
Dtexcompress.c688 mesa_format mesaFormat) in _mesa_compressed_format_to_glenum() argument
690 switch (mesaFormat) { in _mesa_compressed_format_to_glenum()
Dbufferobj.c939 mesa_format mesaFormat; in validate_clear_buffer_format() local
942 mesaFormat = _mesa_validate_texbuffer_format(ctx, internalformat); in validate_clear_buffer_format()
943 if (mesaFormat == MESA_FORMAT_NONE) { in validate_clear_buffer_format()
954 _mesa_is_format_integer_color(mesaFormat)) { in validate_clear_buffer_format()
973 return mesaFormat; in validate_clear_buffer_format()
2814 mesa_format mesaFormat; in clear_buffer_sub_data() local
2825 mesaFormat = _mesa_get_texbuffer_format(ctx, internalformat); in clear_buffer_sub_data()
2827 mesaFormat = validate_clear_buffer_format(ctx, internalformat, in clear_buffer_sub_data()
2831 if (mesaFormat == MESA_FORMAT_NONE) in clear_buffer_sub_data()
2834 clearValueSize = _mesa_get_format_bytes(mesaFormat); in clear_buffer_sub_data()
[all …]
Dteximage.c1663 mesa_format mesaFormat = _mesa_glenum_to_compressed_format(glformat); in compressed_tex_size() local
1664 return _mesa_format_image_size(mesaFormat, width, height, depth); in compressed_tex_size()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_format.c63 mesa_format mesaFormat) in st_mesa_format_to_pipe_format() argument
70 if (mesaFormat == MESA_FORMAT_ETC1_RGB8 && !st->has_etc1) in st_mesa_format_to_pipe_format()
77 if (_mesa_is_format_etc2(mesaFormat) && !st->has_etc2) { in st_mesa_format_to_pipe_format()
83 switch (mesaFormat) { in st_mesa_format_to_pipe_format()
112 if (st_astc_format_fallback(st, mesaFormat)) { in st_mesa_format_to_pipe_format()
113 if (_mesa_is_format_srgb(mesaFormat)) { in st_mesa_format_to_pipe_format()
122 return mesaFormat; in st_mesa_format_to_pipe_format()
Dst_format.h48 st_mesa_format_to_pipe_format(const struct st_context *st, mesa_format mesaFormat);