REfining the filter based on the COmputer model name and catching the 2 known problematic models

This commit is contained in:
Sam Gateau 2019-06-13 11:39:13 -07:00
parent 97236570d8
commit def0007496

View file

@ -141,14 +141,14 @@ bool Profiler::isRenderMethodDeferredCapable() {
// Macbook air 2018 are a problem // Macbook air 2018 are a problem
if ((computerModel.find("MacBookAir") != std::string::npos) && (gpuModel.find("Intel HD Graphics 6000") != std::string::npos)) { if ((computerModel.find("MacBookAir7,2") != std::string::npos) && (gpuModel.find("Intel HD Graphics 6000") != std::string::npos)) {
return false; return false;
} }
// We know for fact that one INtel Iris is problematic, not enough info yet for sure // We know for fact that the Mac BOok Pro 13 from Mid 2014 INtel Iris is problematic,
// if ((gpuModel.find("Intel Iris ....") != std::string::npos)) { if ((computerModel.find("MacBookPro11,1") != std::string::npos) && (gpuModel.find("Intel Iris") != std::string::npos)) {
// return false; return false;
//} }
return true; return true;
#elif defined(Q_OS_ANDROID) #elif defined(Q_OS_ANDROID)