diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-09-24 18:45:45 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-09-24 18:45:45 +0000 |
commit | 58dfb95c446b73fbc34784f0894cf89152dab043 (patch) | |
tree | b821d730d63333d0bdfab1291d042ecd354ff897 /src/radeon_dri.c | |
parent | 65b5f0017e29903565aff0b7527d955ed016c9a6 (diff) |
Disable the {Open,Close}FullScreen DRI protocol. Remove empty FullScreen
stubs from drivers, comment the non-empty ones.
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r-- | src/radeon_dri.c | 21 |
1 files changed, 0 insertions, 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. * |