diff options
author | Keith Packard <keithp@keithp.com> | 2010-06-22 12:11:20 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-06-22 12:11:20 -0700 |
commit | e2918b67395a48397bf7db545584cc2d4f4e7ccf (patch) | |
tree | 6debd0d80c7d9dbf5a439c374f179547d80d581f /mi/mioverlay.h | |
parent | 7673451ade46ebacfdfc02a5190149210198fdd8 (diff) |
Revert "mi: Remove unused overlay support"
This reverts commit 9120e58556014e514eef9dfe43cdea4b74dc66ae.
Whoops, please revert this patch -- overlay is in use in nvidia drivers,
and it's too late in release cycle to remove it.
I feel really sorry that I kept this patch in my tree. I will submit
another one, removing only XAA overlay hooks which are not used at all.
Diffstat (limited to 'mi/mioverlay.h')
-rw-r--r-- | mi/mioverlay.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mi/mioverlay.h b/mi/mioverlay.h new file mode 100644 index 000000000..dca65ad37 --- /dev/null +++ b/mi/mioverlay.h @@ -0,0 +1,32 @@ + +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + +#ifndef __MIOVERLAY_H +#define __MIOVERLAY_H + +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 miOverlaySetTransFunction(ScreenPtr, miOverlayTransFunc); +extern _X_EXPORT void miOverlaySetRootClip(ScreenPtr, Bool); + +#endif /* __MIOVERLAY_H */ |