c/client: Improve creation of shared EGL context
To create a shared context we need to provide the same options (usually)
when the original context was created. But not all of those options can be
retrieved from an already created context.
This commit adds more ways to create a shared EGL context by trying multiple times.
Co-authored-by: korejan <korcan_h@hotmail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2599>
authored by