summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-21 18:40:59 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-21 18:40:59 +0000
commitd1abb9c4b3280dc3592470f3bda83aaecc240c97 (patch)
tree3b74cfb9f01c51f32ba5cbfda02f4da16677c67d /Gui
parenteec1ff5f27dd6933ad3d009aa7a063f6ecaef84a (diff)
downloadmpv-d1abb9c4b3280dc3592470f3bda83aaecc240c97.tar.bz2
mpv-d1abb9c4b3280dc3592470f3bda83aaecc240c97.tar.xz
remove dga support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3056 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/wm/ws.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c
index 6446b75cea..021a4a7fe7 100644
--- a/Gui/wm/ws.c
+++ b/Gui/wm/ws.c
@@ -27,9 +27,6 @@
#ifdef HAVE_XSHAPE
#include <X11/extensions/shape.h>
#endif
-#ifdef HAVE_DGA2
-#include <X11/extensions/xf86dga.h>
-#endif
#include <sys/ipc.h>
#include <sys/shm.h>
@@ -71,7 +68,6 @@ int wsWLCount = 0;
unsigned long wsKeyTable[512];
int wsUseXShm = 1;
-int wsUseDGA = 1;
int wsUseXShape = 1;
int XShmGetEventBase( Display* );
@@ -215,15 +211,6 @@ if(mDisplay){
fprintf( stderr,"[ws] sorry, your system is not supported X shared memory extension.\n" );
wsUseXShm=0;
}
-#ifdef HAVE_DGA2
- if ( !XDGAQueryExtension( wsDisplay,&eventbase,&errorbase ) )
- {
- fprintf( stderr,"[ws] sorry, your system is not supported DGA extension.\n" );
- wsUseDGA=0;
- }
-#else
- wsUseDGA=0;
-#endif
#ifdef HAVE_XSHAPE
if ( !XShapeQueryExtension( wsDisplay,&eventbase,&errorbase ) )
{
@@ -255,11 +242,6 @@ if(mDisplay){
XShmQueryVersion( wsDisplay,&major,&minor,&shp );
fprintf( stderr,"[ws] XShm version is %d.%d\n",major,minor );
}
-// if ( wsUseDGA )
-// {
-// XDGAQueryVersion( wsDisplay,&major,&minor );
-// fprintf( stderr,"[ws] DGA version is %d.%d\n",major,minor );
-// }
#ifdef HAVE_XSHAPE
if ( wsUseXShape )
{
@@ -1064,8 +1046,6 @@ int wsGetDepthOnScreen( void )
void wsXDone( void )
{
-// if ( wsSwitchedAnotherVideoMode ) wsChangeVideoMode( wsOldXResolution,wsOldYResolution );
-// if ( wsUseDGA ) XF86DGADirectVideo( wsDisplay,wsScreen,0 );
XCloseDisplay( wsDisplay );
}