gecko-dev/gfx
Jan Henning 6011bbb22c Bug 1478776 - Part 6: Initial Visual Viewport event implementation. r=botond
The event rate throttling mechanism is modelled on the logic for "scroll" events
in nsGfxScrollFrame.cpp.

That is
1. When a request to fire an event is posted to the VisualViewport, we create a
   new runnable for this and register it with the RefreshDriver. If we already
   have a pending runnable, calling VisualViewport->Post...Event() becomes a
   no-op.
2. When the RefreshDriver is ready, it executes the runnable, which in turn
   fires the actual event and then cleans itself up.

To keep this patch manageable, we simply fire a scroll event every time the
stored visual viewport offset is changed. Because we are storing the absolute
offset of the viewport relative to the page, this behaviour doesn't match the
spec, which demands that scroll events are fired only when the relative offset
between visual and layout viewport changes. We'll fix this up in the next patch.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 21:35:26 +00:00
..
2d Bug 1455848 - let UnscaledFontDWrite::GetWRFontDescriptor continue even if retrieving file names fails. r=jrmuizel 2018-12-18 11:19:26 -05:00
angle Bug 1497439 - Revendor ANGLE with cherry-pick for large vert attrib divisors. 2018-10-09 18:27:09 -07:00
cairo Bug 1511383: Update vim modelines after clang-format; r=sylvestre 2018-11-30 16:39:55 +01:00
config Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
docs Bug 1503339 - update frame rate at runtime, r=kats 2018-12-14 20:16:23 +00:00
gl Bug 1513308 - Lazily initialize DirectX devices for WebRender r=mattwoodrow 2018-12-18 14:54:28 +09:00
graphite2 Bug 1497741 - Remove source exception in gfx/graphite2/src/moz.build r=froydnj 2018-10-10 14:57:13 +00:00
harfbuzz Bug 1490062 - Update HarfBuzz to version 1.9.0. r=jfkthame 2018-09-13 20:22:57 -04:00
ipc Bug 1510853 - Introduce VsyncId and VsyncEvent for identifying vsyncs without timestamp comparisons. r=jrmuizel 2018-12-07 23:27:28 +00:00
layers Bug 1478776 - Part 6: Initial Visual Viewport event implementation. r=botond 2018-12-20 21:35:26 +00: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 1505426 - initialize SkMaskFilter flattenables. r=rhunt 2018-11-20 15:19:33 -05:00
src Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
tests Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio 2018-12-18 18:47:37 +00:00
thebes Bug 1514640 - Allow slow scene building to start a composite a bit late. r=jrmuizel 2018-12-20 22:43:01 +00:00
vr Bug 1515002 - Avoid OpenVR controllerInfo and manifest files be instanced in global to make a lot of static constructors. r=kip 2018-12-21 00:52:24 +00:00
webrender_bindings Bug 1514640 - Only allow late compositing if the content phase didn't happen in the same vsync. r=jrmuizel 2018-12-20 22:52:07 +00:00
wr Bug 1515408 - Update webrender to commit 57379d1fec269ea70cbab28d4353614fd9c58122 (WR PR #3439). r=kats 2018-12-20 15:16:38 +00:00
ycbcr Bug 1505819: Don't use yuv_row_win64.cpp on aarch64 clang-cl builds. r=jrmuizel 2018-11-08 14:04:11 -05:00
moz.build