Enrico Weigelt, metux IT consult
0113a423e3
randr: unexport and document RRDeliverOutputEvent()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
f45bec1550
randr: unexport and document RROutputSetSubpixelOrder()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
feea24f2bc
randr: unexport and document RROutputDeleteUserMode()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
670dce82c9
randr: unexport and document RROutputAddUserMode()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
89a4eaad73
randr: unexport and document RRModeInitErrorValue()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
6649392662
randr: unexport and document RRModeInit()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
21b0a81e82
randr: unexport and document RRModesForScreen()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
24cf645e3e
randr: unexport and document RROutputIsLeased()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
306c136563
randr: unexport and document RRCrtcIsLeased()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
68e946afb0
randr: unexport and document RRLeaseFree()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
57c19389c0
randr: unexport and document RRLeaseTerminated()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
0c6d8e1227
randr: unexport and document RRClientKnowsRates()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
d73997dd23
randr: unexport and document RRHasScanoutPixmap()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
5eaa31020b
randr: unexport and document RRReplaceScanoutPixmap()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
b1edfdc57a
randr: unexport and document RRCrtcDetachScanoutPixmap()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
6d56c0c5cd
randr: unexport and document RRCrtcInitErrorValue()
...
Not supposed to be called by drivers, just internal to the randr extsnsion,
so shouldn't have been exported in the first place.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
7db0e6796c
randr: unexport and document RRCrtcInit()
...
Not supposed to be called by any driver, just internal to the extension,
so shouldn't have been exported in the first place.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
bf242cf605
randr: unexport and document RRCrtcDestroy()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
04a4562508
randr: unexport and document RRCrtcGetTransform()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
64e02013c4
randr: unexport and document RRCrtcGetScanoutSize()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
739cd6ec03
randr: unexport and document RRDeliverCrtcEvent()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
7d47d48bda
randr: unexport and document RRCrtcSetTransformSupport()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:55 +02:00
Enrico Weigelt, metux IT consult
6485f1cab6
randr: unexport and document RRCrtcExists()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 12:28:52 +02:00
Enrico Weigelt, metux IT consult
59cdfcc375
randr: unexport and document RRVerticalRefresh()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:55:25 +02:00
Enrico Weigelt, metux IT consult
6fba494ec0
randr: unexport and document RROutputSetNonDesktop()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:55:21 +02:00
Enrico Weigelt, metux IT consult
d51688448b
randr: unexport and document RRFirstEnabledCrtc()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:55:16 +02:00
Enrico Weigelt, metux IT consult
27746d6b8b
randr: unexport and document RRInit()
...
Not called, and should not be called, by drivers, so no need to
keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:55:04 +02:00
Enrico Weigelt, metux IT consult
f768720b9d
randr: unexport and document RRResourcesChanged()
...
Not used by external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:54:59 +02:00
Enrico Weigelt, metux IT consult
120382506b
randr: unexport and document RRDeliverScreenEvent()
...
Not used by external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
2aa80dd31e
randr: unexport provider related request handlers
...
Those aren't used by any drivers and never should so, thus no need to
keep them exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
70e4bd8111
randr: unexport output related request handlers
...
Those aren't used by any drivers and never should so, thus no need to
keep them exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
4e6cc3073c
randr: unexport mode related request handlers
...
Those aren't used by any drivers and never should so, thus no need to
keep them exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
2671931960
randr: unexport crtc related request handlers
...
Those aren't used by any drivers and never should so, thus no need to
keep them exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
2579bf6ec0
randr: unexport screen related request handlers
...
Those aren't used by any drivers and never should so, thus no need to
keep them exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
b6e5e1167d
randr: make RRCrtcTransformSet() static
...
Only used locally inside rrcrtc.c, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
c91600ae9b
randr: make RRCrtcPendingTransform() static
...
only used locally inside rrcrtc.c, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
dc77156e84
randr: make RRCrtcGammaGet() static
...
Only used locally inside rrcrtc.c, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
49048ceb5c
randr: make RRCrtcChanged() static
...
Only used locally inside rrcrtc.c, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
2dee9fb854
randr: drop obsolete RRPostProviderPendingProperties()
...
Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
9e2d82412d
randr: drop obsolete RRDeleteAllProviderProperties()
...
Not used by anybody, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
be0a65e848
randr: drop obsolete RRProviderLookup()
...
Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:43 +02:00
Enrico Weigelt, metux IT consult
0a839a18f9
randr: drop unused RRPointerMoved()
...
Not used anywhere, so no need to keep it any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:42 +02:00
Enrico Weigelt, metux IT consult
9bc4a0af89
randr: drop unused dummy RRCrtcGammaNotify()
...
Not called by anybody and been just a dummy for quite a while,
so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:42 +02:00
Enrico Weigelt, metux IT consult
4315cce063
randr: drop obsolete RRGetRotation()
...
Not used anymore, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-19 11:45:42 +02:00
Enrico Weigelt, metux IT consult
10a8031865
render: drop obsolete macros pict_f_transform and pict_f_vector
...
Over 1.5 decades ago, pixmap handling was moved to using pixman library,
but there's still a bit fallout from that left. Cleaning it up now.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1287 >
2024-03-03 22:54:16 +00:00
Enrico Weigelt, metux IT consult
eda769f34c
randr: move private definitons from randrstr.h to randrstr_priv.h
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1291 >
2024-02-22 23:47:49 +00:00
Minh Phan
5145742fb6
randr: introduce rrCrtcGetInfo DDX function
...
This allows rrCrtcGetInfo to override the values in the XRRCrtcGetInfo
reply. One use case is to allow Xwayland to return the current emulated
mode for the specific client instead of the global mode.
Signed-off-by: Minh Phan <phanquangminh217@gmail.com>
Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2023-01-03 23:27:29 +07:00
Xaver Hugl
7759743c63
randr: add new interface to allow delaying lease responses
...
Add a new interface to _rrScrPriv to make it possible for the server to
delay answering a lease request, at the cost of blocking the client. This
is needed for implementing drm-lease-v1, as the Wayland protocol has no
defined time table for responding to lease requests.
Signed-off-by: Xaver Hugl <xaver.hugl@gmail.com>
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
2021-12-07 10:02:29 +00:00
Łukasz Spintzyk
d6c02ffd9c
present: fallback get_crtc to return crtc belonging to screen with present extension
...
Since crtc can belong to secondary output that may not have present
extension enabled we should fallback to first enabled crtc or fake crtc.
Fix for issue xorg/xserver#1195
2021-07-20 08:10:46 +02:00
Łukasz Spintzyk
d2dce22b67
present: fix msc offset calculation in screen mode
...
Instead of getting the current msc value from the window crtc,
which not exist take the last saved msc value saved in
the window_priv struct
Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com>
2021-04-16 10:53:43 +00:00