view libvo/w32_common.h @ 27969:7ddd69cf214f

Lock/unlock surface only once even when drawing many slices. Patch originally by Jim Hauxwell [james dattrax co.uk]
author reimar
date Sun, 23 Nov 2008 18:42:29 +0000
parents 0585db9f5b32
children 9e739bdb049c
line wrap: on
line source

#ifndef MPLAYER_W32_COMMON_H
#define MPLAYER_W32_COMMON_H

#include <stdint.h>
#include <windows.h>

extern HWND vo_w32_window;
extern int vo_vm;

extern int vo_w32_init(void);
extern void vo_w32_uninit(void);
extern void vo_w32_ontop(void);
extern void vo_w32_border(void);
extern void vo_w32_fullscreen(void);
extern int vo_w32_check_events(void);
extern int vo_w32_config(uint32_t, uint32_t, uint32_t);
extern void destroyRenderingContext(void);
extern void w32_update_xinerama_info(void);

#endif /* MPLAYER_W32_COMMON_H */