mesa/src/gallium/include/pipe
Gert Wollny 29f0ab2c30 Gallium: Add format PIPE_FORMAT_R8_SRGB
This format is needed to support EXT_texture_sRGB_R8. THe patch adds a new
format enum, the format entries in Gallium and and svga, the mapping between
sRGB and linear formats, and tests.

  v2: - add mapping to linear format for PIPE_FORMATR_R8_SRGB
  v3: - Add texture format to svga format table since otherwise building
        mesa will fail when this driver is enabled. It was not tested
        whether the extension actually works.
  v4: - svga: remove the SVGA specific format definitions and table entries
        and only add correct the location of PIPE_FORMAT_R8_SRGB in the
        format_conversion_table (Ilia Mirkin)
      - Split patch (1/2) to separate Gallium part and mesa/st part.
        (Roland Scheidegger)
      - Trim the commit message to only contain the relevant parts from the
        split.
  v5: - svga: correct location of PIPE_FORMAT_SRGB_R8 (Ilia Mirkin)

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
2018-11-02 11:52:44 +01:00
..
p_compiler.h util: move ALWAYS_INLINE macro to util/macro.h 2017-05-09 11:21:03 +10:00
p_config.h Revert "gallium: remove unused PIPE_CC_GCC_VERSION" 2017-05-24 11:33:46 -06:00
p_context.h gallium: add pipe_context::set_context_param for tuning perf on AMD Zen (v2) 2018-09-07 15:48:31 -04:00
p_defines.h gallium: rework PIPE_HANDLE_USAGE_* flags 2018-10-30 16:03:02 -04:00
p_format.h Gallium: Add format PIPE_FORMAT_R8_SRGB 2018-11-02 11:52:44 +01:00
p_screen.h gallium: add storage_sample_count parameter into is_format_supported 2018-07-31 18:28:41 -04:00
p_shader_tokens.h gallium: add TGSI_MEMORY_STREAM_CACHE_POLICY 2018-08-29 15:31:41 -04:00
p_state.h st/mesa: Record shader access qualifiers for images 2018-10-23 02:36:24 -07:00
p_video_codec.h Remove wrongly repeated words in comments 2016-06-23 13:55:03 -07:00
p_video_enums.h vl: add VP9 profile2 support 2018-04-12 11:15:13 -04:00
p_video_state.h vl: add VP9 picture description 2018-04-12 11:15:12 -04:00