[MPlayer-dev-eng] Update to vo_direct3d - saves ~2% CPU time

Jim Hauxwell james at dattrax.co.uk
Thu Nov 20 20:07:50 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've made some updates to vo_direct3d.c which reduce the amount of data
locked, now only locks the portion needed for update which should save
DMA bandwidth.  I've optimized away some begin_scene and end_scene
combos as they are only needed for actual rendering, not the locking.

I've attached the patch created against what was in svn today.

I still think there will be some issue with lost surfaces, I'll look at
that next.

Jim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkltYUACgkQhrNWoHjgI1BttgCgjSkG1hAAfmANdrZsO5Nl3tR7
t14AniOkna+4yE1GOT/IxcIiGhhB2W81
=KtW7
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: my_output.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081120/ddd9024a/attachment.asc>


More information about the MPlayer-dev-eng mailing list