Esempio n. 1
0
        public static bool DetectLLVMPipeRasterizer()
        {
            try
            {
                var shellResult = ShellUtils.ExecuteShellCommand("glxinfo | grep renderer", "");

                if (!string.IsNullOrWhiteSpace(shellResult.Output) && shellResult.Output.Contains("llvmpipe"))
                {
                    return(true);
                }
            }
            catch
            {
                // do nothing
            }

            return(false);
        }