gecko-dev/gfx
Ryan Hunt 1601a8bb80 Bug 1453425 - Add relative scroll offset updates using nsGkAtoms::relative. r=botond
This commit adds a scroll origin, nsGkAtoms::relative, which can be used to
mark main thread scrolling that can be combined with a concurrent APZ scroll.

The behavior of this is controlled by a pref, apz.relative-update. This pref
is initially activated and is intended as an aid to narrowing down causes
of regressions for users in bug reports.

Relative scroll updates work by tracking the last sent or accepted APZ
scroll offset. This is sent along with every FrameMetrics. Additionally,
a flag is added to FrameMetrics, mIsRelative, indicating whether the
scroll offset can be combined with a potential APZ scroll. When this
flag is set, AsyncPanZoomController will apply the delta between the sent
base scroll offset, and sent new scroll offset.

This flag is controlled by the last scroll origin on nsGfxScrollFrame. The
new origin, `relative`, is marked as being able to clobber APZ updates,
but can only be set if all scrolls since the last repaint request or
layers transaction have been relative.

Differential Revision: https://phabricator.services.mozilla.com/D8234

--HG--
extra : rebase_source : 51351a84c9cda228a0975e22eda3fd3bd8d261c4
extra : histedit_source : 4b564c19b16fe2bd26adc671b62b7cb6106e8163
2018-10-09 23:24:28 -05:00
..
2d Bug 1500709 - fix big-endian RGBBitShift in Swizzle. r=me 2018-10-22 14:49:08 -04:00
angle Bug 1497439 - Revendor ANGLE with cherry-pick for large vert attrib divisors. 2018-10-09 18:27:09 -07:00
cairo Bug 1478084 - make cairo_font_face_set_user_data thread-safe. r=jrmuizel 2018-07-26 15:23:25 -04:00
config Bug 1497294 - P8. Disable P010 surface type with nvidia adapters. r=mattwoodrow 2018-10-11 07:32:35 +00:00
docs Bug 1496026 - Fix some trivial typos r=ahal 2018-10-03 13:39:07 +00:00
gl Bug 1399501 - Make DestroySurface ignore null input. r=kvark 2018-10-24 11:36:04 -07:00
graphite2 Bug 1498072 - Prevent inlining of the direct_run function. r=jfkthame 2018-10-25 07:38:22 +09:00
harfbuzz Bug 1490062 - Update HarfBuzz to version 1.9.0. r=jfkthame 2018-09-13 20:22:57 -04:00
ipc Bug 1453425 - Add relative scroll offset updates using nsGkAtoms::relative. r=botond 2018-10-09 23:24:28 -05:00
layers Bug 1453425 - Add relative scroll offset updates using nsGkAtoms::relative. r=botond 2018-10-09 23:24:28 -05:00
ots Bug 1478153 - Update OTS to version 7.1.7. r=jfkthame 2018-07-24 16:09:00 -04:00
qcms Bug 1494222: Add source bytes to fix qcms_fuzzer coverage. r=agaynor 2018-10-07 21:21:34 +00:00
sfntly
skia Bug 1498482 - Backport some upstream Skia patches. r=lsalzman 2018-10-15 14:12:01 -04:00
src Bug 1501418 - Have scrollbar-color: auto resolved to auto rather than two colors. r=emilio 2018-10-24 11:52:46 +00:00
tests Bug 1501518 - Crashtest. r=kvark 2018-10-24 11:09:02 -07:00
thebes Bug 1453425 - Add relative scroll offset updates using nsGkAtoms::relative. r=botond 2018-10-09 23:24:28 -05:00
vr Bug 1497787 - MacIOSurface should only be access at VRSession thread. r=kip 2018-10-12 21:54:09 +00:00
webrender Bug 1501615 - Update webrender to commit 70fd6273c3bc8ed0209e195d869fa3251e1184c7. r=kats 2018-10-24 14:19:09 +00:00
webrender_api Bug 1500711 - Update webrender to commit 9464adaf2634f8d11408b915323d8006474f02e2. r=kats 2018-10-22 17:13:50 +00:00
webrender_bindings Bug 1501615 - Update webrender to commit 70fd6273c3bc8ed0209e195d869fa3251e1184c7. r=kats 2018-10-24 14:19:09 +00:00
wrench Bug 1501322 - Update webrender to 9b1a2f7e46cfb3496d43421b828543b08bb45810. r=kats 2018-10-23 15:13:53 +00:00
ycbcr Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
moz.build