Mercurial > mplayer.hg
comparison libvo/vo_gl.c @ 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 | f2274219a79c |
children | eba74596e6ee |
comparison
equal
deleted
inserted
replaced
34817:326242b21831 | 34818:ec6877bfc79f |
---|---|
494 ati_broken_pbo = ver && ver < 8395; | 494 ati_broken_pbo = ver && ver < 8395; |
495 } | 495 } |
496 if (ati_hack == -1) ati_hack = ati_broken_pbo; | 496 if (ati_hack == -1) ati_hack = ati_broken_pbo; |
497 if (force_pbo == -1) { | 497 if (force_pbo == -1) { |
498 force_pbo = 0; | 498 force_pbo = 0; |
499 if (extensions && strstr(extensions, "_pixel_buffer_object")) | 499 // memcpy is just too slow at least on PPC. |
500 if (ARCH_X86 && extensions && strstr(extensions, "_pixel_buffer_object")) | |
500 force_pbo = is_ati; | 501 force_pbo = is_ati; |
501 } | 502 } |
502 if (use_rectangle == -1) { | 503 if (use_rectangle == -1) { |
503 use_rectangle = 0; | 504 use_rectangle = 0; |
504 if (extensions) { | 505 if (extensions) { |