summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-10-07 10:53:28 +0100
committerTor Lillqvist <tml@collabora.com>2015-10-07 11:26:40 +0000
commit320c6e5dd2cfae2c42e9d75b0890bec6143b4adc (patch)
treeb3f63ca65c9c0e5afa0ab207eaeecde50df3194e /vcl
parentfb38840771bc4c58de9bd62b960d0f2154fac394 (diff)
tdf#94686: Disable all vendors except for AMD/ATI/Intel/NVIDIA for now
Change-Id: I769aa1e0645b36f8623187e2e485ad2c474914c1 Reviewed-on: https://gerrit.libreoffice.org/19222 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/win/WinDeviceInfo.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx
index e3dec3196d16..768930e463d9 100644
--- a/vcl/opengl/win/WinDeviceInfo.cxx
+++ b/vcl/opengl/win/WinDeviceInfo.cxx
@@ -727,6 +727,14 @@ bool WinOpenGLDeviceInfo::isDeviceBlocked()
return true;
}
+ /* Anything that's exotic eg. VMWare / VirtualBox GL drivers
+ we're not interested in for now. */
+ if (maAdapterVendorID != GetDeviceVendor(wgl::VendorAMD) &&
+ maAdapterVendorID != GetDeviceVendor(wgl::VendorATI) &&
+ maAdapterVendorID != GetDeviceVendor(wgl::VendorIntel) &&
+ maAdapterVendorID != GetDeviceVendor(wgl::VendorNVIDIA))
+ return true;
+
return FindBlocklistedDeviceInList();
}