Mesa: Add support for GL_OES_texture_*float* extensions.
authorKalyan Kondapally <kondapallykalyancontribute@gmail.com>
Thu, 8 Jan 2015 04:30:25 +0000 (20:30 -0800)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 29 Jan 2015 06:16:47 +0000 (08:16 +0200)
commita63c8a524b01e802cf2505099f930c0cb97df0b2
tree16622ee46c65fe21ce4200234ce08c314b9f8b8d
parentdd4d9a4e62ecf44011cfa2e020d08029299dd7e0
Mesa: Add support for GL_OES_texture_*float* extensions.

This patch series adds support for following GLES2 Texture Float extensions:
1)GL_OES_texture_float,
2)GL_OES_texture_half_float,
3)GL_OES_texture_float_linear,
4)GL_OES_texture_half_float_linear.

This patch adds basic infrastructure and needed boolean flags to advertise
support for these extensions, by default the support is disabled. Next patch
in the series introduces support for HALF_FLOAT_OES token.

v4: take assert away and make valid_filter_for_float conditional (Tapani),
    fix the alphabetical order (Emil)

Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/extensions.c
src/mesa/main/mtypes.h
src/mesa/main/teximage.c
src/mesa/main/texobj.c