egl: Refactoring _eglParseDisplayAttribList out of _eglGet*Display and used by _eglFindDisplay
What does this MR do and why?
* egl: split display attrib list parsing to a common function
* egl: Make _eglGetDeviceDisplay to use _eglParseDisplayAttribList
* egl: Make _eglGetAndroidDisplay to use _eglParseDisplayAttribList
* egl: Make _eglGetSurfacelessDisplay to use _eglParseDisplayAttribList
* egl: Make _eglGetWaylandDisplay to use _eglParseDisplayAttribList
* egl: Make _eglGetGbmDisplay to use _eglParseDisplayAttribList
* egl: Make _eglGetXcbDisplay to use _eglParseDisplayAttribList
* egl: Refactoring _eglParseDisplayAttribList out of _eglGetX11Display
* egl: Report _eglError properly within _eglFindDisplay
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
cc @eric This is a split of commit !10118 (0a43b42a) into multiple commits for easier to review, And I found _eglGetAndroidDisplay are need to be revised over !10118 (0a43b42a)
For _eglFindDisplay in
- d273fef6 - egl: split display attrib list parsing to a common function
Now we can see it's called _eglParseDisplayAttribList after this MR, is that fine calling to _eglParseDisplayAttribList, this will change the semantic of _eglFindDisplay