Граф коммитов

14493 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert 2ac2690670 Bug 1632249 - NON_PREMULT TextureClient iff NON_PREMULT CanvasClient. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D78800
2020-06-11 06:37:40 +00:00
Jeff Gilbert 06fa957778 Bug 1632249 - WebXR compositing fixes. r=imanol
Differential Revision: https://phabricator.services.mozilla.com/D78117
2020-06-11 06:37:36 +00:00
Jeff Gilbert cf3c8fedea Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol
* Majorly simplity CanvasRenderer
* Replace GLScreenBuffer with trivial GLSwapChain
* Use descriptor structs so that future SharedSurface changes aren't so painful
  to propagate
* Mortgage/strip out more OffscreenCanvas code for now

Differential Revision: https://phabricator.services.mozilla.com/D75055
2020-06-11 06:37:35 +00:00
Mihai Alexandru Michis 59ad7ed333 Backed out 6 changesets (bug 1632249) for causing bustages in CanvasRenderingContext2D.cpp
CLOSED TREE

Backed out changeset c93972b05d4f (bug 1632249)
Backed out changeset 04f5127c85d5 (bug 1632249)
Backed out changeset b15d91e64a25 (bug 1632249)
Backed out changeset 71ad2ed8e9ba (bug 1632249)
Backed out changeset 6e9a89ead3a5 (bug 1632249)
Backed out changeset dd00e2da3a0f (bug 1632249)
2020-06-11 02:43:35 +03:00
Jeff Gilbert d415e13cc1 Bug 1632249 - NON_PREMULT TextureClient iff NON_PREMULT CanvasClient. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D78800
2020-06-10 22:21:09 +00:00
Jeff Gilbert 28d2828abe Bug 1632249 - WebXR compositing fixes. r=imanol
Differential Revision: https://phabricator.services.mozilla.com/D78117
2020-06-10 22:21:04 +00:00
Jeff Gilbert 9b09e54345 Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol
* Majorly simplity CanvasRenderer
* Replace GLScreenBuffer with trivial GLSwapChain
* Use descriptor structs so that future SharedSurface changes aren't so painful
  to propagate
* Mortgage/strip out more OffscreenCanvas code for now

Differential Revision: https://phabricator.services.mozilla.com/D75055
2020-06-10 22:21:02 +00:00
Kartikaya Gupta 6e27d8c5cc Bug 1644829 - Avoid using SimpleTest.is etc. in helper subtests run by runSubtestsSeriallyInFreshWindows. r=botond
Using `SimpleTest.is` directly instead of the "global" `is` installed by
runSubtestsSeriallyInFreshWindows means that the helper test filename doesn't
get emitted in the assertions, which is a nice thing to have. (Ditto for `ok`
and friends).

Problematic tests identified using:
for helper in helper_*.html; do
    if [[ $(grep "$helper" test_group*) ]]; then
        echo $helper;
        grep -e 'SimpleTest.\(is\|ok\)' "$helper";
    fi;
done

While it would be nice to catch this sort of thing directly in the code, it's
a bit tricky to do because SimpleTest.(ok|is) do get used legitimately by helper
methods that are used by group subtests and top-level tests.

Depends on D79171

Differential Revision: https://phabricator.services.mozilla.com/D79172
2020-06-10 19:35:48 +00:00
Kartikaya Gupta ff2651cdc1 Bug 1644829 - Add an `isnot` reflection to the subtest window as well. r=botond
Depends on D79170

Differential Revision: https://phabricator.services.mozilla.com/D79171
2020-06-10 19:35:45 +00:00
Kartikaya Gupta 2aba4a7dc4 Bug 1644829 - For consistency ensure all tests that use runSubtestsSeriallyInFreshWindows have a _group in the name. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D79170
2020-06-10 19:34:47 +00:00
Kartikaya Gupta 5e5dea416b Bug 1643459 - Remove APZ:TransformEnd observer after subtest is done. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D79173
2020-06-10 19:27:51 +00:00
Daosheng Mu d9e2924e6f Bug 1643514 - Clean up VRManager usage. r=kip,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D78436
2020-06-10 01:26:52 +00:00
Simon Giesecke 82dc9b2271 Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D78027
2020-06-10 10:46:14 +00:00
Butkovits Atila e3dce68834 Backed out 3 changesets (bug 1643289, bug 1642949) for causing failure at test_headless_screenshot.html. CLOSED TREE
Backed out changeset 98c420f73380 (bug 1643289)
Backed out changeset 9447ea8910aa (bug 1643289)
Backed out changeset 0c827da9d847 (bug 1642949)
2020-06-10 10:07:23 +03:00
Simon Giesecke d419f0ff08 Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D78027
2020-06-10 05:49:28 +00:00
Hiroyuki Ikezoe d7e086f85f Bug 1644591 - Store AnimationStorageData as std::unique_ptr in std::unordered_map. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D79000
2020-06-09 23:37:01 +00:00
sotaro dfcc816bd3 Bug 1644115 - Remove unused WebRenderTextureHost::mExternalImageId r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D78666
2020-06-09 16:16:26 +00:00
Bob Owen 75f69ba6de Bug 1644208: Change RecordSourceSurfaceDestruction to take a void* not SourceSurface* to avoid AddRef during destructor. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D78770
2020-06-09 14:21:31 +00:00
Dorel Luca 7289b66d6f Backed out 4 changesets (bug 1632249) for Build bustages and mda failures. CLOSED TREE
Backed out changeset cdaa8a4e9e36 (bug 1632249)
Backed out changeset 9ff26bcc580c (bug 1632249)
Backed out changeset 16d84439756f (bug 1632249)
Backed out changeset bbfe23c61add (bug 1632249)
2020-06-09 03:19:48 +03:00
Jeff Gilbert e29ee2bc92 Bug 1632249 - NON_PREMULT TextureClient iff NON_PREMULT CanvasClient. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D78800
2020-06-08 20:58:03 +00:00
Jeff Gilbert 8d174dfafc Bug 1632249 - WebXR compositing fixes. r=imanol
Differential Revision: https://phabricator.services.mozilla.com/D78117
2020-06-08 20:36:14 +00:00
Jeff Gilbert de6377896c Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol
* Majorly simplity CanvasRenderer
* Replace GLScreenBuffer with trivial GLSwapChain
* Use descriptor structs so that future SharedSurface changes aren't so painful
  to propagate
* Mortgage/strip out more OffscreenCanvas code for now

Differential Revision: https://phabricator.services.mozilla.com/D75055
2020-06-08 20:34:15 +00:00
James Willcox feb9d115fd Bug 1536833 - Fix overscroll effect on Android r=botond,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D78130
2020-06-08 17:13:28 +00:00
Botond Ballo e49f09d719 Bug 1642884 - Protect all access to Axis::mVelocity with a mutex. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D78556
2020-06-08 16:14:29 +00:00
Simon Giesecke 13502cf27c Bug 1642991 - Use RemoveElementsBy where easily possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D78055
2020-06-08 09:01:48 +00:00
Timothy Nikkel 779fc72cff Bug 1632268. Add browser chrome test for select dropdown position with pinch (apz) zooming. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D78025
2020-06-08 05:45:34 +00:00
Kartikaya Gupta 99e81069c0 Bug 1627708 - Record pinch source in a telemetry histogram. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D77829
2020-06-06 00:32:26 +00:00
Kartikaya Gupta 67a28c6551 Bug 1627708 - Add a PinchGestureSource enum that indicates the source of a PinchGestureInput event. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D77828
2020-06-06 00:32:19 +00:00
Kenny Levinsen 979767c4db Bug 1641033 - Fire vsync observers directly from Wayland frame callback. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D77047
2020-06-05 18:35:22 +00:00
Kartikaya Gupta c06eb6ae82 Bug 1643042 - Switch mLastSmoothScrollOrigin to using None as well. r=tnikkel
This uses "None" instead of "NotSpecified" as the value for
mLastSmoothScrollOrigin when there is no smooth scroll in progress.

Depends on D78439

Differential Revision: https://phabricator.services.mozilla.com/D78469
2020-06-05 09:41:07 +00:00
Kartikaya Gupta 7ac36807b1 Bug 1643042 - Turn the scroll origin parameter into a strongly-typed enum. r=tnikkel
This patch is a fairly mechanical conversion. The old `nullptr` gets converted
to ScrollOrigin::NotSpecified, and all the other possible values get corresponding
values in the new ScrollOrigin enum. A few switch statements are introduced to
clean up big if statements, but other than that, additional cleanups will happen
in later patches.

Differential Revision: https://phabricator.services.mozilla.com/D78438
2020-06-05 09:37:51 +00:00
sotaro 650f64603f Bug 1642839 - Implement WebRenderLayerManager::SendInvalidRegion() r=jrmuizel
When DWM is disabled, each window does not have own back buffer. They would paint directly to a buffer that was to be displayed by the video card. WM_PAINT via SendInvalidRegion() requests necessary re-paint. With it, RenderCompositorANGLE does not need to disable partial present.

Differential Revision: https://phabricator.services.mozilla.com/D77989
2020-06-05 05:03:40 +00:00
Noemi Erli 184f382e28 Backed out changeset 6b49139f2b9d (bug 1641033) for causing assertions in gfxPlatform.cpp CLOSED TREE 2020-06-05 04:31:45 +03:00
Kenny Levinsen 3950a7a3bf Bug 1641033 - Fire vsync observers directly from Wayland frame callback. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D77047
2020-06-04 23:39:30 +00:00
Bryce Seager van Dyk f7ea6aff05 Bug 1643143 - Touch up doc comment and diagram for PlanarYCbCrImage. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D78144
2020-06-03 21:43:25 +00:00
Lee Salzman 45e9e4cbbf Bug 1641951 - let WR font sanitization ride the trains. r=jrmuizel
WR font sanitization appears relatively stable now, and we passed the 79
cutoff, so let WR font sanitization ride the trains.

Differential Revision: https://phabricator.services.mozilla.com/D78147
2020-06-03 22:37:58 +00:00
Dorel Luca 9377b3e955 Backed out changeset 02f8daecd98e (bug 1642884) for Mochitest failures in builds/worker/checkouts/gecko/gfx/layers/apz/src/Axis.cpp. CLOSED TREE 2020-06-03 23:11:28 +03:00
Botond Ballo 5eb0a67a4d Bug 1611660 - Accept layout viewport updates from the main thread right away. r=tnikkel
Previously, we would wait until the following frame (for uncertain reasons
that date back to B2G), but this meant the layout and visual viewports would
be out of sync for a frame, causing APZ to misbehave.

Differential Revision: https://phabricator.services.mozilla.com/D61286
2020-06-03 19:03:17 +00:00
Botond Ballo 4a07cb3fec Bug 1642884 - Ensure calls to Axis::CancelGesture() are protected by the APZC lock. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D78086
2020-06-03 16:56:45 +00:00
Botond Ballo 58f4d468c7 Bug 1642788 - Ensure APZ gtests set mTimeStamp correctly on events where needed. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D77981
2020-06-03 16:39:01 +00:00
Botond Ballo 1d59a8121e Bug 1642788 - Call StartTouch() when pinch locking is activated. r=kats
Activating pinch locking means we are locked into a two-finger pan
(no scaling), which can trigger a fling animation at the end. We
track velocity via UpdateWithTouchAtDevicePoint() while pinch locked.
We need to call StartTouch() when we start tracking velocity.

Differential Revision: https://phabricator.services.mozilla.com/D77980
2020-06-03 16:38:53 +00:00
Botond Ballo a864440a96 Bug 1642788 - Use mTimeStamp rather than mTime for APZ velocity computations. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D77979
2020-06-03 16:38:38 +00:00
Botond Ballo 1d58b2d108 Bug 1642817 - Avoid accessing sIndirectLayerTreesLock during shutdown. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D77957
2020-06-03 13:25:41 +00:00
Kashav Madan 2b8ca16f35 Bug 1557407 - Replace DispatchTrustedEvent with DispatchEventOnlyToChrome for various chrome-only events, r=smaug
Adds an |aChromeOnlyDispatch| flag to DispatchCustomEvent to decide whether
to call DispatchTrustEvent or DispatchEventOnlyToChrome.

The following chrome-only events are dispatched with DispatchCustomEvent and now
make use of the flag:

- DOMWindowClose
- fullscreen / willenterfullscreen / willexitfullscreen
- occlusionstatechange
- resolutionchange
- XULAlertClose

and the following were previously dispatched with DispatchTrustedEvent and now
use DispatchEventOnlyToChrome:

- MozBeforeInitialXULLayout
- MozMouseScrollFailed / MozMouseScrollTransactionTimeout
- MozPaintWait / MozPaintWaitFinished
- MozPerformDelayedBlur
- all events fired by APZCCallbackHelper::NotifyMozMouseScrollEvent

Differential Revision: https://phabricator.services.mozilla.com/D76723
2020-06-01 17:11:48 +00:00
Jamie Nicol 57d87985be Bug 1642079 - Only snap animated transforms for zoom reference frames? r=aosmond
Bug 1635406 made it so that webrender snaps the offsets of animated
transforms before accumulating them in to the reference frame
transform. Unfortunately, however, this causes jittery animations. The
original intention was just to snap the visual viewport offset when
scrolling, to avoid excessive picture cache invalidation.

To avoid this, make it so that we only snap for reference frames of
kind ReferenceFrameKind::Zoom. This will mean that most animations are
unaffected. There may however still be some jitter when zooming, but
this is outweighed by the benefit of not invalidating picture cache
tiles every frame when scrolling.

Differential Revision: https://phabricator.services.mozilla.com/D77679
2020-06-01 16:49:10 +00:00
Micah Tigley 2dd990d320 Bug 1621781 - Have APZ ignore mouse events when RDM is active. r=botond
Depends on D77395

Differential Revision: https://phabricator.services.mozilla.com/D77396
2020-06-01 16:10:08 +00:00
Micah Tigley 81f5f0e8d0 Bug 1621781 - Add an "IsRDMTouchSimulationActive" field to ScrollMetadata. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D77395
2020-05-30 03:15:22 +00:00
Dorel Luca 0c8ff16ba2 Backed out 2 changesets (bug 1621781) for Mochitest failures in gfx/layers/apz/test/mochitest/test_group_mouseevents.html
Backed out changeset a5fe71693070 (bug 1621781)
Backed out changeset 58a9b7f50a4b (bug 1621781)
2020-05-30 06:12:01 +03:00
Micah Tigley abfa14b698 Bug 1621781 - Have APZ ignore mouse events when RDM is active. r=botond
Depends on D77395

Differential Revision: https://phabricator.services.mozilla.com/D77396
2020-05-29 21:38:07 +00:00
Micah Tigley 62367a9af9 Bug 1621781 - Add an "IsRDMTouchSimulationActive" field to ScrollMetadata. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D77395
2020-05-29 21:03:06 +00:00
Martin Stransky 30ea024440 Bug 1619882 [Wayland] Use WaylandDMABufSurface global lock instead of VAAPIFrameHolder at WaylandDMABUFSurfaceImage, r=sotaro
VAAPIFrameHolder was moved to FFmpegVideoDecoder class and we use WaylandDMABufSurface global lock to keep
surface reference until it's used.

Differential Revision: https://phabricator.services.mozilla.com/D76691
2020-05-29 15:22:07 +00:00
Martin Stransky ec6a3bec56 Bug 1619882 [Wayland] Implement dmabuf global ref count, r=jhorak
This patch implements:

- Global surface UID for better tracking/debugging. The UID is passes acros all processes so we can track
  surface usage.
- WaylandAllocateShmMemory() function which uses shm_open() instead of files at tmp for Shm memory creation.
- DMABufRefcount() class based on eventfd() which is used as a global surface reference count.

Differential Revision: https://phabricator.services.mozilla.com/D76689
2020-05-29 15:21:50 +00:00
Kartikaya Gupta 7aa4fa01c1 Bug 1627012 - Add a mochitest. r=botond
Depends on D76815

Differential Revision: https://phabricator.services.mozilla.com/D76816
2020-05-27 22:11:20 +00:00
Kartikaya Gupta e6e5e3357e Bug 1627012 - Move promiseOneEvent to apz_test_utils.js and generalize it slightly. r=botond
This is a useful function for non-fission tests too.

Depends on D76814

Differential Revision: https://phabricator.services.mozilla.com/D76815
2020-05-28 01:55:48 +00:00
Kartikaya Gupta 1a1d27995a Bug 1627012 - Make pinchZoomInWithTouch an async function. r=botond
This is specifically needed because the new test I'm adding uses both
pinchZoomInWithTouch and forceLayerTreeToCompositor, and it seems hard/impossible
to make that work unless both are async functions or both are non-async generator
functions. And in general I think we want to move away from the generator-style
tests and towards async-style tests as they are cleaner and more flexible. So
this migrates helper_basic_zoom along with turning pinchZoomInWithTouch into
an async function.

Depends on D76813

Differential Revision: https://phabricator.services.mozilla.com/D76814
2020-05-27 21:59:59 +00:00
Kartikaya Gupta 5569a955f3 Bug 1627012 - Extract a couple of helper methods to make pinch-zooming easier in tests. r=botond
Depends on D76812

Differential Revision: https://phabricator.services.mozilla.com/D76813
2020-05-28 01:53:21 +00:00
Kartikaya Gupta f6138147f4 Bug 1627012 - Update the APZC scroll offset to the main thread's visual scroll offset for new APZCs. r=botond
This is the main fix for the bug. When APZ is getting metrics from the main
thread "for the first time" it should accept the visual scroll offset in the
main thread metrics. Normally one would expect the isFirstPaint flag to be
set on this call to NotifyLayersUpdated, but that seems to only ever be set
on the very first paint of a presShell. In particular it is not set after a
tabswitch because the brower's async tab switching mechanism means that the
layer tree is already cached in the compositor.

Differential Revision: https://phabricator.services.mozilla.com/D76812
2020-05-28 01:56:43 +00:00
Kartikaya Gupta 8183fac5b1 Bug 1627012 - Ensure NotifyLayersUpdated doesn't get called with bogus scrollable rects. r=botond
SetScrollableFrameMetrics uses a bogus scrollable rect (-1, -1, -1, -1) if none
is provided. With the next patch, we start using this bogus rect for clamping
the scroll offset on some calls to NotifyLayersUpdated, and causes the gtest
to fail. If we provide some sane rect it all works fine.

Depends on D76810

Differential Revision: https://phabricator.services.mozilla.com/D76811
2020-05-27 21:28:17 +00:00
Kartikaya Gupta 1aa4aa53ad Bug 1627012 - Add/improve logging around visual scroll offset. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D76810
2020-05-28 01:55:52 +00:00
Kartikaya Gupta b0ee5dd871 Bug 1641246 - Remove nsDisplayResolution. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D77111
2020-05-27 22:17:09 +00:00
Jamie Nicol 7aabe03a28 Bug 1635406 - Snap reference frame transforms if animated or zooms. r=aosmond
Bug 1620014 attempted to fix an issue where an animated visual
viewport offset (eg due to scrolling while being zoomed in) was
causing the fractional offset of a descendant scroll frame's content
transform to change, causing too much picture cache invalidation.

It did so by snapping the coordinate-system-relative offset when using
it to calculate the content_transform. This value of course includes
the animated visual viewport offset (as the axis-aligned zoom
transform cannot reset the coordinate system). However, it also
includes non-animated offsets, which were now being incorrectly
snapped, causing blurry/clipped text.

This change reverts that original fix. And instead, it snaps the
source_transform of the reference frame itself when it is sampled,
rather than the accumulated coordinate-system-relative scale_offset of
the scroll frame. Additionally, it only snaps the offset if it is an
animation (including zoom), and static offsets are left unsnapped.

Differential Revision: https://phabricator.services.mozilla.com/D76298
2020-05-27 13:45:08 +00:00
Hiroyuki Ikezoe cb41bbc2c4 Bug 1640525 - Avoid looking up AnimatedValue twice. r=boris
We've already tried to looking up the existing AnimatedValue so that when we
want to replace the old one in the hash table we can reuse the existing one.
With this manner, we no longer need to copy TransformData if we don't need to
do.

Differential Revision: https://phabricator.services.mozilla.com/D76633
2020-05-26 21:56:20 +00:00
Hiroyuki Ikezoe 4331b35ab5 Bug 1640524 - Drop a variant of CompositorAnimationStorage::SetAnimatedValue. r=boris
It's not used at all.

Depends on D76631

Differential Revision: https://phabricator.services.mozilla.com/D76632
2020-05-26 21:33:25 +00:00
Hiroyuki Ikezoe 076ee01bcb Bug 1640524 - Move nsTArray for non animating values. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D76631
2020-05-26 19:05:59 +00:00
Kartikaya Gupta 91befca134 Bug 1640387 - Only set HitResult::mTargetIsRoot for confirmed-root targets. r=snorp,botond
Differential Revision: https://phabricator.services.mozilla.com/D76594
2020-05-26 16:30:12 +00:00
Kartikaya Gupta e0ccbf2510 Bug 1640387 - Combine a few loose fields in APZCTreeManager into a HitTestResult. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D76593
2020-05-25 17:22:46 +00:00
sotaro 1e3d052869 Bug 1632357 - Use compositor window only when it is necessary r=nical
With current gecko, there are cases that compositor window is used even when it is not necessary. For example, fallback from DirectComposite with WebRender and fallback from double buffering with Compositor. With some gpu drivers, the fallbacks with compositor window causes rendering problem.

Differential Revision: https://phabricator.services.mozilla.com/D76470
2020-05-25 11:57:05 +00:00
Nicolas Silva bdabdf112f Bug 1635016 - Remove the rest of the SetTransactionLogging glue. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74866
2020-05-18 12:11:33 +00:00
Emilio Cobos Álvarez 89958b377a Bug 1640605 - Remove IsInAnonymousSubtree / IsRootOfAnonymousSubtree. r=edgar
In favor of the NativeAnonymous versions which they forward to.

Done automatically with:

  rg -l 'IsInAnonymousSubtree' | xargs sed -i 's/IsInAnonymousSubtree/IsInNativeAnonymousSubtree/g'

And removing the function definitions afterwards.

Differential Revision: https://phabricator.services.mozilla.com/D76681
2020-05-25 11:43:51 +00:00
Sylvestre Ledru 615c83d723 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D76451
2020-05-25 07:42:38 +00:00
Lee Salzman 7db0844f3b Bug 1640401 - only enable WR font sanitization in nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D76628
2020-05-24 17:10:14 +00:00
Timothy Nikkel cfedff2d38 Bug 1636273. Fix calculation of scroll position in AsyncPanZoomController::HandleDragEvent. r=kats,botond
The scroll position and scrollable rect are inside the zoom boundary so we need to use the composisted size inside the zoom boundary as well.

Differential Revision: https://phabricator.services.mozilla.com/D76089
2020-05-21 02:41:41 +00:00
Lee Salzman 163f753f85 Bug 1640401 - allow unknown font types to sanitize for WR. r=jrmuizel
WR may be sanitizing more fonts than just downloadable webfonts (any for
which we couldn't generate a descriptor), so we need to be more permissive
about what font types we allow that the content process would normally skip.

Differential Revision: https://phabricator.services.mozilla.com/D76608
2020-05-23 23:56:41 +00:00
Lee Salzman b64de7f2d6 Bug 1639563 - add some warnings when fonts fail to sanitize. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D76604
2020-05-23 17:47:32 +00:00
Lee Salzman 9384fc8f0a Bug 1639563 - make WROTSAlloc::Grow check capacity instead of length. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D76582
2020-05-23 17:47:32 +00:00
sotaro 2bb3ca363d Bug 1636868 - Add RenderTextureHostWrapper for GPUVideoTextureHost r=jrmuizel
By using RenderTextureHostWrapper, we could reduce re-creation of RenderDXGITextureHostOGL and RenderDXGIYCbCrTextureHostOGL.

Differential Revision: https://phabricator.services.mozilla.com/D74838
2020-05-22 19:42:38 +00:00
Bob Owen f6fb416c5b Bug 1633791 part 2: Use ExpectingShutdown to prevent ShutDownKill for remote canvas. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75508
2020-05-22 18:22:02 +00:00
Lee Salzman e97b3d4035 Bug 1639563 - sanitize WR fonts. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D76360
2020-05-22 15:48:55 +00:00
Kartikaya Gupta 6d4e5cf7e2 Bug 1639825 - Some minor code reorganization. r=tnikkel
This makes it more obvious that we are using the same scrollDelta for adjusting
the displayport as we are for populating the callback transform. Instead of
computing the same value inside a helper, we just provide the helper with the
already-computed delta that is used for the callback transform too.

Differential Revision: https://phabricator.services.mozilla.com/D76297
2020-05-22 14:37:06 +00:00
Bogdan Tara 107fbafd77 Backed out 2 changesets (bug 1639563) for gfx related bustages CLOSED TREE
DONTBUILD
Backed out changeset b2c8de065886 (bug 1639563)
Backed out changeset 43abf0a9602a (bug 1639563)
2020-05-22 06:55:28 +03:00
Timothy Nikkel 7f4d96d4cd Bug 1637067. Make the StackingContextHelper constructor handle transforms that cannot be drawn 2d the same as ChooseScale. r=jrmuizel
In StackingContextHelper::StackingContextHelper we want to handle the case of "no passed in transform" differently from "passed in transform but it cannot be drawn 2d". This is a little tricky because ChooseScale always has a transform passed in: in the non-wr case it is a scaling matrix by the parent scale. We could call ChooseScale if canDraw2D is false and get the same value for mScale but we also need to keep mInheritedTransform in sync.

This issue arose before: https://bugzilla.mozilla.org/show_bug.cgi?id=1449958#c3

And we want to be careful not to regress that bug, that bug was concerning content without a transform, so we should be good.

The testcase has a parent element with rotateY(-80deg) and a child element with rotateY(80deg), the combined transform is flat with no scaling even though each transform individually would have a very small x scale. There's no way to choose a good scale by looking at each transform individually, and since we only currently store transforms as 2d matrices we can't look at the full combined transform in order to choose a scale. Thus we must use a unit scale, like ChooseScale does.

Differential Revision: https://phabricator.services.mozilla.com/D75289
2020-05-20 08:16:04 +00:00
Timothy Nikkel ad331835d3 Bug 1637067. Use the same kind of preserve3d in the StackingContextHelper constructor as in ChooseScale. r=jrmuizel
transform_style is set to frame->Extend3DContext, but ChooseScale uses frame->Combines3DTransformWithAncestors()

Differential Revision: https://phabricator.services.mozilla.com/D75288
2020-05-20 08:16:03 +00:00
Lee Salzman 91d6189dd9 Bug 1639563 - sanitize WR fonts. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D76360
2020-05-21 23:30:02 +00:00
sotaro 6d4116acb8 Bug 1639874 - Fix YCbCrTextureClientAllocationHelper::IsCompatible() r=jrmuizel
IsCompatible() also needs to check YStride and CbCrStride. They also affect to buffer size.

Differential Revision: https://phabricator.services.mozilla.com/D76323
2020-05-21 18:53:42 +00:00
Kartikaya Gupta 29d27f2775 Bug 1639819 - Prevent a local macOS run of mochitests from hanging due to scrollbar settings. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D76296
2020-05-21 09:44:39 +00:00
Bob Owen ffea5a7eed Bug 1639599: Add null check for mRecorder to CanvasChild::ShouldBeCleanedUp. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D76165
2020-05-21 00:04:59 +00:00
Bob Owen 5a1b15d341 Bug 1639626: Hold BackendType in CanvasTranslator to guard against the reference DrawTarget being null. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D76177
2020-05-21 00:05:27 +00:00
Bob Owen 5ee999bc1e Bug 1639634: Add null check for mTranslationTaskQueue to CanvasTranslator::ActorDestroy. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D76183
2020-05-21 00:05:34 +00:00
Bob Owen e4da4b4f82 Bug 1639675: Check that ScopedMap successfully mapped in RecordedPrepareDataForSurface::PlayCanvasEvent. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D76210
2020-05-21 00:05:47 +00:00
Bob Owen 050da5b521 Bug 1638873: Check buffer is good before reading next event after checkpoint in CanvasEventRingBuffer::ReadNextEvent. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75812
2020-05-20 20:08:20 +00:00
sefeng 8d288408d9 Bug 1634595 - Move the element out of pendingScrollPayload before recording r=botond
The lock we added in `GetPendingScrollPayload` and
`RemovePendingScrollPayload` are released at the end of the function,
not at when we finish using the underlying data, thus we may still
end up recording a payload that has been deleted.

To fix this, we introduce a new method to move the data from the
hashtable into the array argument while the lock is held, then the
caller can iterate over the array safely.

Differential Revision: https://phabricator.services.mozilla.com/D76052
2020-05-20 19:35:30 +00:00
sotaro 0a7f53f77a Bug 1639145 - Add nullptr check to CompositorBridgeParent::NotifyWebRenderContextPurge() r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D76074
2020-05-20 12:37:11 +00:00
Jean-Yves Avenard 4d4f1862d1 Bug 1639388 - Re-instate call to ClearAllCache. r=jrmuizel
The line got mistakenly removed in bug 1634253 due to incorrect rebase with bug 1622360

Differential Revision: https://phabricator.services.mozilla.com/D76064
2020-05-20 00:29:39 +00:00
Gerald Squelart a88e6ae204 Bug 1594268 - profiler_add_marker_for_thread takes payload by const& - r=canaltinova
Instead of accepting a `UniquePtr<ProfilerMarkerPayload>`, `profiler_add_marker_for_thread` now takes it by `const ProfilerMarkerPayload&`.
All callers can now create the payload on the stack, or as a temporary object. This saves a memory alloc+free for each call.

Differential Revision: https://phabricator.services.mozilla.com/D75912
2020-05-19 23:07:54 +00:00
Hiroyuki Ikezoe 13f8bcf3c5 Bug 1639076 - Drop PostTranslate call for transform animations on WebRender. r=kats
On WebRender |transformData.origin()| value is always zero, we don't need to
explicitly call it at all.

[1] https://searchfox.org/mozilla-central/rev/9193635dca8cfdcb68f114306194ffc860456044/gfx/layers/AnimationInfo.cpp#678-680

Differential Revision: https://phabricator.services.mozilla.com/D75883
2020-05-19 21:06:30 +00:00
Nika Layzell 258e226abf Bug 1638124 - Part 3: Cleanup NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D75609
2020-05-19 18:30:57 +00:00
sotaro f8ddec1645 Bug 1637873 - Destroy RenderTextureHost in TextureHost::Finalize() r=nical
RenderTextureHost is destroyed in WebRenderTextureHost::~WebRenderTextureHost() on current gecko. But It is better to destroy it by TextureHost that created the RenderTextureHost. GPUVideoTextureHost is an exception for now.

Differential Revision: https://phabricator.services.mozilla.com/D75255
2020-05-19 02:05:20 +00:00
Timothy Nikkel c3fc615ca6 Bug 1636911. Add mochitest. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D75665
2020-05-18 10:26:28 +00:00
Csoregi Natalia 2cafee9690 Backed out changeset 5358bc2ae595 (bug 1637873) for assertion failures on RenderThread.cpp. CLOSED TREE 2020-05-18 13:57:55 +03:00
sotaro 43b78a9781 Bug 1637873 - Destroy RenderTextureHost in TextureHost::Finalize() r=nical
RenderTextureHost is destroyed in WebRenderTextureHost::~WebRenderTextureHost() on current gecko. But It is better to destroy it by TextureHost that created the RenderTextureHost. GPUVideoTextureHost is an exception for now.

And it is a preparation for Bug 1636868.

Differential Revision: https://phabricator.services.mozilla.com/D75255
2020-05-18 08:25:36 +00:00
Noemi Erli 5e76ba7334 Backed out 2 changesets (bug 1636911) for mochitest failures in test_group_checkerboarding.html CLOSED TREE
Backed out changeset 37e68bff6c62 (bug 1636911)
Backed out changeset 74a83c249231 (bug 1636911)
2020-05-18 11:03:18 +03:00
Timothy Nikkel be0074a4d3 Bug 1636911. Add mochitest. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D75665
2020-05-18 06:32:34 +00:00
Botond Ballo 9193635dca Bug 1638458 - Do not use ignoreRootScrollFrame when dispatching a contextmenu event in APZEventState. r=tnikkel
The patch also removes the ignoreRootScrollFrame option from
APZCCallbackHelper::DispatchMouseEvent() altogether as it is
no longer used.

Depends on D75735

Differential Revision: https://phabricator.services.mozilla.com/D75736
2020-05-18 03:07:12 +00:00
Botond Ballo 906c16b536 Bug 1638458 - Use layout coordinates when dispatching contextmenu event. r=tnikkel
The patch also documents APZCCallbackHelper::DispatchMouseEvent()
as expecting layout coordinates.

Differential Revision: https://phabricator.services.mozilla.com/D75734
2020-05-18 03:04:58 +00:00
Tilden Windsor d1ba5bd026 Bug 1629423 - Removed redundant return statement in function with void return type. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D75718
2020-05-17 22:31:44 +00:00
Timothy Nikkel e818c52e6b Bug 1638535. APZCTreeManager::SetTargetAPZC needs to make sure it uses a zoomable apzc if it's processing pinch gesture input. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D75670
2020-05-17 11:36:12 +00:00
Hiroyuki Ikezoe 4c6046552f Bug 1561225 - Revert the WebRender part for bug 1636119. r=longsonr
And check `ShouldSnapToGrid` when we create a stacking context for the
transform display item.

I was totally missing a comment [1] in CreateAimationData.

[1] https://searchfox.org/mozilla-central/rev/3ce874dc2703831af3e5ef3a1d216ffd08057fa5/gfx/layers/AnimationInfo.cpp#683-685

Differential Revision: https://phabricator.services.mozilla.com/D75668
2020-05-16 20:41:49 +00:00
alwu 4562999fec Bug 1612557 - part3 : add Graphic label in `ImageContainer::SetCurrentImages()`. r=mattwoodrow
This patch will do :
- add a graphic label in `ImageContainer::SetCurrentImages()`

The advantage of doing so :
- to mark following profiling frames as graphic, so we can know the time of spending on graphic and media respectively

Differential Revision: https://phabricator.services.mozilla.com/D74173
2020-05-08 01:19:14 +00:00
Bob Owen 086b4052df Bug 1635015: Add mDevice null check to CanvasTranslator::Flush. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D75068
2020-05-16 08:11:26 +00:00
sotaro 2a3581f2ce Bug 1620458 - Revert part of Bug 1594303 fix r=nical
When android SurfaceTexture is rendered to WebGL, the SurfaceTexture should not be attached to GL context of WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D66367
2020-05-16 00:46:28 +00:00
Glenn Watson de2845e48f Bug 1635610 - Enable per scroll root picture cache slices by default. r=jrmuizel,aosmond
Part 1 of this patch enables subpixel AA in more cases when there
are multiple picture cache slices. Because of this, we can enable
extra picture cache slices by default, as a performance win for
the general case.

Users who want to force subpixel AA in more cases, at the cost of
performance can manually set the about:config value called
gfx.webrender.quality.force-subpixel-aa-where-possible.

Differential Revision: https://phabricator.services.mozilla.com/D75465
2020-05-16 03:09:57 +00:00
Jeff Gilbert 13e67cc06b Bug 1638163 - Reduce unnecessary GeckoContentController.h includes. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D75433
2020-05-15 21:20:48 +00:00
Hiroyuki Ikezoe 499724a33f Bug 1638201 - Reuse AnimationStorageData in AnimationInfo. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D75453
2020-05-15 21:30:25 +00:00
Csoregi Natalia 29948708ee Backed out changeset cec3221b9268 (bug 1638163) for causing bustages on APZCTreeManagerChild.cpp. CLOSED TREE 2020-05-15 23:28:13 +03:00
Jeff Gilbert 617cc85ba0 Bug 1638163 - Reduce unnecessary GeckoContentController.h includes. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D75433
2020-05-15 19:25:44 +00:00
Bert Peers 2546aafcc2 Bug 1555356 - Make images inside of SVGs active. r=aosmond
(rebased Alexis' patch)

Differential Revision: https://phabricator.services.mozilla.com/D59925
2020-05-15 18:49:52 +00:00
Aaron Klotz 51e92c23de Bug 1637452: Part 14 - Fix JNI includes in gfx; r=gfx-reviewers,jrmuizel
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.

Differential Revision: https://phabricator.services.mozilla.com/D75377
2020-05-15 17:05:59 +00:00
Jamie Nicol b10845210b Bug 1633432 - Don't detach SurfaceTextures from GL context on Pause(). r=sotaro,geckoview-reviewers,snorp,imanol
In bug 1470348 we started to detach all SurfaceTextures from the
current GL context in CompositorOGL::Pause(). This was required for
VR, so that when the VR presentation was entered the SurfaceTextures
could be attached to the VR context instead.

When RenderCompositorEGL was implemented for webrender, we copied the
call to detach from CompositorOGL. However, due to extra complexity in
webrender's threading model, this is causing assertion failures.

VR no longer relies upon the SurfaceTextures being detached when the
compositor is paused, as it now uses its own SurfaceTexture
set. Therefore we can remove the detach call from both
CompositorOGL::Pause and RenderCompositorEGL::Pause.

Differential Revision: https://phabricator.services.mozilla.com/D74832
2020-05-15 12:05:15 +00:00
Kartikaya Gupta f0902cd3df Bug 1622360 - Singularize the TransactionData across IPC. r=jrmuizel
Depends on D75386

Differential Revision: https://phabricator.services.mozilla.com/D75387
2020-05-15 00:10:36 +00:00
Kartikaya Gupta a8a5c7ea5b Bug 1622360 - Singularize the DisplayListData across IPC. r=jrmuizel
Depends on D75384

Differential Revision: https://phabricator.services.mozilla.com/D75386
2020-05-15 00:08:52 +00:00
Kartikaya Gupta 9aecce17bb Bug 1622360 - Rename RenderRootUpdates. r=jrmuizel
Depends on D75383

Differential Revision: https://phabricator.services.mozilla.com/D75384
2020-05-15 00:08:03 +00:00
Kartikaya Gupta c9a8fb7425 Bug 1622360 - Rename RenderRootDisplayListData. r=jrmuizel
Depends on D75125

Differential Revision: https://phabricator.services.mozilla.com/D75383
2020-05-15 00:07:34 +00:00
Martin Stransky 9a89dccd2a Bug 1638010 [Wayland] Make WaylandDMABUFTextureData::BorrowDrawTarget() fail when underlying dmabuf surface is not locked, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D75329
2020-05-15 07:52:39 +00:00
Kartikaya Gupta e07109f0ec Bug 1622360 - Remove the RenderRoot enum entirely, along with the feature docs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75125
2020-05-15 00:07:01 +00:00
Kartikaya Gupta 35c5ae59ad Bug 1622360 - Remove the mRenderRoot fields from the DL and Update structures. r=jrmuizel
Depends on D75123

Differential Revision: https://phabricator.services.mozilla.com/D75124
2020-05-15 00:06:28 +00:00
Kartikaya Gupta 03d0b6bcda Bug 1622360 - Drop all the unneeded deferred pipeline stuff. r=jrmuizel
This was added to handle the case where a content process sent its display
list to the compositor before the parent knew which render root that content
belonged to (because the corresponding parent process display list hadn't
arrived yet). Now that we no longer have multiple render roots, all this
is unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D75123
2020-05-15 00:06:10 +00:00
Kartikaya Gupta e49c0459ab Bug 1622360 - Remove mRenderRoot from WRBP. r=jrmuizel
Depends on D74951

Differential Revision: https://phabricator.services.mozilla.com/D75122
2020-05-15 00:05:18 +00:00
Kartikaya Gupta ac4a7f1b4d Bug 1622360 - Remove remaining uses of DisplayListBuilder::GetRenderRoot. r=jrmuizel
Depends on D74949

Differential Revision: https://phabricator.services.mozilla.com/D74950
2020-05-15 00:04:32 +00:00
Kartikaya Gupta 2b2b6e0def Bug 1622360 - Remove render root parameter to CreateOrRecycleWebRenderUserData. r=jrmuizel
Depends on D74948

Differential Revision: https://phabricator.services.mozilla.com/D74949
2020-05-15 00:04:08 +00:00
Kartikaya Gupta bc2d080f61 Bug 1622360 - Drop some other render root parameters in WebRenderBridgeParent. r=jrmuizel
Depends on D74947

Differential Revision: https://phabricator.services.mozilla.com/D74948
2020-05-15 00:04:06 +00:00
Kartikaya Gupta 19ea62d2a1 Bug 1622360 - Remove render root propagation in NotifyDidSceneBuild codepath. r=jrmuizel
Depends on D74946

Differential Revision: https://phabricator.services.mozilla.com/D74947
2020-05-14 23:59:11 +00:00
Kartikaya Gupta c0918f48ca Bug 1622360 - Remove some WRBP code that's pointless with just one renderroot value. r=jrmuizel
Depends on D74945

Differential Revision: https://phabricator.services.mozilla.com/D74946
2020-05-14 23:57:46 +00:00
Kartikaya Gupta 014ca3e8b1 Bug 1622360 - Drop RenderRootStateManager::mRenderRoot. r=jrmuizel
Depends on D74944

Differential Revision: https://phabricator.services.mozilla.com/D74945
2020-05-14 23:56:11 +00:00
Kartikaya Gupta 1d1b3575f2 Bug 1622360 - Drop render root arguments from ImageClient interface. r=jrmuizel
Depends on D74943

Differential Revision: https://phabricator.services.mozilla.com/D74944
2020-05-14 23:55:53 +00:00
Kartikaya Gupta 801a830426 Bug 1622360 - Drop render root arguments from CanvasClient interface. r=jrmuizel
Depends on D74942

Differential Revision: https://phabricator.services.mozilla.com/D74943
2020-05-14 23:54:34 +00:00
Kartikaya Gupta d555a9c0a9 Bug 1622360 - Stop passing around the render root on the UpdateResources codepath. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74942
2020-05-14 23:54:05 +00:00
Hiroyuki Ikezoe 72a269999d Bug 1637808 - Make SampleAnimations a member function of AsyncCompositionManager. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D75225
2020-05-14 19:01:01 +00:00
longsonr f4a8cb9749 Bug 1636119 - Don't snap SVG content during animation r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D74505
2020-05-14 10:43:11 +00:00
sotaro 937a5592c7 Bug 1637831 - Remove redundant nullptr check from WebRenderTextureHost r=nical
In the past, there was a case that WebRenderTextureHost::mWrappedTextureHost was nullptr. But it does not happen with current gecko. WebRenderTextureHost is created only when wrapped TextureHost exist.

Differential Revision: https://phabricator.services.mozilla.com/D75237
2020-05-14 09:42:35 +00:00
Hiroyuki Ikezoe f775aab35e Bug 1637806 - Skip composing only if there exists the previous composed value. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D75224
2020-05-14 04:37:09 +00:00
Kartikaya Gupta 04919ab779 Bug 1631518 - Add a test. r=tnikkel
Depends on D75144

Differential Revision: https://phabricator.services.mozilla.com/D75145
2020-05-13 19:54:49 +00:00
Kartikaya Gupta 584ae5d6bb Bug 1631518 - Print hit info as hex, not decimal. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D75143
2020-05-13 19:54:22 +00:00
sotaro 8ced81fbf4 Bug 1637524 - Move DestroyRenderTexture() to TextureHost r=nical
The function is not specific to BufferTextureHost.

Differential Revision: https://phabricator.services.mozilla.com/D75044
2020-05-13 08:31:09 +00:00
Jean-Yves Avenard 020f963e30 Bug 1592488 - P4. Ensure an AbstractThread exists for the Compositor Thread. r=mattwoodrow
This is required for MozPromise's direct task dispatch to work.
It only needs to exist in the nsIThread.

Differential Revision: https://phabricator.services.mozilla.com/D74165
2020-05-12 10:42:59 +00:00
sotaro 053b47c11a Bug 1637129 - Remove obsoleted comment from GPUVideoTextureHost::EnsureWrappedTextureHost() r=jrmuizel
Two VideoBridgeParents (one within the GPU process, one from RDD) are already supported. Then the comment is obsoleted.

Differential Revision: https://phabricator.services.mozilla.com/D74792
2020-05-13 00:12:36 +00:00
Kartikaya Gupta 6c4776b9ca Bug 1622360 - Stop feeding render root into WebRenderBridgeChild::*ParentCommand*. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74851
2020-05-12 14:37:10 +00:00
Kartikaya Gupta b12419e740 Bug 1622360 - Remove unused render root argument to WRBP::ProcessWebRenderParentCommands. r=jrmuizel
Depends on D74849

Differential Revision: https://phabricator.services.mozilla.com/D74850
2020-05-12 14:22:04 +00:00
Kartikaya Gupta 29e377be64 Bug 1622360 - Remove unused render root argument to AsyncImagePipelineManager. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74849
2020-05-12 14:29:33 +00:00
Kartikaya Gupta e08c634eb7 Bug 1622360 - Stop storing unused render root in AsyncImagePipeline. r=jrmuizel
Depends on D74847

Differential Revision: https://phabricator.services.mozilla.com/D74848
2020-05-12 14:22:09 +00:00
Kartikaya Gupta ec06dc3389 Bug 1622360 - Remove render root info from IpcResourceUpdateQueue. r=jrmuizel
Depends on D74846

Differential Revision: https://phabricator.services.mozilla.com/D74847
2020-05-12 14:22:12 +00:00