xserver/hw
Enrico Weigelt, metux IT consult 635590e13d (!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-09-24 15:16:09 +02:00
..
kdrive dix: unexport TellLostMap() 2024-09-01 22:06:49 +00:00
vfb dix: unexport QueryColors() 2024-09-01 22:06:50 +00:00
xfree86 (!1359) dix: unexport non-public functions from dixgrabs.h and document prototypes 2024-09-24 15:16:09 +02:00
xnest (!1654) Xnest: drop xnestWindowExposures micro-optimization 2024-09-24 15:16:09 +02:00
xquartz dix: unexport dixLookupProperty() 2024-09-02 17:50:47 +00:00
xwayland xwayland: connect to the wl display before calling into EGL 2024-09-24 08:07:39 +00:00
xwin (!1682) os: log: drop now meaningless XLOG_FLUSH option 2024-09-24 15:16:08 +02:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00