summaryrefslogtreecommitdiffstats
path: root/libvo/cocoa_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/cocoa_common.h')
-rw-r--r--libvo/cocoa_common.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libvo/cocoa_common.h b/libvo/cocoa_common.h
index c5d24e9178..4fbbb32dd9 100644
--- a/libvo/cocoa_common.h
+++ b/libvo/cocoa_common.h
@@ -1,19 +1,22 @@
#ifndef MPLAYER_COCOA_COMMON_H
#define MPLAYER_COCOA_COMMON_H
-#include "gl_common.h"
+#include "video_out.h"
int vo_cocoa_init(struct vo *vo);
void vo_cocoa_uninit(struct vo *vo);
void vo_cocoa_update_xinerama_info(struct vo *vo);
-int vo_cocoa_change_attributes(struct MPGLContext *ctx);
-int vo_cocoa_create_window(struct MPGLContext *ctx, uint32_t d_width,
+int vo_cocoa_change_attributes(struct vo *vo);
+int vo_cocoa_create_window(struct vo *vo, uint32_t d_width,
uint32_t d_height, uint32_t flags);
void vo_cocoa_swap_buffers(void);
int vo_cocoa_check_events(struct vo *vo);
void vo_cocoa_fullscreen(struct vo *vo);
+// returns an int to conform to the gl extensions from other platforms
+int vo_cocoa_swap_interval(int enabled);
+
#endif /* MPLAYER_COCOA_COMMON_H */