egl: Pull the API mask directly out of the dri_screen.
authorEmma Anholt <emma@anholt.net>
Tue, 29 Nov 2022 20:15:12 +0000 (12:15 -0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 5 Dec 2022 19:26:41 +0000 (19:26 +0000)
commit7ab8dd13b9eaa1d5620cc8432bd0efc70862f88f
tree9f9d806e9c7171c096f862dad6dac18290e58fe7
parent133e2f8ac395fff20efa9fb12021003e1af995db
egl: Pull the API mask directly out of the dri_screen.

Now that we know the driver on the other side is the same version of Mesa
as our build, we can just access the screen instead of having accessor
functions.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
src/egl/drivers/dri2/egl_dri2.c
src/egl/meson.build