From 7c8cb100afd0186766f8c7f0f4ce069845ba845a Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 18 Dec 2010 20:56:37 +0000 Subject: vo_gl: mark llvmpipe as a software renderer llvmpipe, while only slow instead of insanely slow, is a software renderer. Recognize it as such and disable -vo gl_nosw on it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32719 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index c062614d3a..d2f98a26fe 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -485,7 +485,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) { -- cgit v1.2.3