diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-03-07 11:09:34 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-09-01 20:38:01 +0000 |
commit | a66f99515ae81c2ea04242267f6c23249c9f08b4 (patch) | |
tree | e51ee6729e75baec728b045f967012ee25ebdf23 /include | |
parent | 811977228bb0e381f8fd7cb844427ef33a245010 (diff) |
Revert "dix: unexport AttachOutputGPU() and DetachOutputGPU()"
This reverts commit 1277bb7143b8c62842384d5947c35129c31a1e9f.
Nvidia driver needs them for PRIME handling.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1371>
Diffstat (limited to 'include')
-rw-r--r-- | include/screenint.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/screenint.h b/include/screenint.h index e136f31cf..fc313042d 100644 --- a/include/screenint.h +++ b/include/screenint.h @@ -53,6 +53,10 @@ typedef struct _PixmapFormat *PixmapFormatPtr; typedef struct _Visual *VisualPtr; typedef struct _Depth *DepthPtr; typedef struct _Screen *ScreenPtr; + +extern _X_EXPORT void AttachOutputGPU(ScreenPtr pScreen, ScreenPtr newScreen); +extern _X_EXPORT void DetachOutputGPU(ScreenPtr output); + typedef struct _ColormapRec *ColormapPtr; #endif /* SCREENINT_H */ |