xserver/hw
Enrico Weigelt, metux IT consult a58732874e (!1654) Xnest: drop xnestWindowExposures micro-optimization
xnestWindowExposures() is a micro-optimization for the specific case that
a newly created window receives exposure events (from our upstream server)
inside the region we're already exposing on our own (miWindowExposures()):
it peeks the Xlib event queue for all expose events, checks whether their
areas are inside our exposure region and requeue's those that aren't.

Unfortunately, this depends on Xlib's internal queue mechamism, thus standing
in the way of moving to XCB (which doesn't have that).

Removing this doens't seem to make any practical difference, even with
demanding applications like GIMP. The only cost is potentially having some
initial window content painted twice, *if* the application really draws
something complicated right after creating the window.

*If* there'll really be a demand for such an optimization some day, it can
be reimplemented without any message queue: just redirecting all expose events
into recording them in a region, which is flushed out later. But for now,
there really doesn't seem to be any practical need for that.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-10-31 19:23:53 +01:00
..
kdrive (!1714) kdrive: xv: use window destructor hook 2024-10-31 19:23:51 +01:00
vfb (!1711) vfb: use dixDestroyPixmap() instead of direct driver call 2024-10-31 19:23:50 +01:00
xfree86 (!1681) xfree86: common: use LogMessageVerb() instead of xf86Msg() 2024-10-31 19:23:52 +01:00
xnest (!1654) Xnest: drop xnestWindowExposures micro-optimization 2024-10-31 19:23:53 +01:00
xquartz xquartz: drop unused code 2024-10-10 16:42:38 +00:00
xwayland (!1714) xwayland: use window destructor hook 2024-10-31 19:23:51 +01:00
xwin (!1682) os: log: drop now meaningless XLOG_FLUSH option 2024-10-31 19:23:51 +01:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00