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

reimar subversion at mplayerhq.hu
Sun May 9 23:36:10 CEST 2010


Author: reimar
Date: Sun May  9 23:36:10 2010
New Revision: 31151

Log:
Default to rectangle=1 on Mesa DRI R200 drivers, much faster and less buggy.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Sun May  9 23:29:21 2010	(r31150)
+++ trunk/libvo/vo_gl.c	Sun May  9 23:36:10 2010	(r31151)
@@ -491,6 +491,8 @@ static void autodetectGlExtensions(void)
     force_pbo = is_ati;
   if (use_rectangle == -1 && extensions && strstr(extensions, "_texture_non_power_of_two"))
     use_rectangle = 0;
+  if (use_rectangle == -1 && extensions && strstr(extensions, "_texture_rectangle"))
+    use_rectangle = renderer && strstr(renderer, "Mesa DRI R200") ? 1 : 0;
   if (use_osd == -1)
     use_osd = mpglBindTexture != NULL;
   if (use_yuv == -1)


More information about the MPlayer-cvslog mailing list