diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2011-12-11 12:26:00 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-04-26 21:03:10 +0300 |
commit | d12b9b611aa7030047e6556714e859dd2bfd38fc (patch) | |
tree | 6df7a9b89ae07f5235310c5b952189c81c753236 /libvo/cocoa_common.h | |
parent | 237f44db44b5479c78c90c1a045e0123a2f9c2b8 (diff) | |
download | mpv-d12b9b611aa7030047e6556714e859dd2bfd38fc.tar.bz2 mpv-d12b9b611aa7030047e6556714e859dd2bfd38fc.tar.xz |
vo_corevideo: use cocoa_common to display the window
Change vo_corevideo to use cocoa_common to create and manage the
window. This doesn't affect external OSX GUIs, since they don't use
vo_corevideo window management, but only read the image data from the
shared buffer.
Diffstat (limited to 'libvo/cocoa_common.h')
-rw-r--r-- | libvo/cocoa_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/cocoa_common.h b/libvo/cocoa_common.h index 16f9a2f1f9..a118f37149 100644 --- a/libvo/cocoa_common.h +++ b/libvo/cocoa_common.h @@ -39,4 +39,7 @@ void vo_cocoa_ontop(struct vo *vo); // returns an int to conform to the gl extensions from other platforms int vo_cocoa_swap_interval(int enabled); +void *vo_cocoa_cgl_context(void); +void *vo_cocoa_cgl_pixel_format(void); + #endif /* MPLAYER_COCOA_COMMON_H */ |