• Gert Wollny's avatar
    Gallium: Add format PIPE_FORMAT_R8_SRGB · 29f0ab2c
    Gert Wollny authored
    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's avatarGert Wollny <gert.wollny@collabora.com>
    Reviewed-by: 's avatarRoland Scheidegger <sroland@vmware.com>
    Reviewed-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
    29f0ab2c
Name
Last commit
Last update
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...