[MPlayer-dev-eng] [PATCH] vo_gl small change

Dmitry Baryshkov lumag at qnc.ru
Wed Dec 18 06:17:52 CET 2002


Hi.

As I saw in documentation, my problem(near to 0.060 fps with -vo gl) is
known...
I experimented some with TOOLS/GL-test/gltest...
Here are results (for BYTES_PP = 3):
With FAST_BLIT defined, I get that 0.060 fps with binary nVidia driver
installed.
(I forgot to mention, that I'm using nVidia TNT2 Vanta card with 3123
binary drivers).
But when FAST_BLIT was undefined, I got...17-20 fps !
So looking at gltest.c I wrote some code...

Use '-vo gl', or '-vo gl:f' to use old code, or '-vo gl:s' for enabling 
my code. All the difference, it that for drawing my code uses single 
glTexSubImage2D call, instead of per-line cycle.

Dmitry.

P.S. In previous versions was a bug in draw_frame_x11_bgr().
I wrongly understood byte-swapping.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vo_gl.c.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021218/ad30db57/attachment.txt>


More information about the MPlayer-dev-eng mailing list