xserver/hw
Michel Dänzer 3a0fc2684a xwayland: Add xwl_window::surface_window
It may track a non-toplevel window which fully covers the area of the
window pixmap / Wayland surface. It is now used instead of
xwl_window::toplevel for updating the Wayland surface contents.

The surface_window can now hit the Present page flip path while it's
automatically redirected.

v2:
* Use "surface_window" instead of "surf_win". (Olivier Fourdan)
* Add comment describing surface_window, and describe what
  surface_window/toplevel are useful for respectively. (Olivier Fourdan)
* Use surface_window in xwl_realize_window.
v3:
* Backtrack up to the closest opaque ancestor in
  xwl_window_update_surface_window. (Olivier Fourdan)
v4:
* Clean up logic for determining the surface window in
  xwl_window_update_surface_window, and document it better.
* Handle window_get_damage(xwl_window->surface_window) returning NULL
  in xwl_window_update_surface_window.
* Call xwl_window_update_surface_window after xwl_window_buffers_init
  in ensure_surface_for_window, since the former may call
  xwl_window_buffers_dispose.
* Rename surf/win_pix to surface/window_pixmap in
  xwl_window_update_surface_window.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1300>
2024-04-10 08:55:08 +00:00
..
kdrive dix: unexport AddScreen() and AddGPUScreen() 2024-03-03 23:24:28 +00:00
vfb dix: unexport AddScreen() and AddGPUScreen() 2024-03-03 23:24:28 +00:00
xfree86 xfree86: os-support: bsd: fix warning on old-style function definition 2024-04-10 03:24:08 +00:00
xnest xnest: use own dev-privates key for per-screen cursor 2024-03-12 15:24:35 +00:00
xquartz Xquartz: ProcAppleDRICreatePixmap needs to use unswapped length to send reply 2024-04-02 19:19:40 -07:00
xwayland xwayland: Add xwl_window::surface_window 2024-04-10 08:55:08 +00:00
xwin xwin: consolidate debugging symbols 2024-03-19 02:05:35 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00