зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1216924 - Don't align to tiles (either real or virtual) if displayport suppression is enabled. r=BenWa
MozReview-Commit-ID: 15XWTTM0tZI
This commit is contained in:
Родитель
4b7ef956c7
Коммит
b3806e256d
|
@ -950,7 +950,9 @@ GetDisplayPortFromMarginsData(nsIContent* aContent,
|
|||
// the choosing of the resolution to display-list building time.
|
||||
ScreenSize alignment;
|
||||
|
||||
if (gfxPrefs::LayersTilesEnabled() && !APZCCallbackHelper::IsDisplayportSuppressed()) {
|
||||
if (APZCCallbackHelper::IsDisplayportSuppressed()) {
|
||||
alignment = ScreenSize(1, 1);
|
||||
} else if (gfxPrefs::LayersTilesEnabled()) {
|
||||
alignment = ScreenSize(gfxPlatform::GetPlatform()->GetTileWidth(),
|
||||
gfxPlatform::GetPlatform()->GetTileHeight());
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче