зеркало из https://github.com/mozilla/gecko-dev.git
Bug 816695 - Blocklist llvmpipe graphics driver - r=jgilbert
This commit is contained in:
Родитель
a565411c32
Коммит
67b869aab7
|
@ -44,6 +44,7 @@ GfxInfo::Init()
|
|||
mIsNouveau = false;
|
||||
mIsIntel = false;
|
||||
mIsOldSwrast = false;
|
||||
mIsLlvmpipe = false;
|
||||
mHasTextureFromPixmap = false;
|
||||
return GfxInfoBase::Init();
|
||||
}
|
||||
|
@ -213,6 +214,8 @@ GfxInfo::GetData()
|
|||
mIsNouveau = true;
|
||||
if (strcasestr(mRenderer.get(), "intel")) // yes, intel is in the renderer string
|
||||
mIsIntel = true;
|
||||
if (strcasestr(mRenderer.get(), "llvmpipe"))
|
||||
mIsLlvmpipe = true;
|
||||
if (strcasestr(mRenderer.get(), "software rasterizer"))
|
||||
mIsOldSwrast = true;
|
||||
} else if (strstr(mVendor.get(), "NVIDIA Corporation")) {
|
||||
|
@ -334,9 +337,8 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
|||
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
|
||||
aSuggestedDriverVersion.AssignLiteral("Mesa 7.10.3");
|
||||
}
|
||||
else if (mIsOldSwrast) {
|
||||
else if (mIsOldSwrast || mIsLlvmpipe) {
|
||||
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
|
||||
aSuggestedDriverVersion.AssignLiteral("LLVMpipe");
|
||||
}
|
||||
else if (aFeature == nsIGfxInfo::FEATURE_WEBGL_MSAA)
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@ private:
|
|||
nsCString mAdapterDescription;
|
||||
nsCString mOS;
|
||||
nsCString mOSRelease;
|
||||
bool mIsMesa, mIsNVIDIA, mIsFGLRX, mIsNouveau, mIsIntel, mIsOldSwrast;
|
||||
bool mIsMesa, mIsNVIDIA, mIsFGLRX, mIsNouveau, mIsIntel, mIsOldSwrast, mIsLlvmpipe;
|
||||
bool mHasTextureFromPixmap;
|
||||
int mGLMajorVersion, mMajorVersion, mMinorVersion, mRevisionVersion;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче