[MPlayer-dev-eng] VO x11: Xdbe

Nicolas George nicolas.george at ens.fr
Tue Nov 14 18:24:32 CET 2006


Le tridi 23 brumaire, an CCXV, Diego Biurrun a écrit :
> OK.  This is not really documented, I'm on it...

What do you mean you are on it? To document it, or to implement it? If it is
to document it, I can only cheer.

As for implementing, I just tried. The result is here:

http://www.eleves.ens.fr/home/george/tmp/test_xdbe_sync.c

Build it with -lX11 and -lXext, and start it something like:

./test_xdbe_sync 1592 1198 75 10 0xFF0000 0x0000FF

(for 1600×1200, depth 32, 75 Hz). You will get stripes circulating. The left
half of the screen is displayed with a simple XShmPutImage, the right half
has double buffering.

My hope was that Xdbe may help to make the frame change during the vertical
blank on a CRT monitor. With my setup, it is not true: the stripes on the
right half flicker just as much as the ones on the left half.

So, unless others video drivers perform better, it is no use to use Xdbe.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061114/7a05c837/attachment.pgp>


More information about the MPlayer-dev-eng mailing list