Mercurial > mplayer.hg
comparison libvo/vo_gl2.c @ 8148:5b39e79af5fe
removed get_info, using the same sheme as in libmpcodecs instead
author | alex |
---|---|
date | Mon, 11 Nov 2002 15:22:10 +0000 |
parents | 9fc45fe0d444 |
children | 772d6d27fd66 |
comparison
equal
deleted
inserted
replaced
8147:538f88a49b50 | 8148:5b39e79af5fe |
---|---|
14 | 14 |
15 #include "config.h" | 15 #include "config.h" |
16 #include "video_out.h" | 16 #include "video_out.h" |
17 #include "video_out_internal.h" | 17 #include "video_out_internal.h" |
18 #include "sub.h" | 18 #include "sub.h" |
19 | |
20 LIBVO_EXTERN(gl2) | |
21 | 19 |
22 #include <X11/Xlib.h> | 20 #include <X11/Xlib.h> |
23 #include <X11/Xutil.h> | 21 #include <X11/Xutil.h> |
24 //#include <X11/keysym.h> | 22 //#include <X11/keysym.h> |
25 #include <GL/glx.h> | 23 #include <GL/glx.h> |
32 #include "aspect.h" | 30 #include "aspect.h" |
33 | 31 |
34 #define NDEBUG | 32 #define NDEBUG |
35 //#undef NDEBUG | 33 //#undef NDEBUG |
36 | 34 |
37 static vo_info_t vo_info = | 35 static vo_info_t info = |
38 { | 36 { |
39 "X11 (OpenGL) - multiple textures version", | 37 "X11 (OpenGL) - multiple textures version", |
40 "gl2", | 38 "gl2", |
41 "Arpad Gereoffy & Sven Goethel", | 39 "Arpad Gereoffy & Sven Goethel", |
42 "" | 40 "" |
43 }; | 41 }; |
42 | |
43 LIBVO_EXTERN(gl2) | |
44 | 44 |
45 /* private prototypes */ | 45 /* private prototypes */ |
46 | 46 |
47 static const char * tweaks_used = | 47 static const char * tweaks_used = |
48 #ifdef HAVE_MMX | 48 #ifdef HAVE_MMX |
979 saver_off(mDisplay); // turning off screen saver | 979 saver_off(mDisplay); // turning off screen saver |
980 | 980 |
981 return 0; | 981 return 0; |
982 } | 982 } |
983 | 983 |
984 static const vo_info_t* | |
985 get_info(void) | |
986 { | |
987 return &vo_info; | |
988 } | |
989 | |
990 static int gl_handlekey(int key) | 984 static int gl_handlekey(int key) |
991 { | 985 { |
992 if(key=='a'||key=='A') | 986 if(key=='a'||key=='A') |
993 { | 987 { |
994 gl_set_antialias(!gl_antialias); | 988 gl_set_antialias(!gl_antialias); |