xserver/hw
Enrico Weigelt, metux IT consult 4d8ed31988 (!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-08-29 20:51:19 +02:00
..
kdrive xv: unexport XvFreeAdaptor() 2024-07-26 23:51:13 +00:00
vfb dix: unexport fields from opaque.h not used by modules/drivers 2024-06-23 21:19:27 +00:00
xfree86 treewide: mark pGC->ops->CopyArea() calls not using result as void 2024-08-26 03:44:23 +00:00
xnest (!1654) Xnest: drop xnestWindowExposures micro-optimization 2024-08-29 20:51:19 +02:00
xquartz fix missing includes of <X11/Xfuncproto.h> 2024-07-20 17:18:38 +00:00
xwayland xwayland: Report correct mode size when rootful 2024-08-13 10:08:19 +02:00
xwin fix missing includes of <X11/Xfuncproto.h> 2024-07-20 17:18:38 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00