972f36d8fa
Instead of building up EGL attribute lists and then having to parse them again, call the DRI driver directly and then use the dri2_create_image_from_dri() helper to wrap the __DRIimage in an EGLImage. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6055>