0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/osdep
faust3 1addcfe22b Currently vbeGetProtModeInfo call the 0x4f0a function of int 10h the get
a simple 32 bits protected mode interface to some VESA functions. This
protected mode interface is interesting because it's quicker than the
raw int 10h interface.
Unfortunatly, begining with VBE 3.0, the 0x4f0a function is optional,
and some video cards don't implement it (3dfx, intel 845/855/865...).
This protected mode interface is then only used in vbeSetWindow and
vbeSetDisplayStart :
 - vbeSetWindow already implement an alternative methode if protected
mode interface is not available.
 - vbeSetDisplayStart also contain an alternative implementation, but
this one is disabled with a #if 0. I don't exactly know why because
it works well !

So currently, cards which don't have the 0x4f0a function are not
supported. This patch correct this.
 - vbeGetProtModeInfo failure is not fatal.
 - vbeSetDisplayStart has it's alternative implementation reenabled.
   it's used only with cards which don't have the 0x4f0a function
   so this won't make any difference for cards which were already
   working.

This patch also make the failure of vbeGetModeInfo not fatal. The
VBE 3.0 standard state that GetModeInfo can fail with some mode
which are listed as supported if the mode can't be used in the
current situation (not enough video memory for example). So a
failure of vbeGetModeInfo don't mean that other modes won't work
and should really not be fatal.

patch by Aurelien Jacobs <aurel@gnuage.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13569 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-06 08:42:13 +00:00
..
.cvsignore linux->osdep 2003-02-09 20:18:23 +00:00
fseeko.c 10l for the orignial author and 1000l for me for commiting a broken workaround 2004-04-04 10:38:57 +00:00
getch2-win.c fix slave mode for mingw, patch by Anton Ragnarsson <anton.ragnarsson.1093 at student.uu.se> some cleanup by be 2004-08-13 13:32:43 +00:00
getch2.c morphos support by Nicolas Det 2004-04-05 21:33:08 +00:00
getch2.h linux->osdep 2003-02-09 20:18:23 +00:00
gettimeofday.c Unbreak 2003-04-04 20:40:57 +00:00
glob-win.c renames: DATADIR->MPLAYER_DATADIR, CONFDIR->MPLAYER_CONFDIR, LIBDIR->MPLAYER_LIBDIR 2003-06-09 12:15:48 +00:00
glob.h alternative timer and glob emulation code for mingw32 port 2003-04-25 10:00:18 +00:00
kerneltwosix.h linux 2.6 patch by "ismail 'cartman' dönmez" <ismail.donmez@boun.edu.tr> 2004-01-10 09:48:15 +00:00
keycodes.h keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu> 2003-04-09 17:05:39 +00:00
lrmi.c Modification statement added. 2004-01-16 20:26:57 +00:00
lrmi.h linux->osdep 2003-02-09 20:18:23 +00:00
Makefile mingw crosscompiling step 1 2004-06-27 17:54:31 +00:00
mplayer.rc typo 2004-06-28 16:34:24 +00:00
scandir.c linux->osdep 2003-02-09 20:18:23 +00:00
shmem.c use threads on windows 2003-05-26 18:35:42 +00:00
shmem.h mem mapped area need to be unmapped. 2003-04-12 13:52:21 +00:00
strl.c string handling security fixes 2004-06-25 16:49:53 +00:00
strsep.c linux->osdep 2003-02-09 20:18:23 +00:00
timer-darwin.c Native darwin timer update. 2004-08-04 15:48:43 +00:00
timer-lx.c And a tiny compile fix. 2004-08-04 16:14:43 +00:00
timer-win2.c Native darwin timer update. 2004-08-04 15:48:43 +00:00
timer.h Native darwin timer update. 2004-08-04 15:48:43 +00:00
vbelib.c Currently vbeGetProtModeInfo call the 0x4f0a function of int 10h the get 2004-10-06 08:42:13 +00:00
vbelib.h neomagic tv out support throught vesa vbe, patch by Rudolf Marek 2004-06-25 17:29:18 +00:00
vsscanf.c linux->osdep 2003-02-09 20:18:23 +00:00