Enrico Weigelt, metux IT consult
d444cd4237
dix: unexport some lookup functions
...
These aren't used by any drivers, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1380 >
2024-04-15 18:11:57 -07:00
Enrico Weigelt, metux IT consult
dfdde27990
dix: unexport InitClient()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1379 >
2024-04-16 00:53:28 +00:00
Enrico Weigelt, metux IT consult
b064b79132
dix: unexport DeleteWindowFromAnySaveSet()
...
Not used by any drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1378 >
2024-04-15 17:05:41 -07:00
Enrico Weigelt, metux IT consult
76d01e9bf6
os: unexport OsVendorVErrorFProc pointer
...
This pointer allows a DDX to install it's own error print handler. It's really
only intended for DDXes, thus no need to have it exported to modules.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1369 >
2024-04-15 23:59:38 +00:00
Enrico Weigelt, metux IT consult
1205f5b6f9
dix: unexport GetCurrentClient()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1377 >
2024-04-15 23:47:47 +00:00
Enrico Weigelt, metux IT consult
ad7e7d9259
dix: unexport CompareISOLatin1Lowered() and make it static
...
This function isn't used by any drivers, so no need to export it.
Also has just one consumer, so move it there and make it static.
(and also move ISOLatin1ToLower() along with it)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1374 >
2024-04-15 23:34:58 +00:00
Enrico Weigelt, metux IT consult
6cb599f59c
os: unexport OsLookupColor()
...
It's an internal function, only used by DIX, not by drivers and shouldn't
have been exported in the first place.
Fixes: 49f77fff14
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1373 >
2024-04-15 16:19:06 -07:00
Enrico Weigelt, metux IT consult
2b7a2f8ed2
dix: unexport SetClipRects()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
9a8e6c5bfd
dix: unexport VerifyRectOrder
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
407fe60483
dix: unexport SetDashes
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
30670e72c7
dix: unexport FreeDefaultStipple()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
f6af379928
dix: unexport CreateDefaultStipple()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
bdf8ae3fc1
dix: unexport CreateGCperDepth()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
fc1a7363eb
dix: unexport FreeGCperDepth()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
32512c579e
dix: unexport FreeGC()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
7e30f2c8e1
dix: unexport CopyGC()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
6896396456
dix: unexport CreateGC()
...
Not used by any drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
46c0ac8c70
dix: unexport ChangeGCXIDs()
...
Move non-exported gc functions to private header
No need to clutter public headers with non-exported stuff.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
3b7a63e6ae
os: unexport xthread_sigmask
...
This function isn't used by drivers and there's currently no need to do so,
thus keep it out of the public module API.
Fixes: 30ac756798
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1368 >
2024-04-15 22:49:02 +00:00
Enrico Weigelt, metux IT consult
62d3114ab9
include: gc.h: drop unused defines
...
These seem to be unused for *long* time - couldn't even trace it back in
git history. Also not used by any known driver. Time to get rid of them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1364 >
2024-04-15 22:36:06 +00:00
Enrico Weigelt, metux IT consult
cf5fab0bbe
os: unexport AccessUsingXdmcp()
...
This function is only used internally for xdmcp auth handling, not used
in modules/drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:55:22 -07:00
Enrico Weigelt, metux IT consult
dd21a80219
os: unexport ChangeAccessControl()
...
this function isn't used by modules/drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:55:22 -07:00
Enrico Weigelt, metux IT consult
3f00c1b6cf
os: unexport host control functions
...
these aren't used by modules/drivers, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:55:22 -07:00
Enrico Weigelt, metux IT consult
5a9b885118
os: unexport authorization management functions
...
Those aren't used by modules, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:55:22 -07:00
Enrico Weigelt, metux IT consult
bed778ee60
os: unexport LocalAccessScopeUser()
...
this function is only used by wayland ddx, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:55:22 -07:00
Enrico Weigelt, metux IT consult
e621081fa3
os: unexport EnableLocalUser() and DisableLocalUser()
...
these aren't used by module, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:55:22 -07:00
Enrico Weigelt, metux IT consult
54441ff98a
os: unexport EnableLocalAccess() and DisableLocalAccess()
...
these aren't used by modules, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:44:36 -07:00
Enrico Weigelt, metux IT consult
b00fdd482c
os: unexport EnableLocalHost() and DisableLocalHost()
...
These aren't used by modules, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:44:36 -07:00
Enrico Weigelt, metux IT consult
5f19eab1ee
os: unexport local client creds handling
...
these functions aren't used by modules, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:44:34 -07:00
Enrico Weigelt, metux IT consult
cbc9f557e5
os: unexport set_font_authorizations()
...
This function is only used by DIX, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:42:45 -07:00
Enrico Weigelt, metux IT consult
389b528203
os: unexport command line args handling functions
...
These functions shouldn't be called by drivers or extensions, thus
shouldn't be exported. Also moving it to separate header, so the
already huge ones aren't cluttered with even more things.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1334 >
2024-04-15 21:21:40 +00:00
Enrico Weigelt, metux IT consult
dae76bbaaf
include: move busfault.h out of public include dir
...
this header is isn't public, so it's more appropriate, where the actual
code is, which is the os/ directory.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1337 >
2024-04-15 21:10:15 +00:00
Enrico Weigelt, metux IT consult
3843a643e0
os: unexport audit functions
...
These aren't used by any drivers, so no need to keep them around in the
public driver API.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1326 >
2024-04-15 19:54:34 +00:00
Enrico Weigelt, metux IT consult
beb073813e
xkb: drop ununsed XkbNameMatchesPattern()
...
Not used anywhere, also not in drivers, so we can drop it.
Probably never been used, just added accidentially back in 2008.
Fixes: 68bd7ac193
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1477 >
2024-04-09 06:56:20 +00:00
Enrico Weigelt, metux IT consult
992aba3cb7
include: xkbstr.h: fix missing include of Xdefs.h
...
xkbstr.h uses types from Xdefs.h (eg. Bool) but doesn't include it.
If somebody includes it, w/o including Xdefs.h first, compile breaks:
../include/xkbstr.h:84:5: error: unknown type name ‘Bool’
84 | Bool active;
| ^~~~
../include/xkbstr.h:517:5: error: unknown type name ‘Bool’
517 | Bool num_groups_changed;
| ^~~~
../include/xkbstr.h:608:5: error: unknown type name ‘Bool’
608 | Bool has_own_state;
| ^~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1474 >
2024-04-09 06:50:20 +00:00
Enrico Weigelt, metux IT consult
fdea36708c
xkb: drop never used XkmProbe()
...
This function was (accidentally ?) added back in 2008, but never used.
Fixes: 68bd7ac193
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1472 >
2024-04-09 06:35:05 +00:00
Erik Kurzinger
ac0bc0b3b6
Present: add PresentCapabilitySyncobj and PresentPixmapSynced
...
Signed-off-by: Erik Kurzinger <ekurzinger@nvidia.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967 >
2024-04-09 06:11:03 +00:00
Erik Kurzinger
613dcb6a77
DRI3: add DRI3ImportSyncobj and DRI3FreeSyncobj
...
Adds the required infrastructure in the core DRI3 code to support
importing DRM synchronization objects from clients. This includes
support for the two new protocol requests from DRI3 version 1.4, an
internal representation of these objects in the form of the dri3_syncobj
structure, and an import_syncobj screen info callback.
The following operations are defined for dri3_syncobj objects
* free - release any server-side resources associated with the object
* has_fence - check if the fence for a timeline point is submitted
* is_signaled - check if a timeline point is signaled
* export_fence - return a sync fd corresponding to a timeline point
* import_fence - submit a sync fd as the fence for a timeline point
* signal - immediately signal a timeline point
* submitted_eventfd and signaled_eventfd - register an eventfd to be
signaled when the given timeline point is either submitted or
signaled
Implementations will be responsible for populating these function
pointers when importing a syncobj.
Signed-off-by: Erik Kurzinger <ekurzinger@nvidia.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967 >
2024-04-09 06:11:03 +00:00
Erik Kurzinger
f051a2449d
DRI3: provide stub implementation of DRI3SetDRMDeviceInUse
...
DRI3 version 1.3 introduced a new request which allows clients to
provide a hint to the server about which DRM device they are using, so
that the server might return DRM format modifiers specific to that
device. However, implementing such functionality, for Xwayland in
particular, will require fairly significant architectural changes.
To avoid blocking future versions of the DRI3 extension, we provide here
a stub implementation for the request in question. The spec explicitly
states that it is only a hint that the server is free to ignore, so
strictly speaking this implementation is still correct.
Signed-off-by: Erik Kurzinger <ekurzinger@nvidia.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967 >
2024-04-09 06:11:03 +00:00
Enrico Weigelt, metux IT consult
c5e88238f2
xkb: drop unused defines
...
These aren't used anywhere, neither in Xserver nor drivers,
for about 11 years now. Fallout of removing component listing support.
Fixes: 710065da37
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1458 >
2024-04-08 03:44:42 +00:00
Enrico Weigelt, metux IT consult
95faea8880
xkb: make XkbUpdateKeyTypesFromCore() static
...
This function is only used inside the same .c file where it's defined,
no outside users, also not in drivers. Thus no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1468 >
2024-04-03 19:54:51 +02:00
Enrico Weigelt, metux IT consult
272e2915fe
config: fix wscons backend on NetBSD
...
Compiler gives warning:
../config/wscons.c: At top level:
../config/wscons.c:262:1: warning: no previous prototype for ‘config_wscons_init’ [-Wmissing-prototypes]
262 | config_wscons_init(void)
| ^~~~~~~~~~~~~~~~~~
../config/wscons.c:270:1: warning: no previous prototype for ‘config_wscons_fini’ [-Wmissing-prototypes]
270 | config_wscons_fini(void)
| ^~~~~~~~~~~~~~~~~~
Problem is: commit bcee84c3e4 wanted to enable
wscons support on NetBSD, but only added compiling config/wscons.c, but didn't
enable setting the CONFIG_WSCONS symbol, so it won't be called at all.
Fixes: bcee84c3e4
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1450 >
2024-04-02 09:50:56 +02:00
Enrico Weigelt, metux IT consult
a57b449485
include: unpexport SELINUX_* consts from include/global.h
...
globals.h shouldn't be cluttered with extension specific things, that
aren't even used by external modules/drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1328 >
2024-03-25 19:40:04 +00:00
Enrico Weigelt, metux IT consult
2003adfd33
xwin: consolidate debugging symbols
...
We've got three #define's that are all set at once, on enable_debugging.
A comment in meson.build already asks for consolidating them into one,
so just do it now.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1409 >
2024-03-19 02:05:35 +00:00
Enrico Weigelt, metux IT consult
afaad1b847
include: add comment on _XSERVER64 define
...
Since the whole 32/64 bit issue is a bit complex, it's worth adding some
comment on what the _XSERVER64 symbol really is needed for.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1413 >
2024-03-18 23:24:36 +00:00
Olivier Fourdan
701284f057
xwayland/glamor: Drop the EGLStream backend
...
Now that the NVIDIA proprietary driver has grown support for GBM, the
EGLStream backend for NVIDIA GPUs is now superseded by the standard
GBM backend in Xwayland.
This code path is therefore not used and hardly ever tested.
Remove support for EGLStream in Xwayland.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1386 >
2024-03-18 15:41:17 +00:00
Enrico Weigelt, metux IT consult
b335a0fa20
dix: unexport CloseDownClient()
...
This function isn't used by drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1383 >
2024-03-13 00:47:36 +00:00
Enrico Weigelt, metux IT consult
d84fd3bf19
dix: drop now obsolete cursorScreenDevPriv
...
Since the two DDX'es which had used this key (xnest and xfree86) now using
their own ones, this global key is obsolete and can be removed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1342 >
2024-03-12 15:24:35 +00:00
Enrico Weigelt, metux IT consult
7f13fc7d2f
dix: unexport callback manager init / teardown functions
...
Those are only needed inside DIX, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1346 >
2024-03-12 15:18:17 +00:00
Enrico Weigelt, metux IT consult
8f2894c4d0
include: unexport xserver_poll.h
...
It doesn't seem to have any exported functions, so doesn't need to be
exported to the public module API.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1352 >
2024-03-12 15:01:35 +00:00