Fix egl config filtering of config_id
authorRosen Zhelev <rosen.zhelev@arm.com>
Thu, 22 Feb 2018 15:14:05 +0000 (15:14 +0000)
committerAlexander Galazin <alexander.galazin@arm.com>
Wed, 28 Feb 2018 09:09:50 +0000 (10:09 +0100)
commit4bed9578e15a798877a872b8e7f9019edfedaff9
tree7d96ea963a6becb3ab69e2124a5ef721d616e7d9
parentda1ea2c8b915a73e08e48f8b5e8c0a9e8cf0b46c
Fix egl config filtering of config_id

The reference config filter function is changed to correctly implement
the EGL spec for eglChooseConfig() by ignoring all other attributes
when EGL_CONFIG_ID is specified.

Affects:
dEQP-EGL.functional.choose_config.simple.selection_only.config_id
dEQP-EGL.functional.choose_config.simple.selection_and_sort.config_id

Change-Id: Id29758954ce476e6d187fba228d5156295165b02
Components: AOSP
modules/egl/teglChooseConfigReference.cpp