Matthias Clasen
|
fff2b3c710
|
gdk: Clean up docs syntax
Replace leftover gtk-doc syntax (#Type) with backquotes.
|
2021-05-22 17:25:26 -04:00 |
|
Emmanuele Bassi
|
b3d6928f35
|
x11: Pair eglInitialize with eglTerminate
If we bail out after EGL initialization we want to go back to a stable
state and not leave EGL hanging.
|
2021-05-13 18:23:50 +01:00 |
|
Emmanuele Bassi
|
3d8ba93f59
|
x11: Loosen the match for the NVIDIA driver
It seems nVidia puts a different string in the GL_VENDOR than the one it
uses for GLX.
|
2021-05-13 18:22:30 +01:00 |
|
Emmanuele Bassi
|
abc2d7e4a9
|
x11: Add EGLDisplay getter
Getting an EGLDisplay object is messy; might as well expose the function
we use internally to save some time.
|
2021-05-11 12:42:16 +01:00 |
|
Emmanuele Bassi
|
c35a6725b9
|
x11: Always fall back to GLX on NVIDIA
At least until we can guarantee that EGL-X11 works fine there.
|
2021-05-10 20:44:35 +01:00 |
|
Emmanuele Bassi
|
a57f79006a
|
x11: Move the damage fences into the GLX code
It's GLX-specific anyway, there's no need to complicate things by having
half the code in the generic path, and half in the GLX one.
|
2021-05-10 20:44:35 +01:00 |
|
Emmanuele Bassi
|
9a19e3c741
|
x11: Add profiler marks for SwapBuffers
|
2021-05-10 20:44:35 +01:00 |
|
Emmanuele Bassi
|
8924d614c0
|
x11: Use EGL for GL support
This makes the X11 backend similar to the Wayland one, when it comes to
OpenGL.
Fall back to GLX only if EGL support is not available.
|
2021-05-10 20:44:35 +01:00 |
|