[Mesa-dev] [PATCH 1/3] Mesa: Add support for GL_OES_texture_*float* extensions.

Emil Velikov emil.l.velikov at gmail.com
Thu Jan 22 09:41:01 PST 2015


Hi Kalyan,

On 08/01/15 04:30, Kalyan Kondapally wrote:
[...]
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index b95dfb9..8553a6c 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -1220,6 +1220,8 @@ struct gl_texture_object
>     GLboolean Purgeable;        /**< Is the buffer purgeable under memory
>                                      pressure? */
>     GLboolean Immutable;        /**< GL_ARB_texture_storage */
> +   GLboolean _IsFloat;         /**< GL_OES_float_texture */
> +   GLboolean _IsHalfFloat;     /**< GL_OES_half_float_texture */
>  
>     GLuint MinLevel;            /**< GL_ARB_texture_view */
>     GLuint MinLayer;            /**< GL_ARB_texture_view */
> @@ -3858,6 +3860,10 @@ struct gl_extensions
>     GLboolean OES_draw_texture;
>     GLboolean OES_depth_texture_cube_map;
>     GLboolean OES_EGL_image_external;
> +   GLboolean OES_texture_float;
> +   GLboolean OES_texture_half_float;
> +   GLboolean OES_texture_float_linear;
> +   GLboolean OES_texture_half_float_linear;
Humble nitpick - can we keep these alphabetically sorted ?

Thanks
Emil



More information about the mesa-dev mailing list