зеркало из https://github.com/mozilla/pjs.git
Bug 610713. Disable acceleration in popup widgets to work around Windows/driver bugs. r=bas
This commit is contained in:
Родитель
558ad169dd
Коммит
d977d2482a
|
@ -3192,7 +3192,8 @@ nsWindow::GetLayerManager(PLayersChild* aShadowManager,
|
|||
if (eTransparencyTransparent == mTransparencyMode ||
|
||||
prefs.mDisableAcceleration ||
|
||||
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;
|
||||
else if (prefs.mAccelerateByDefault)
|
||||
mUseAcceleratedRendering = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче