This was originally needed to bind the context to the background thread for DRI2 because it needs to be able to get buffers from the X server. With DRI3 and Wayland, however, it's not needed. All the DRI3 code gets everything it needs from the drawable and only uses the context for flushes and blits, which always come from GLX itself, not the render thread. Now that we've deleted all the DRI2 code, let's delete this, too. Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36123>