GNOME Bugzilla – Bug 683818
Need to pick up new Mesa strings
Last modified: 2012-09-12 14:24:15 UTC
Created attachment 224037 [details] [review] Patch that handles the new strings I'm running mesa 8.1 here and cogl (1.10) doesn't correctly pick up the vendor and the architecture (swrast). Attaching a patch that fixes it.
Review of attachment 224037 [details] [review]: just a comment, passing by... ::: cogl/cogl-gpu-info.c @@ +217,3 @@ check_swrast_architecture (const CoglGpuInfoStrings *strings) { + return match_phrase (strings->renderer_string, "software rasterizer") || I wonder if match_phrase() shouldn't just to a lc() on the string to match.
thanks I've pushed this to master, and I can cherry pick it to the cogl-1.12 branch for the next developer snapshot. I kept the patch as is, but as ebassi suggests, if we see more examples where only the case has changed we should consider using a case in-sensitive comparison. thanks