summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa_common.h')
-rw-r--r--video/out/cocoa_common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/video/out/cocoa_common.h b/video/out/cocoa_common.h
index 3450ebd547..823325ad15 100644
--- a/video/out/cocoa_common.h
+++ b/video/out/cocoa_common.h
@@ -24,7 +24,6 @@
struct vo_cocoa_state;
-bool vo_cocoa_gui_running(void);
void *vo_cocoa_glgetaddr(const char *s);
int vo_cocoa_init(struct vo *vo);
@@ -37,6 +36,7 @@ int vo_cocoa_config_window(struct vo *vo, uint32_t d_width,
uint32_t d_height, uint32_t flags,
int gl3profile);
+void vo_cocoa_set_current_context(struct vo *vo, bool current);
void vo_cocoa_swap_buffers(struct vo *vo);
int vo_cocoa_check_events(struct vo *vo);
void vo_cocoa_fullscreen(struct vo *vo);
@@ -44,6 +44,9 @@ void vo_cocoa_ontop(struct vo *vo);
void vo_cocoa_pause(struct vo *vo);
void vo_cocoa_resume(struct vo *vo);
+void vo_cocoa_register_resize_callback(struct vo *vo,
+ void (*cb)(struct vo *vo, int w, int h));
+
// returns an int to conform to the gl extensions from other platforms
int vo_cocoa_swap_interval(int enabled);