Commit 9164f5c7 authored by Eric Petit's avatar Eric Petit

macosx/vout* : in GL mode, create a fullscreen window just like with QT

                instead of switching to OpenGL fullscreen mode (fixes
                unreachable mouse events with DVD menus, fixes the issues
                with people using multiple desktops, etc).
                Fillscreen is temporarily broken, I'll clean this up later.
parent 3ca21ff4
...@@ -62,21 +62,14 @@ ...@@ -62,21 +62,14 @@
vout_thread_t * p_vout; vout_thread_t * p_vout;
int i_effect; int i_effect;
unsigned long pi_textures[2]; unsigned long pi_textures[2];
int i_curTexture;
float f_x; float f_x;
float f_y; float f_y;
int initDone; int initDone;
int isFullScreen;
NSOpenGLContext * fullScreenContext;
NSOpenGLContext * currentContext;
} }
- (id) initWithFrame: (NSRect) frame vout: (vout_thread_t*) p_vout; - (id) initWithFrame: (NSRect) frame vout: (vout_thread_t*) p_vout;
- (void) initTextures; - (void) initTextures;
- (void) reloadTexture: (int) index; - (void) reloadTexture: (int) index;
- (void) goFullScreen;
- (void) exitFullScreen;
- (void) cleanUp;
@end @end
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment