1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 19:35:49 +00: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
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
gettimeofday.c
glob-win.c
glob.h
kerneltwosix.h
keycodes.h
lrmi.c Modification statement added. 2004-01-16 20:26:57 +00:00
lrmi.h
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
shmem.c
shmem.h
strl.c string handling security fixes 2004-06-25 16:49:53 +00:00
strsep.c
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