Find a file
Joshua Ashton f217a68d59 glamor: Don't glFlush/ctx switch unless any work has been performed
`glamor_make_current` is always called before any calls to GL.

Apply some dirty-tracking to whenever we call `glamor_make_current` so
that we can avoid a decent amount of redundant GL work on each
Dispatch cycle.

Gamescope previously was waking up an empty Xwayland server with an
XQueryPointer and I noticed a significant amount of churn doing
redundant GL work.

This has been addressed on the Gamescope side as well, but avoiding any
useless GL context switches and flushes when glamor is doing nothing
is still beneficial for CPU and power usage on portable devices.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
Reviewed-by: Emma Anholt <emma@anholt.net>
Acked-by: Olivier Fourdan <ofourdan@redhat.com
(cherry picked from commit 89163917e1)
2023-03-27 08:58:34 +02:00
.gitlab-ci Add libdrm 2.4.109 requirement 2023-03-03 19:19:02 +01:00
composite Drop Xorg DDX 2023-02-17 10:13:34 +00:00
damageext Remove autotools support 2021-10-27 13:15:40 +03:00
dbe Drop Xorg DDX 2023-02-17 10:13:34 +00:00
dix dix: fix wheel emulation lockup when a negative increment is set 2023-02-20 12:48:27 +00:00
doc Remove autotools support 2021-10-27 13:15:40 +03:00
dri3 Drop Xorg DDX 2023-02-17 10:13:34 +00:00
fb Drop Xorg DDX 2023-02-17 10:13:34 +00:00
glamor glamor: Don't glFlush/ctx switch unless any work has been performed 2023-03-27 08:58:34 +02:00
glx Drop Xorg DDX 2023-02-17 10:13:34 +00:00
hw xwayland: Fix uninitialised value created by a stack allocation 2023-03-08 18:18:28 +01:00
include Allow disabling the SHAPE extension at runtime 2023-03-03 19:36:22 +01:00
m4 Add ax_pthread.m4 to m4/ 2016-05-29 19:20:51 -07:00
man Disallow byte-swapped clients by default 2023-01-06 11:59:37 +10:00
mi Allow disabling the SHAPE extension at runtime 2023-03-03 19:36:22 +01:00
miext Drop miext/shadow directory 2023-02-17 10:13:34 +00:00
os Allow disabling the SHAPE extension at runtime 2023-03-03 19:36:22 +01:00
present Drop Xorg DDX 2023-02-17 10:13:34 +00:00
randr Drop Xorg DDX 2023-02-17 10:13:34 +00:00
record record: Fix out of bounds access in SwapCreateRegister() 2021-12-14 15:00:00 +02:00
render Drop Xorg DDX 2023-02-17 10:13:34 +00:00
test test: Use either wayland-info or weston-info 2023-03-22 14:43:39 +01:00
Xext Drop Xorg DDX 2023-02-17 10:13:34 +00:00
xfixes xfixes: Fix out of bounds access in *ProcXFixesCreatePointerBarrier() 2021-12-14 15:00:01 +02:00
Xi Xi: fix potential use-after-free in DeepCopyPointerClasses 2023-02-07 10:07:18 +10:00
xkb xkb: reset the radio_groups pointer to NULL after freeing it 2022-12-14 11:02:40 +10:00
.appveyor.yml Drop Xephyr / kdrive DDX 2023-02-17 10:13:34 +00:00
.dir-locals.el .dir-locals.el: Add missing final newline 2019-10-01 17:05:28 +00:00
.gitignore .gitignore: Add new autotools file 'test-driver' 2014-04-21 13:41:42 -07:00
.gitlab-ci.yml Add libdrm 2.4.109 requirement 2023-03-03 19:19:02 +01:00
COPYING modesetting: Merge modesetting's COPYING into the xserver's. 2014-09-15 12:46:02 -07:00
meson.build Bump version to 23.1.0 2023-03-22 13:53:57 +00:00
meson_options.txt meson: Build Xwayland unconditionally 2023-02-17 10:13:34 +00:00
README.md Fix spelling/wording issues 2020-07-05 13:07:33 -07: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