Commits on Source (11)
-
This commit adds an ability to store a glvnd vendor in Glamor structures, which can be used for initialize some vendor-based values without hooking into DDX internals. Also this adds setting this value into Xorg and Xwayland Signed-off-by:
Konstantin Pugin <ria.freelander@gmail.com> Reviewed-by:
Adam Jackson <ajax@redhat.com> Acked-by:
Emma Anholt <emma@anholt.net>
-
This code is almost entirely ddx-agnostic already, and I'd like to use it from the other EGL glamor consumers. Which, right now that's just Xorg, but soon it'll be Xephyr too.
-
-
This allows Xorg to use Glamor GLX when Glamor is requested, and eliminates usage of DRI2 in case of Glamor. Signed-off-by:
Konstantin Pugin <ria.freelander@gmail.com> Reviewed-by:
Adam Jackson <ajax@redhat.com> Acked-by:
Emma Anholt <emma@anholt.net>
-
Konstantin authored
Same semantics as in glxdri2.c, and same purpose. Signed-off-by:
Konstantin <ria.freelander@gmail.com>
-
Xephyr now gained an ability to use glamor glx provider. Unfortunately, without DRI3, we end up with same llvmpipe as before Signed-off-by:
Konstantin Pugin <ria.freelander@gmail.com>
-
Konstantin authored
The recent commit a563f530 - "glamor/glxprov: Stop exposing non-db (-capable) configs" was aiming at reducing the number of advertised visuals for optimizing GLX initialization. Unfortunately, GL applications which rely exclusively on single-buffered visuals will fail to find a suitable visual with this. Revert the commit to expose the single-buffered visuals and restore the compatibility with applications which rely on single-buffered configs. This reverts commit a563f530 Signed-off-by:
Konstantin <ria.freelander@gmail.com>
-
Olivier Fourdan authored
No functional change. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Reviewed-by:
Kenny Levinsen <kl@kl.wtf>
-
Olivier Fourdan authored
Whenever the output configuration changes, if Xwayland is running fullscreen, we may need to update the viewport in use or even update the output on which Xwayland is currently running fullscreen. Add a new helper function xwl_window_rootful_update_fullscreen() that will recompute the fullscreen state and the viewport setup so that the fullscreen Xwayland rootful window matches the new setup. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Reviewed-by:
Kenny Levinsen <kl@kl.wtf>
-
Olivier Fourdan authored
Make sure to update the fullscreen rootful window configuration whenever the output setup changes. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Reviewed-by:
Kenny Levinsen <kl@kl.wtf>
-
Olivier Fourdan authored
When running fullscreen, if an X11 client has changed the resolution, Xwayland is using a viewport to emulate the expected resolution. When changing focus, the Wayland compositor will send a configure event with the actual surface size, not the size of the emulated XRandR resolution. As a result, changing focus while XRandR emulation (and hence the viewport) is active in Xwayland will revert the resolution to the actual output size, defeating the XRandR emulation. To avoid that issue, only change the size when not running fullscreen. Fixes: 53b6d4db - xwayland: Apply root toplevel configure dimensions Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Reviewed-by:
Kenny Levinsen <kl@kl.wtf>
Showing
- glamor/glamor.c 26 additions, 0 deletionsglamor/glamor.c
- glamor/glamor.h 6 additions, 0 deletionsglamor/glamor.h
- glamor/glamor_egl.c 28 additions, 0 deletionsglamor/glamor_egl.c
- glamor/glamor_egl_stubs.c 0 additions, 60 deletionsglamor/glamor_egl_stubs.c
- glamor/glamor_glx_provider.c 10 additions, 9 deletionsglamor/glamor_glx_provider.c
- glamor/glamor_glx_provider.h 2 additions, 2 deletionsglamor/glamor_glx_provider.h
- glamor/glamor_priv.h 1 addition, 0 deletionsglamor/glamor_priv.h
- glamor/meson.build 4 additions, 7 deletionsglamor/meson.build
- hw/kdrive/ephyr/ephyr_glamor.c 62 additions, 0 deletionshw/kdrive/ephyr/ephyr_glamor.c
- hw/kdrive/ephyr/hostx.c 56 additions, 0 deletionshw/kdrive/ephyr/hostx.c
- hw/kdrive/ephyr/meson.build 1 addition, 1 deletionhw/kdrive/ephyr/meson.build
- hw/xfree86/glamor_egl/meson.build 1 addition, 1 deletionhw/xfree86/glamor_egl/meson.build
- hw/xwayland/meson.build 0 additions, 4 deletionshw/xwayland/meson.build
- hw/xwayland/xwayland-glamor.c 2 additions, 1 deletionhw/xwayland/xwayland-glamor.c
- hw/xwayland/xwayland-output.c 10 additions, 0 deletionshw/xwayland/xwayland-output.c
- hw/xwayland/xwayland-types.h 1 addition, 0 deletionshw/xwayland/xwayland-types.h
- hw/xwayland/xwayland-window.c 28 additions, 2 deletionshw/xwayland/xwayland-window.c
- hw/xwayland/xwayland-window.h 2 additions, 1 deletionhw/xwayland/xwayland-window.h
glamor/glamor_egl_stubs.c
deleted
100644 → 0