[MPlayer-cvslog] r34906 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Tue May 15 23:53:41 CEST 2012


Author: reimar
Date: Tue May 15 23:53:41 2012
New Revision: 34906

Log:
Never default to force-pbo on non-x86.

We end up using the system memcpy there and it
tends to be far too slow.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Tue May 15 23:18:39 2012	(r34905)
+++ trunk/libvo/vo_gl.c	Tue May 15 23:53:41 2012	(r34906)
@@ -496,7 +496,8 @@ static void autodetectGlExtensions(void)
   if (ati_hack      == -1) ati_hack      = ati_broken_pbo;
   if (force_pbo     == -1) {
     force_pbo = 0;
-    if (extensions && strstr(extensions, "_pixel_buffer_object"))
+    // memcpy is just too slow at least on PPC.
+    if (ARCH_X86 && extensions && strstr(extensions, "_pixel_buffer_object"))
       force_pbo = is_ati;
   }
   if (use_rectangle == -1) {


More information about the MPlayer-cvslog mailing list