[MPlayer-dev-eng] [PATCH] Direct3D libvo driver

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Nov 13 11:21:59 CET 2008


On Thu, Nov 13, 2008 at 10:15:33AM +0200, Georgi Petrov wrote:
> Reimar, thanks for pointing out w32_common.c - I didn't even know
> about it. I will take a look at it and will try to use as much common
> code as possible.

Functions to look at in w32_common (documentation patches welcome, too):
vo_w32_init creates window, call in your preinit function
vo_w32_window contains the window handle
vo_w32_config sets the Window size etc., call in your config function
vo_w32_check_events call in the check_events function to handle when the
                    window was resized or needs to be redrawn.
vo_w32_uninit call in your uninit function
vo_w32_ontop call on VOCTRL_ONTOP
vo_w32_fullscreen call on VOCTRL_FULLSCREEN (and do anything to handle
                  the window resizing that comes with that).
vo_w32_border call on VOCTRL_BORDER
w32_update_xinerama_info call on VOCTRL_UPDATE_SCREENINFO and return
                         true to use the newer way to handle windows
                         (automatically takes care of -geometry etc.)
vo_gl uses most of these without the w32_ part, it uses defines to map it
to the names x11_common.c uses.

Greetings,
Reimar Doeffinger



More information about the MPlayer-dev-eng mailing list