[Mesa-dev] [PATCH v2 08/15] egl/main: let EGL_RECORDABLE_ANDROID be a valid attrib

Eric Anholt eric at anholt.net
Mon Jun 8 13:17:22 PDT 2015


Chih-Wei Huang <cwhuang at android-x86.org> writes:

> Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
> ---
>  src/egl/main/eglconfig.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/egl/main/eglconfig.h b/src/egl/main/eglconfig.h
> index 84cb227..7121b3d 100644
> --- a/src/egl/main/eglconfig.h
> +++ b/src/egl/main/eglconfig.h
> @@ -86,6 +86,7 @@ struct _egl_config
>  
>     /* extensions */
>     EGLint YInvertedNOK;
> +   EGLint RecordableAndroid;
>  };
>  
>  
> @@ -133,6 +134,7 @@ _eglOffsetOfConfig(EGLint attr)
>     ATTRIB_MAP(EGL_CONFORMANT,                Conformant);
>     /* extensions */
>     ATTRIB_MAP(EGL_Y_INVERTED_NOK,            YInvertedNOK);
> +   ATTRIB_MAP(EGL_RECORDABLE_ANDROID,        RecordableAndroid);
>  #undef ATTRIB_MAP
>     default:
>        return -1;

This should be associated with exposing the EGL_ANDROID_recordable
extension, right?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150608/6493fbc7/attachment.sig>


More information about the mesa-dev mailing list