From 58dfb95c446b73fbc34784f0894cf89152dab043 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Sat, 24 Sep 2005 18:45:45 +0000 Subject: Disable the {Open,Close}FullScreen DRI protocol. Remove empty FullScreen stubs from drivers, comment the non-empty ones. --- src/radeon_dri.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 209df971..05a7169e 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -64,8 +64,6 @@ static size_t radeon_drm_page_size; -static Bool RADEONDRICloseFullScreen(ScreenPtr pScreen); -static Bool RADEONDRIOpenFullScreen(ScreenPtr pScreen); static void RADEONDRITransitionTo2d(ScreenPtr pScreen); static void RADEONDRITransitionTo3d(ScreenPtr pScreen); static void RADEONDRITransitionMultiToSingle3d(ScreenPtr pScreen); @@ -1336,8 +1334,6 @@ Bool RADEONDRIScreenInit(ScreenPtr pScreen) pDRIInfo->InitBuffers = RADEONDRIInitBuffers; pDRIInfo->MoveBuffers = RADEONDRIMoveBuffers; pDRIInfo->bufferRequests = DRI_ALL_WINDOWS; - pDRIInfo->OpenFullScreen = RADEONDRIOpenFullScreen; - pDRIInfo->CloseFullScreen = RADEONDRICloseFullScreen; pDRIInfo->TransitionTo2d = RADEONDRITransitionTo2d; pDRIInfo->TransitionTo3d = RADEONDRITransitionTo3d; pDRIInfo->TransitionSingleToMulti3D = RADEONDRITransitionSingleToMulti3d; @@ -1754,23 +1750,6 @@ void RADEONDRICloseScreen(ScreenPtr pScreen) } - -/* 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 RADEONDRIOpenFullScreen(ScreenPtr pScreen) -{ - return TRUE; -} - -static Bool RADEONDRICloseFullScreen(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. * -- cgit v1.2.3