• Gert Wollny's avatar
    mesa/core: Add definitions and translations for EXT_texture_sRGB_R8 · b8e9c652
    Gert Wollny authored
    v2: - fix format definition line
        - disable  for desktop GL
        - don't add GL_R8_EXT to glext.h since it is already in
          GLES2/gl2ext.h in glext.h and include this header  where needed
          (all Emil)
    v3: - swrast: Fill the function table for sRGB_R8
          The size of the function table is checked at compile time and must
          correspond to the number of mesa texture formats.
          dri/swrast being gles-2.0 doesn't support the extension though
    v4: - correct format layout comment (Ilia Mirkin)
        - correct logic for accepting GL_RED only textures (in part Ilia Mirkin)
          EXT_texture_sRGB_R8 requires OpenGL ES 3.0 which includes
          ARB_texture_rg/EXT_texture_rg, so one only must check for the first
          when SR8_EXT is really requested.
    v5: - add define for GL_ES8_XT to glheader.h and don't include GLES
          headers  (Ilia Mirkin)
    Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
    Reviewed-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
    b8e9c652
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...