[Mesa-dev] [PATCH 1/2] configure.ac: enable building GLES1 and GLES2 by default

Tapani Pälli tapani.palli at intel.com
Tue May 26 04:26:18 PDT 2015


On 05/26/2015 01:57 PM, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> No particular reason other than most people should always build this.

Is there really a reason for most people to build gles1 support? IIRC 
SurfaceFlinger uses it but haven't seen much other users. Maybe it 
should be enabled by default only for Android?


> ---
>   configure.ac | 12 ++++++------
>   1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 5594548..84b404e 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -714,15 +714,15 @@ AC_ARG_ENABLE([opengl],
>       [enable_opengl="$enableval"],
>       [enable_opengl=yes])
>   AC_ARG_ENABLE([gles1],
> -    [AS_HELP_STRING([--enable-gles1],
> -        [enable support for OpenGL ES 1.x API @<:@default=disabled@:>@])],
> +    [AS_HELP_STRING([--disable-gles1],
> +        [disable support for OpenGL ES 1.x API @<:@default=enabled@:>@])],
>       [enable_gles1="$enableval"],
> -    [enable_gles1=no])
> +    [enable_gles1=yes])
>   AC_ARG_ENABLE([gles2],
> -    [AS_HELP_STRING([--enable-gles2],
> -        [enable support for OpenGL ES 2.x API @<:@default=disabled@:>@])],
> +    [AS_HELP_STRING([--disable-gles2],
> +        [disable support for OpenGL ES 2.x API @<:@default=enabled@:>@])],
>       [enable_gles2="$enableval"],
> -    [enable_gles2=no])
> +    [enable_gles2=yes])
>
>   AC_ARG_ENABLE([dri],
>       [AS_HELP_STRING([--enable-dri],
>


More information about the mesa-dev mailing list