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
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
1999785fa9
os: move over osLookupColor to dix
...
This function is only used by DIX and not os-specific at all.
So move it over to DIX and give it a more fitting name.
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:30 -07: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
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
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
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
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
738edd3501
dix: unexport eventconvert.h functions
...
This header isn't installed, so no external modules could use the
functions declared there. Thus we can unexport it all.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1358 >
2024-03-11 12:26:44 +01:00
Enrico Weigelt, metux IT consult
2a5e754275
dix: unexport SetAccelerationProfile()
...
Not used by any module, just locally within one source file, thus
unexport and make it static
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
1b983d7e82
dix: unexport FreeVelocityData()
...
Only used within one source, not used by external modules, thus unexport
and make it static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
9d3766080b
dix: unexport BasicComputeAcceleration()
...
only used locally within one source file, so unexport and make it static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
a09f2540d2
dix: unexport ProcessVelocityData2D()
...
Only used with on source file, so unexport and make it static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
b598727f1c
dix: unexport InitTrackers()
...
Not used by any modules, thus 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/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
4db1f3f760
dix: unexport InitVelocityData()
...
Not used by any modules, not even outside the source file, thus
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/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
a3ebe4fa41
dix: move non-exported ptrveloc functions to separate header
...
unclutter ptrveloc.h by moving non-exported declarations into their own
private header file.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
040e41c7e9
dix: unexport global variables
...
Those aren't used by 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/1375 >
2024-03-09 17:23:43 +00:00
Enrico Weigelt, metux IT consult
b1ce5543f1
dix: unexport workqueue functions
...
These aren't used by 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/1376 >
2024-03-07 22:57:53 +00:00
Enrico Weigelt, metux IT consult
53a0442b87
drop remains of DMX
...
DMX has long gone, but there's still some fallout from it's removal
yet to be cleaned up.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1362 >
2024-03-05 16:57:52 +01:00
Enrico Weigelt, metux IT consult
6999bc49d3
dix: unexport AttachOffloadGPU() and DetachOffloadGPU()
...
These aren't externally used, 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/1349 >
2024-03-03 23:24:29 +00:00
Enrico Weigelt, metux IT consult
1277bb7143
dix: unexport AttachOutputGPU() and DetachOutputGPU()
...
These aren't externally used, 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/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
71b81a7473
dix: unexport AttachUnboundGPU() and DetachUnboundGPU()
...
These aren't externally used, 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/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
55dc4a8bdc
dix: unexport RemoveGPUScreen()
...
This function isn't used by any 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/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
27b83c4cd0
dix: unexport AddScreen() and AddGPUScreen()
...
These aren't used by any drivers/modules, just DDX'es, so no need to export.
Note: tigervnc does use it, but it has it's own DDX, therefore directly
linked in, just like the in-tree DDX'es which doesn't need exporting.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
dc84331f5d
include: drop obsolete registry.h
...
Now that there's no actual consumer of it left, it can be dropped.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
5f5d55be88
dix: unexport XREGISTRY_UNKNOWN define
...
It's not used by external modules, thus no need to have it in the
public API.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
4ebb02cdda
dix: unexport extension registry functions
...
These aren't used by (known) external 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/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
1f5ab6ec28
dix: unexport RegisterResourceName() and LookupResourceName()
...
These aren't used by external 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/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
36e2cf64c8
dix: unexport registry setup/teardown functions
...
these aren't to be called 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/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
489485ea7d
dix: drop duplicate _X_EXPORT
...
These are already defined in privates.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274 >
2024-03-03 22:34:26 +00:00
Enrico Weigelt, metux IT consult
fe1e2b7b3d
dix: unexport and move maxBigRequestSize
...
* this symbol is a server configuration flag (can be passed via cmdline)
for limiting the max size of big-requests. there shouldn't be any need
to use it outside the core X server (in server modules like drivers
or external extension) - therefore unexport it
* in order to reduce namespace pollution of public (server module API)
headers, create a new internal header for those tings (more to come)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1275 >
2024-02-23 23:19:32 +00:00