gecko-dev/gfx/layers/apz
Kartikaya Gupta fda8ec623e Bug 1358771 - Don't set the resolution on the main-thread from an APZ repaint request that was triggered by a main-thread update. r=tnikkel
Conceptually, a repaint request that arrives in APZCCallbackHelper with
!GetScrollOffsetUpdated() is a repaint request that the APZ is sending in
response to a main-thread update it received. The purpose of the repaint
request is mainly to update the displayport margins; the scroll position
and resolution should not have changed. Therefore actively trying to set
the scroll position or resolution as a result of these repaint requests
should at best be a no-op but often triggers unnecessary clobbering of things
that are in-flight, or extra reflows. This can result in buggy behaviour.
Bug 1286179 avoided doing this for the scroll position, and this patch does
the equivalent thing for zooming.

MozReview-Commit-ID: 91RbRP0ZHBe

--HG--
extra : rebase_source : 7bb97075619f5435705d369a695d37aa1c972278
2017-08-21 12:51:43 -04:00
..
public Bug 1390321 - Remove the no-longer-used IAPZCTreeManager::CancelAnimation() function. r=kats 2017-08-14 17:12:22 -04:00
src Bug 1391770 - Don't allow a faraway second tap to start a one-touch-pinch gesture. r=botond 2017-08-19 08:50:55 -04:00
test Bug 1364714 - (re-landing) Update Freetype to version 2.8, and fix/annotate tests affected by changes to font metrics & rasterization. r=dholbert,jwatt,ryanvm,jfkthame 2017-08-22 09:20:05 +01:00
testutil Bug 1389335 - Only check APZTestDataEnabled when APZPaintLogHelper is created. r=botond 2017-08-14 00:48:11 -04:00
util Bug 1358771 - Don't set the resolution on the main-thread from an APZ repaint request that was triggered by a main-thread update. r=tnikkel 2017-08-21 12:51:43 -04:00