mi: drop mioverlay.h

Since no drivers are compiled against this anymore, and the mioverlay.c
functions only dummies just to satisfy proprietary Nvidia driver's
symbol dependencies, this header isn't needed anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-07 16:04:48 +01:00
parent 6d38a915e0
commit 18f04727af
4 changed files with 18 additions and 30 deletions

View File

@@ -194,7 +194,6 @@ cat > sdksyms.c << EOF
#include "mizerarc.h"
#include "micoord.h"
#include "mistruct.h"
#include "mioverlay.h"
/* randr/Makefile.am */

View File

@@ -33,7 +33,6 @@ hdrs_mi = [
'migc.h',
'mi.h',
'miline.h',
'mioverlay.h',
'mipointer.h',
'mipointrst.h',
'mistruct.h',

View File

@@ -1,8 +1,24 @@
#include <dix-config.h>
#include "windowstr.h"
#include "mioverlay.h"
/* this all is just left here for compat with proprietary Nvidia drivers */
typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr);
typedef Bool (*miOverlayInOverlayFunc) (WindowPtr);
_X_EXPORT Bool miInitOverlay(ScreenPtr pScreen,
miOverlayInOverlayFunc inOverlay,
miOverlayTransFunc trans);
_X_EXPORT Bool miOverlayGetPrivateClips(WindowPtr pWin,
RegionPtr *borderClip,
RegionPtr *clipList);
_X_EXPORT Bool miOverlayCollectUnderlayRegions(WindowPtr, RegionPtr *);
_X_EXPORT void miOverlayComputeCompositeClip(GCPtr, WindowPtr);
_X_EXPORT Bool miOverlayCopyUnderlay(ScreenPtr);
_X_EXPORT void miOverlaySetRootClip(ScreenPtr, Bool);
Bool
miInitOverlay(ScreenPtr pScreen,

View File

@@ -1,26 +0,0 @@
#ifndef __MIOVERLAY_H
#define __MIOVERLAY_H
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr);
typedef Bool (*miOverlayInOverlayFunc) (WindowPtr);
extern _X_EXPORT Bool
miInitOverlay(ScreenPtr pScreen,
miOverlayInOverlayFunc inOverlay, miOverlayTransFunc trans);
extern _X_EXPORT Bool
miOverlayGetPrivateClips(WindowPtr pWin,
RegionPtr *borderClip, RegionPtr *clipList);
extern _X_EXPORT Bool miOverlayCollectUnderlayRegions(WindowPtr, RegionPtr *);
extern _X_EXPORT void miOverlayComputeCompositeClip(GCPtr, WindowPtr);
extern _X_EXPORT Bool miOverlayCopyUnderlay(ScreenPtr);
extern _X_EXPORT void miOverlaySetRootClip(ScreenPtr, Bool);
#endif /* __MIOVERLAY_H */