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

reimar subversion at mplayerhq.hu
Sat Dec 18 21:56:37 CET 2010


Author: reimar
Date: Sat Dec 18 21:56:37 2010
New Revision: 32719

Log:
llvmpipe, while only slow instead of insanely slow, is a software renderer.
Recognize it as such and disable -vo gl_nosw on it.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Fri Dec 17 10:38:26 2010	(r32718)
+++ trunk/libvo/vo_gl.c	Sat Dec 18 21:56:37 2010	(r32719)
@@ -467,7 +467,8 @@ static void uninitGl(void) {
 static int isSoftwareGl(void)
 {
   const char *renderer = mpglGetString(GL_RENDERER);
-  return !renderer || strcmp(renderer, "Software Rasterizer") == 0;
+  return !renderer || strcmp(renderer, "Software Rasterizer") == 0 ||
+         strstr(renderer, "llvmpipe");
 }
 
 static void autodetectGlExtensions(void) {


More information about the MPlayer-cvslog mailing list