1 #ifndef MPLAYER_COCOA_COMMON_H
2 #define MPLAYER_COCOA_COMMON_H
6 int vo_cocoa_init(struct vo
*vo
);
7 void vo_cocoa_uninit(struct vo
*vo
);
9 void vo_cocoa_update_xinerama_info(struct vo
*vo
);
11 int vo_cocoa_change_attributes(struct vo
*vo
);
12 int vo_cocoa_create_window(struct vo
*vo
, uint32_t d_width
,
13 uint32_t d_height
, uint32_t flags
);
15 void vo_cocoa_swap_buffers(void);
16 int vo_cocoa_check_events(struct vo
*vo
);
17 void vo_cocoa_fullscreen(struct vo
*vo
);
19 // returns an int to conform to the gl extensions from other platforms
20 int vo_cocoa_swap_interval(int enabled
);
22 #endif /* MPLAYER_COCOA_COMMON_H */