[Mesa-dev] [PATCH 1/2] configure.ac: enable building GLES1 and GLES2 by default
Ian Romanick
idr at freedesktop.org
Tue May 26 10:47:10 PDT 2015
On 05/26/2015 05:08 AM, Marek Olšák wrote:
> It's mainly for distributions. You can turn it off, but it won't make
> the build faster, because all code is shared.
If this could be used as a step towards eventually eliminating some
configure options altogether, I'm definitely in favor....
> Marek
>
> On Tue, May 26, 2015 at 1:26 PM, Tapani Pälli <tapani.palli at intel.com> wrote:
>>
>> 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],
>>>
>>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
More information about the mesa-dev
mailing list