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

Chih-Wei Huang cwhuang at android-x86.org
Fri Jun 19 09:54:24 PDT 2015


2015-06-09 4:17 GMT+08:00 Eric Anholt <eric at anholt.net>:
> Chih-Wei Huang <cwhuang at android-x86.org> writes:
>> ---
>>  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?

Sorry for reply late.
I just sent an update patch.
But not sure if it's what you expect.


-- 
Chih-Wei
Android-x86 project
http://www.android-x86.org


More information about the mesa-dev mailing list