зеркало из https://github.com/mozilla/gecko-dev.git
Bug 610713. Disable acceleration in popup widgets to work around Windows/driver bugs. r=bas
This commit is contained in:
Родитель
4bc66bfdf9
Коммит
17273823c0
|
@ -3192,7 +3192,8 @@ nsWindow::GetLayerManager(PLayersChild* aShadowManager,
|
||||||
if (eTransparencyTransparent == mTransparencyMode ||
|
if (eTransparencyTransparent == mTransparencyMode ||
|
||||||
prefs.mDisableAcceleration ||
|
prefs.mDisableAcceleration ||
|
||||||
windowRect.right - windowRect.left > MAX_ACCELERATED_DIMENSION ||
|
windowRect.right - windowRect.left > MAX_ACCELERATED_DIMENSION ||
|
||||||
windowRect.bottom - windowRect.top > MAX_ACCELERATED_DIMENSION)
|
windowRect.bottom - windowRect.top > MAX_ACCELERATED_DIMENSION ||
|
||||||
|
mWindowType == eWindowType_popup)
|
||||||
mUseAcceleratedRendering = false;
|
mUseAcceleratedRendering = false;
|
||||||
else if (prefs.mAccelerateByDefault)
|
else if (prefs.mAccelerateByDefault)
|
||||||
mUseAcceleratedRendering = true;
|
mUseAcceleratedRendering = true;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче