2011-10-15 16:44:00 +00:00
|
|
|
#ifndef MPLAYER_COCOA_COMMON_H
|
|
|
|
#define MPLAYER_COCOA_COMMON_H
|
|
|
|
|
2011-12-04 17:52:16 +00:00
|
|
|
#include "video_out.h"
|
2011-10-15 16:44:00 +00:00
|
|
|
|
|
|
|
int vo_cocoa_init(struct vo *vo);
|
|
|
|
void vo_cocoa_uninit(struct vo *vo);
|
|
|
|
|
|
|
|
void vo_cocoa_update_xinerama_info(struct vo *vo);
|
|
|
|
|
2011-12-04 17:52:16 +00:00
|
|
|
int vo_cocoa_change_attributes(struct vo *vo);
|
|
|
|
int vo_cocoa_create_window(struct vo *vo, uint32_t d_width,
|
2011-12-06 19:23:54 +00:00
|
|
|
uint32_t d_height, uint32_t flags);
|
2011-10-15 16:44:00 +00:00
|
|
|
|
|
|
|
void vo_cocoa_swap_buffers(void);
|
|
|
|
int vo_cocoa_check_events(struct vo *vo);
|
|
|
|
void vo_cocoa_fullscreen(struct vo *vo);
|
|
|
|
|
2011-12-04 20:53:43 +00:00
|
|
|
// returns an int to conform to the gl extensions from other platforms
|
|
|
|
int vo_cocoa_swap_interval(int enabled);
|
|
|
|
|
2011-10-15 16:44:00 +00:00
|
|
|
#endif /* MPLAYER_COCOA_COMMON_H */
|