summaryrefslogtreecommitdiff
path: root/src/i830_dri.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-09-24 18:45:45 +0000
committerAdam Jackson <ajax@nwnk.net>2005-09-24 18:45:45 +0000
commit2174848266940e1896970c12717e106a4742dcbc (patch)
tree2ba7d1182ee3acf091ec5fced6c959f24f4f2652 /src/i830_dri.c
parentb6443515e9d485b1ab8ee266c5b21750d2a5a551 (diff)
Disable the {Open,Close}FullScreen DRI protocol.
Remove empty FullScreen stubs from drivers, comment the non-empty ones.
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r--src/i830_dri.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c
index 87b6a335..1843aaf0 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -96,8 +96,6 @@ static void I830DRIInitBuffers(WindowPtr pWin, RegionPtr prgn, CARD32 index);
static void I830DRIMoveBuffers(WindowPtr pParent, DDXPointRec ptOldOrg,
RegionPtr prgnSrc, CARD32 index);
-static Bool I830DRICloseFullScreen(ScreenPtr pScreen);
-static Bool I830DRIOpenFullScreen(ScreenPtr pScreen);
static void I830DRITransitionTo2d(ScreenPtr pScreen);
static void I830DRITransitionTo3d(ScreenPtr pScreen);
static void I830DRITransitionMultiToSingle3d(ScreenPtr pScreen);
@@ -516,8 +514,6 @@ I830DRIScreenInit(ScreenPtr pScreen)
pDRIInfo->InitBuffers = I830DRIInitBuffers;
pDRIInfo->MoveBuffers = I830DRIMoveBuffers;
pDRIInfo->bufferRequests = DRI_ALL_WINDOWS;
- pDRIInfo->OpenFullScreen = I830DRIOpenFullScreen;
- pDRIInfo->CloseFullScreen = I830DRICloseFullScreen;
pDRIInfo->TransitionTo2d = I830DRITransitionTo2d;
pDRIInfo->TransitionTo3d = I830DRITransitionTo3d;
pDRIInfo->TransitionSingleToMulti3D = I830DRITransitionSingleToMulti3d;
@@ -1134,24 +1130,6 @@ I830EmitInvarientState(ScrnInfoPtr pScrn)
}
}
-/* Fullscreen hooks. The DRI fullscreen mode can probably be removed
- * as it adds little or nothing above the mechanism below. (and isn't
- * widely used)
- */
-static Bool
-I830DRIOpenFullScreen(ScreenPtr pScreen)
-{
- return TRUE;
-}
-
-static Bool
-I830DRICloseFullScreen(ScreenPtr pScreen)
-{
- return TRUE;
-}
-
-
-
/* Use callbacks from dri.c to support pageflipping mode for a single
* 3d context without need for any specific full-screen extension.
*