XLibre Xserver
Go to file
Enrico Weigelt, metux IT consult 3a054fccd1 (!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-18 17:23:10 +02:00
.gitlab-ci (!1675) ci: enable xv and xvmc 2024-09-18 17:23:09 +02:00
Xext (!1596) Xext: geext: simplify dispatcher 2024-09-18 17:23:09 +02:00
Xi (!1359) dix: unexport non-public functions from dixgrabs.h and document prototypes 2024-09-18 17:23:09 +02:00
composite treewide: fix indentions got broke by recent commit 2024-08-27 20:08:32 +02:00
config treewide: replace xnfcalloc() calls by XNFcallocarray() 2024-07-26 23:41:33 +00:00
damageext damage: fix missing removal of obsolete damageext.h 2024-08-31 22:29:01 +00:00
dbe treewide: fix indentions got broke by recent commit 2024-08-27 20:08:32 +02:00
dix (!1359) dix: unexport non-public functions from dixgrabs.h and document prototypes 2024-09-18 17:23:09 +02:00
doc dix: move colormap flags into colormap_priv.h and rename them 2024-09-01 22:06:50 +00:00
dri3 treewide: replace xnfalloc() calls to XNFalloc() 2024-07-26 23:41:33 +00:00
exa Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
fb dix: unexport AllocColor() 2024-09-01 22:06:49 +00:00
glamor include: dixfontstr.h: drop silent dependency on libxfont2 2024-09-01 17:45:13 +00:00
glx (!1681) glx: use LogMessageVerb() instead of xf86Msg() 2024-09-18 17:23:09 +02:00
hw (!1654) Xnest: drop xnestWindowExposures micro-optimization 2024-09-18 17:23:10 +02:00
include (!1359) dix: unexport non-public functions from dixgrabs.h and document prototypes 2024-09-18 17:23:09 +02:00
man Xserver.man: Note that -byteswappedclients is the default in this release 2024-03-23 10:27:03 -07:00
mi dix: unexport NewCurrentScreen() 2024-09-02 16:43:29 +00:00
miext dix: unexport StoreColors() 2024-09-01 22:06:50 +00:00
os (!1677) os: drop obsolete LogHdrMessage() 2024-09-18 17:23:09 +02:00
present build: Move epoll dependency check 2024-09-02 11:52:26 +00:00
pseudoramiX fix missing includes of <X11/Xfuncproto.h> 2024-07-20 17:18:38 +00:00
randr dix: unexport GetSpritePosition() 2024-09-02 16:43:29 +00:00
record dix: drop superfluous XineramaGetCursorScreen() 2024-09-02 16:43:29 +00:00
render dix: unexport cursor allocation functions 2024-09-02 16:43:29 +00:00
test (!1359) dix: unexport non-public functions from dixgrabs.h and document prototypes 2024-09-18 17:23:09 +02:00
xfixes (!1614) xfixes: use stack allocation and static init for reply structs 2024-09-18 17:23:09 +02:00
xkb (!1359) dix: unexport non-public functions from dixgrabs.h and document prototypes 2024-09-18 17:23:09 +02:00
.appveyor.yml appveyor: Add libxcvt build dep 2021-11-04 13:03:25 +00:00
.dir-locals.el .dir-locals.el: Add missing final newline 2019-10-01 17:05:28 +00:00
.gitignore Clean up the .gitignore file 2024-01-12 00:50:24 +00:00
.gitlab-ci.yml (!1675) ci: enable xv and xvmc 2024-09-18 17:23:09 +02:00
.mailmap Add a .mailmap file to canonicalize author names and emails 2023-03-15 18:10:51 +00:00
.travis.yml travis: Add OSX meson build to matrix 2019-05-02 15:42:58 +00:00
COPYING modesetting: Merge modesetting's COPYING into the xserver's. 2014-09-15 12:46:02 -07:00
README.md Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
meson.build meson: list required version of xproto headers in xorg-server.pc 2024-09-09 07:48:07 -07:00
meson_options.txt os: drop SUN-DES-1 authentication 2024-06-18 00:52:11 +00:00
xorg-server.m4 xorg-server.m4: just all cflags instead of just sdkdir 2018-09-20 20:12:24 +01:00
xorg-server.pc.in xfree86: link modules against Xorg symbols on Cygwin 2012-04-05 21:57:07 -05:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00

X Server

The X server accepts requests from client applications to create windows, which are (normally rectangular) "virtual screens" that the client program can draw into.

Windows are then composed on the actual screen by the X server (or by a separate composite manager) as directed by the window manager, which usually communicates with the user via graphical controls such as buttons and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the following article: https://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.freedesktop.org/mailman/listinfo/xorg

The primary development code repository can be found at:

https://gitlab.freedesktop.org/xorg/xserver

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

As with other projects hosted on freedesktop.org, X.Org follows its Code of Conduct, based on the Contributor Covenant. Please conduct yourself in a respectful and civilized manner when using the above mailing lists, bug trackers, etc:

https://www.freedesktop.org/wiki/CodeOfConduct