Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
kwin5.15307
0001-Detect-softpipe-and-llvmpipe-on-Mesa-20.2....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Detect-softpipe-and-llvmpipe-on-Mesa-20.2.patch of Package kwin5.15307
From 0e9fe61c325a31653845f035986543b0f8744758 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fabian@ritter-vogt.de> Date: Mon, 19 Oct 2020 14:53:38 +0000 Subject: [PATCH] Detect softpipe and llvmpipe on Mesa 20.2+ It seems like the vendor string changed from "VMware Inc." to "Mesa/X.org". --- .../data/glplatform/llvmpipe-10.0 | 22 +++++++++++++++++++ libkwineffects/kwinglplatform.cpp | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 autotests/libkwineffects/data/glplatform/llvmpipe-10.0 diff --git a/autotests/libkwineffects/data/glplatform/llvmpipe-10.0 b/autotests/libkwineffects/data/glplatform/llvmpipe-10.0 new file mode 100644 index 000000000..92581afb6 --- /dev/null +++ b/autotests/libkwineffects/data/glplatform/llvmpipe-10.0 @@ -0,0 +1,22 @@ +[Driver] +Vendor=Mesa/X.org +Renderer=llvmpipe (LLVM 10.0.1, 256 bits) +Version=3.1 Mesa 20.2.1 +ShadingLanguageVersion=1.40 + +[Settings] +LooseBinding=true +GLSL=true +TextureNPOT=true +Mesa=true +Gallium=true +SoftwareEmulation=true +GLVersion=3,1 +GLSLVersion=1,40 +MesaVersion=20,2,1 +GalliumVersion=0,4 +DriverVersion=20,2,1 +Driver=12 +ChipClass=99999 +Compositor=9 + diff --git a/libkwineffects/kwinglplatform.cpp b/libkwineffects/kwinglplatform.cpp index 0a0ebd1cf..b19490617 100644 --- a/libkwineffects/kwinglplatform.cpp +++ b/libkwineffects/kwinglplatform.cpp @@ -905,12 +905,12 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface) } // softpipe - else if (m_vendor == "VMware, Inc." && m_chipset == "softpipe" ) { + else if (m_chipset == "softpipe") { m_driver = Driver_Softpipe; } // llvmpipe - else if (m_vendor == "VMware, Inc." && m_chipset == "llvmpipe") { + else if (m_chipset == "llvmpipe") { m_driver = Driver_Llvmpipe; } -- 2.25.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor