mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
35886dcefd
Previously after RecvResumeAndResize() we would set a flag on the root WebRenderBridgeParent, which in turn sets a flag on the next display list it receives that it should be treated as a first paint. Then when that display list is finally composited, we call UiCompositorControllerParent::NotifyFirstPaint(), which in turn tells GeckoView to uncover the widget. After switching tabs in GeckoView browsers, however, the root WebRenderBridgeParent does not always receive a new display list, so the widget would not be uncovered. Instead of waiting for the next received display list to be composited, we simply want to uncover the widget on the next composite. To achieve this we instead set the forced-first-paint flag on the root CompositorBridgeParent then we call NotifyFirstPaint() during CompositorBridgeParent::NotifyPipelineRendered(). Differential Revision: https://phabricator.services.mozilla.com/D46157 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
2d | ||
angle | ||
cairo | ||
config | ||
docs | ||
gl | ||
graphite2 | ||
harfbuzz | ||
ipc | ||
layers | ||
ots | ||
qcms | ||
sfntly | ||
skia | ||
src | ||
tests | ||
thebes | ||
vr | ||
webrender_bindings | ||
wr | ||
ycbcr | ||
moz.build |