From 320c6e5dd2cfae2c42e9d75b0890bec6143b4adc Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 7 Oct 2015 10:53:28 +0100 Subject: 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 Tested-by: Tor Lillqvist --- vcl/opengl/win/WinDeviceInfo.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vcl') 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(); } -- cgit v1.2.3