changeset 34818:ec6877bfc79f

Never default to force-pbo on non-x86. We end up using the system memcpy there and it tends to be far too slow.
author reimar
date Tue, 15 May 2012 21:53:41 +0000
parents 326242b21831
children eba74596e6ee
files libvo/vo_gl.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Tue May 15 21:18:39 2012 +0000
+++ b/libvo/vo_gl.c	Tue May 15 21:53:41 2012 +0000
@@ -496,7 +496,8 @@
   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) {