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

10417 Коммитов

Автор SHA1 Сообщение Дата
sotaro 8c6ed26316 Bug 1402767 - Enable accleleration of GLScreenBuffer when WebRender is enabled r=jgilbert 2017-09-26 13:15:36 +09:00
sotaro b283dc671f Bug 1402739 - Fix mutex handling around async ImageContainer r=nical 2017-09-26 09:58:37 +09:00
Kartikaya Gupta 6310cd82fb Bug 1402439 - Redo how we discard compositor animation ids. r=pchang
Instead of always discarding the compositor animation id, and then
sometimes un-discarding it (which involves a linear lookup in nsTArray),
this patch now has the WebRenderLayerManager keep a set of active
animation ids, and uses that to avoid discarding the same animation
twice.

In addition, because the display item can be destroyed at any time (e.g.
in the middle of an animation), we were previously "leaking" compositor
animations in that the compositor side never got notified to discard the
IDs. This resulted in infinite composition loops. This patch solves this
problem by having any unused WebRenderAnimationData trigger discard of
the animation id during destruction. This way, even if the nsDisplayItem
is deleted in the middle of the animation we have a fallback mechanism
to discard the id.

MozReview-Commit-ID: 8G3EYHcg9Kl

--HG--
extra : rebase_source : 45e99a0d71a76a15b7fc7a0d498a6149501a722d
2017-09-22 16:39:57 -04:00
Kartikaya Gupta be5b0a23f3 Bug 1402439 - Add some documentation for the compositor animation code. r=pchang
Also removes an unneeded forward-declaration.

MozReview-Commit-ID: 8BPGPtkIBui

--HG--
extra : rebase_source : b3b81e5b5d94b0da67c7a69cd70b3c82a6f1834d
2017-09-22 16:39:53 -04:00
Sebastian Hengst d1d55ab8bc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 517PGVX0wPB
2017-09-25 11:58:15 +02:00
Lee Salzman a593c1be08 Bug 1402585 - don't error when ShmSegmentReader reads empty segments. r=gankro
MozReview-Commit-ID: B18t0mrEIDm
2017-09-24 19:11:17 -04:00
Kevin Chen 95f774c5ed Bug 1393376 - (Part 2) Retain BasicLayerManager in WebRenderFallbackData for layer invalidation computation; r=jrmuizel
MozReview-Commit-ID: 6rmJkXzLubX

--HG--
extra : rebase_source : 960c9343da0eb1faf6fe515b2cbddeebc26938c1
2017-09-07 15:04:30 +08:00
Kevin Chen 92bb8afb2a Bug 1393376 - (Part 1) Paint the item when its type is TYPE_FILTER during WebRenderFallbackData generating; r=jrmuizel
MozReview-Commit-ID: JxNa1OGrSVb

--HG--
extra : rebase_source : 0d8bc8aeac1f120bb9eb873f9b9c36ba155d5dda
2017-09-11 15:07:26 +08:00
Wes Kocher 6e84ca9226 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7rJ9fpLBazL
2017-09-22 15:06:12 -07:00
David Anderson cac14c2173 Fix shutdown leak in TextureSourceProviderMLGPU. (bug 1398304, r=bas) 2017-09-22 09:48:12 -07:00
Sebastian Hengst a2d2f547b1 Backed out changeset 3d11e27057a3 (bug 1383786) for build bustage on OS X and Windows at gfx/layers/d3d11/TextureD3D11.cpp(1069). r=backout on a CLOSED TREE 2017-09-22 16:23:31 +02:00
Sebastian Hengst c2765f570f Backed out changeset fa524e77ef3e (bug 1383786) 2017-09-22 16:22:40 +02:00
Nicolas Silva 7822739981 Bug 1383786 - Make it possible to update TextureHost image keys. r=sotaro 2017-09-22 14:51:46 +02:00
Nicolas Silva fd98ed2e47 Bug 1383786 - Simplify generating image keys for TextureHosts. r=sotaro 2017-09-22 14:51:42 +02:00
Lee Salzman ee25ad6434 Bug 1397458 - part 4 - supply font variations to WebRender AddFontInstance r=kats
MozReview-Commit-ID: 6JSMMVK0GZm

--HG--
extra : rebase_source : 07c71d838ecae72271386a645e15b342adc36aba
2017-09-20 23:18:23 -04:00
Sebastian Hengst 2479eaedbf merge mozilla-central to autoland. r=merge a=merge 2017-09-22 11:50:19 +02:00
Ethan Lin fb32d577e9 Bug 1398706 - Always create new clip ids in ScrollingLayersHelper if it's inside a mask. r=kats
MozReview-Commit-ID: Hhsbgpqddo1

--HG--
extra : rebase_source : 40507644148da5bfe6ca3dd5f1f438ac9e7e10ff
2017-09-19 17:05:22 +08:00
Wes Kocher 640a5d3c46 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsEMW5gXG3W
2017-09-21 17:04:36 -07:00
sotaro 99c13fbf3d Bug 1387920 - Drop all ImageContainers' ImageClients during disabling WebRender r=nical 2017-09-22 08:21:09 +09:00
Ethan Lin 00d745a022 Bug 1401945 - Do not use the WebRenderUserData after it's removed. r=jrmuizel,kats
MozReview-Commit-ID: AL8tO0ZxVkF

--HG--
extra : rebase_source : afada5ee9d7b1b1f1dee649ad48db6c65d1e65c2
2017-09-21 23:15:55 +08:00
Morris Tseng ce9b629335 Bug 1392200 - Add backface-visibility support for layers-free mode. r=kats
For layers-full mode, we set the backface-visibility to visible because
visibility would be handled by FLB and layers.

MozReview-Commit-ID: CUbeUabfC7K
2017-09-21 14:41:38 +08:00
sotaro f287c29540 Bug 1399652 - Add more IPCOpen() checks to WebRenderBridgeChild r=kats 2017-09-21 09:41:34 +09:00
Mason Chang 652642b7da Bug 1399692 - Backed out changeset 46f0b004bdd2 for not cleaning up content client on the right thread. r=bas
MozReview-Commit-ID: 2eocRWGxjzA

--HG--
extra : rebase_source : 6095b77f15e26f44cd8cc127184781f05b040e68
2017-09-20 08:38:30 -07:00
Andrew Osmond 085ed59d74 Bug 1401668 - Change ImageBridgeParent to acquire a compositor thread reference on construction. r=dvander 2017-09-20 15:59:08 -04:00
Nicolas Silva 2c985587a8 Bug 1400532 - Separate small and large shmem allocations in IpcResourceUpdateQueue. r=jrmuizel 2017-09-20 13:39:19 +02:00
Nicolas Silva 61546da339 Bug 1393031 - Remove unused nsTArray<WebRenderParentCommand>& parameter all over the place. r=jrmuizel 2017-09-20 13:36:53 +02:00
Nicolas Silva a246a25d0a Bug 1393031 - Remove OpAddExternalImage from WebRenderParentCommands. r=sotaro 2017-09-20 13:36:44 +02:00
Kartikaya Gupta da21f7fca0 Bug 1399505 - Generate WR sticky frames from nsDisplayStickyPosition display items. r=mstange
MozReview-Commit-ID: 4ZCcdlBtEGi

--HG--
extra : rebase_source : 435696d31faef583f8abf3267a14b4699c449716
2017-09-21 10:11:41 -04:00
Kartikaya Gupta 59ea9aa15f Bug 1399505 - Expose the API to add sticky frames to the WR display list. r=mstange
MozReview-Commit-ID: 1SEz6bqMoME

--HG--
extra : rebase_source : 133853e09f8bc5b1e7d725a53ef3d6a0ab1fdc00
2017-09-21 10:11:39 -04:00
Sebastian Hengst 0f2ed2d557 merge mozilla-central to autoland. r=merge a=merge 2017-09-21 15:28:11 +02:00
peter chang 6cc8c75644 Bug 1396471 - Keep the running compositorAnimationsId alive on the compositor, r=kats
If the compositor animations are still valid, we don't need to add its id to the discarded list.
This patch also reduces unnecessary SendDeleteCompositorAnimations calls.

MozReview-Commit-ID: AcbVUk3MUo7

--HG--
extra : rebase_source : fa8b1e5b4c9d3e81826eef621926975c967985a0
2017-09-21 16:18:03 +08:00
Sebastian Hengst 79bca6297c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-20 11:50:40 +02:00
Nicolas Silva 9ffda11244 Bug 1393031 - Use IpcResourceUpdateQueue in more places. r=jrmuizel 2017-09-20 10:56:20 +02:00
Nicolas Silva ae42b5181a Bug 1393031 - Begin moving OpAddExternalImage to IpcResourceUpdateQueue and recycle image keys in WebRenderImageLayer. r=jrmuizel 2017-09-20 10:56:09 +02:00
Ethan Lin c409bddad6 Bug 1397375 - Part2. Add a table in layer manager to keep webrender user data and remove unused data in each transaction. r=jrmuizel
MozReview-Commit-ID: HsO3BCc2eeL

--HG--
extra : rebase_source : ae757729d57e111821126a83db186f48832fde23
2017-09-14 14:39:00 +08:00
Ethan Lin 4edbf55ce8 Bug 1397375 - Part1. Store frame, display item key, and user data table in the webrender user data. r=jrmuizel
MozReview-Commit-ID: IvKBy4MG8vw

--HG--
extra : rebase_source : 88ab824a5c061630336b1b3279adb04e6a0a49cf
2017-09-14 14:38:12 +08:00
Wes Kocher 3baa8a7e6e Merge inbound to central, a=merge
MozReview-Commit-ID: 5B5W6AHKcCb
2017-09-19 14:49:11 -07:00
Nicolas Silva 3434431a1a Bug 1397407 - Apply deferred image key deletions to the next transaction. r=Gankro 2017-09-15 13:24:31 +02:00
Andrew Osmond 7c2def1540 Bug 1380649 - Part 2. Ensure SourceSurfaceVolatileData does not forget its purged state. r=jrmuizel
Currently if SourceSurfaceVolatileData::Map fails due to being purged,
we expect that the surface will be discarded by the caller. This has not
consistently been the case, and as such, we should ensure we do not
forget if a buffer was previously purged when we reacquire it. Since we
do not at this time support repopulating an already allocated buffer
with new data, we cannot reset this state once it has been set.
2017-09-19 08:19:48 -04:00
Sebastian Hengst f6d104d246 Backed out changeset 58844e6f37b2 (bug 1380649) 2017-09-19 10:49:04 +02:00
Andrew Osmond 9df74d4975 Bug 1380649 - Part 2. Ensure SourceSurfaceVolatileData does not forget its purged state. r=jrmuizel
Currently if SourceSurfaceVolatileData::Map fails due to being purged,
we expect that the surface will be discarded by the caller. This has not
consistently been the case, and as such, we should ensure we do not
forget if a buffer was previously purged when we reacquire it. Since we
do not at this time support repopulating an already allocated buffer
with new data, we cannot reset this state once it has been set.
2017-09-18 20:08:05 -04:00
Wes Kocher 57987f930c Merge m-c to inbound, a=merge
MozReview-Commit-ID: FOmIgsEP2fb
2017-09-18 16:23:47 -07:00
Andrew Osmond 6ecbc94614 Bug 1389021 - Force CompositorManagerParent to close before shutting down the compositor thread. r=dvander,me 2017-09-18 16:13:03 -04:00
Botond Ballo 6ad906fc6d Bug 1400440 - Apply scroll shift for dynamic toolbar to the composited scroll offset right away. r=kats
MozReview-Commit-ID: 1I7C0lFx4WP

--HG--
extra : rebase_source : 9c6ae39e10a2f9b86d2886140ee2e0d4f5cb4fda
2017-09-15 19:47:46 -04:00
Sebastian Hengst fe767114c9 Backed out changeset 7d0893f1b6ce (bug 1389021) for leaking in mda2 on Linux x64 asan (bug 1374856). r=backout a=backout
MozReview-Commit-ID: AeaKVgSJTmt
2017-09-17 14:26:25 +02:00
Andrew Osmond 9d96dc8060 Backed out changeset 722569a89186 (bug 1380649) due to bug 1400549 and getting the crash signatures we needed. 2017-09-16 10:47:56 -04:00
Sebastian Hengst 1d35d25f21 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1Wa3jV6n7Wj
2017-09-16 11:35:02 +02:00
Sebastian Hengst f67a124350 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DStzDVD5j1G
2017-09-16 11:29:51 +02:00
Sebastian Hengst a2102f9d09 Backed out changeset 70f5f23a429f (bug 1397407) for letting Talos g1 timeout and spam its log on Linux x64 QuantumRender opt. r=backout a=backout
MozReview-Commit-ID: DOv1JPa2f7U
2017-09-16 10:57:44 +02:00
Kartikaya Gupta 40d581989b Bug 1400378 - Add layers logging support for Point3D. r=mattwoodrow
MozReview-Commit-ID: 9W3gDi7wyQF

--HG--
extra : rebase_source : 76b225bb06381bea8211aa905c9006cc3745fdc8
2017-09-15 16:08:12 -04:00