xquartz: Remove useless DRIWindowExposures
Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
a8c6fc46c0
commit
7e8ac6dcd2
|
@ -138,9 +138,6 @@ DRIFinishScreenInit(ScreenPtr pScreen)
|
||||||
DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen);
|
DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen);
|
||||||
|
|
||||||
/* Wrap DRI support */
|
/* Wrap DRI support */
|
||||||
pDRIPriv->wrap.WindowExposures = pScreen->WindowExposures;
|
|
||||||
pScreen->WindowExposures = DRIWindowExposures;
|
|
||||||
|
|
||||||
pDRIPriv->wrap.CopyWindow = pScreen->CopyWindow;
|
pDRIPriv->wrap.CopyWindow = pScreen->CopyWindow;
|
||||||
pScreen->CopyWindow = DRICopyWindow;
|
pScreen->CopyWindow = DRICopyWindow;
|
||||||
|
|
||||||
|
@ -576,24 +573,6 @@ DRIDrawablePrivDelete(void *pResource, XID id)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
DRIWindowExposures(WindowPtr pWin, RegionPtr prgn, RegionPtr bsreg)
|
|
||||||
{
|
|
||||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
|
||||||
DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen);
|
|
||||||
DRIDrawablePrivPtr pDRIDrawablePriv = DRI_DRAWABLE_PRIV_FROM_WINDOW(pWin);
|
|
||||||
|
|
||||||
if (pDRIDrawablePriv) {
|
|
||||||
/* FIXME: something? */
|
|
||||||
}
|
|
||||||
|
|
||||||
pScreen->WindowExposures = pDRIPriv->wrap.WindowExposures;
|
|
||||||
|
|
||||||
(*pScreen->WindowExposures)(pWin, prgn, bsreg);
|
|
||||||
|
|
||||||
pScreen->WindowExposures = DRIWindowExposures;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
DRICopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
|
DRICopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
|
||||||
{
|
{
|
||||||
|
|
|
@ -51,7 +51,6 @@ typedef void (*ClipNotifyPtr)(WindowPtr, int, int);
|
||||||
* overridden by the driver in its [driver]DRIScreenInit function.
|
* overridden by the driver in its [driver]DRIScreenInit function.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
WindowExposuresProcPtr WindowExposures;
|
|
||||||
CopyWindowProcPtr CopyWindow;
|
CopyWindowProcPtr CopyWindow;
|
||||||
ClipNotifyProcPtr ClipNotify;
|
ClipNotifyProcPtr ClipNotify;
|
||||||
} DRIWrappedFuncsRec, *DRIWrappedFuncsPtr;
|
} DRIWrappedFuncsRec, *DRIWrappedFuncsPtr;
|
||||||
|
@ -108,9 +107,6 @@ DRICopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc);
|
||||||
extern void
|
extern void
|
||||||
DRIClipNotify(WindowPtr pWin, int dx, int dy);
|
DRIClipNotify(WindowPtr pWin, int dx, int dy);
|
||||||
|
|
||||||
extern void
|
|
||||||
DRIWindowExposures(WindowPtr pWin, RegionPtr prgn, RegionPtr bsreg);
|
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
DRISurfaceNotify(xp_surface_id id, int kind);
|
DRISurfaceNotify(xp_surface_id id, int kind);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user