Commit Graph

2681 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
d8041fa2b6 Bug 1305325 - Part 9: Send animations even if it's paused, finished or zero playback rate. r=birtles.
If all of animations on an element are paused, finished or zero playback rate,
we don't send those animations to the compositor.
Also in this change, we send zero active duration animations to the compositor
in the same way as normail animations.

MozReview-Commit-ID: CHjv6Buy5fa
2016-12-02 15:34:13 +09:00
Kartikaya Gupta
e00de4af88 Merge m-c to graphics
MozReview-Commit-ID: 5qSWNo7gKJK
2016-11-17 10:13:36 -05:00
sotaro
ebe36d991c Bug 1312316 - Add stubbed WebRenderCompositorOGL r=nical 2016-11-17 18:02:56 +09:00
Kartikaya Gupta
a6df34127e Bug 1318066 - Provide WR with the path to the resources directory. r=jrmuizel?
MozReview-Commit-ID: JSatfZmk6Fh
2016-11-16 13:54:13 -05:00
Mozilla Graphics Team
8d165b3b75 Bug 1317774 - Add gfx code needed to use WebRender in gecko. r=gfx
The overall architecture here is that we add a new layers type, LAYERS_WR,
which can be used in place of client layers. The WebRenderLayerManager, in
the EndTransaction call, paints content into images and ships them over the
PWebRenderBridge to the compositor thread. The WebRenderBridgeParent code on
the compositor side talks to WebRender via the API in webrender.h.

MozReview-Commit-ID: JKLTLJWVXiN
2016-11-16 08:54:51 -05:00
Tomislav Jurin
9ff3007b90 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Kan-Ru Chen
1b9dd22e2d Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Carsten "Tomcat" Book
b2903208c2 Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Matt Woodrow
bd20037151 Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange 2016-11-24 18:11:31 +13:00
Matt Woodrow
26fae296aa Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00
Carsten "Tomcat" Book
142a4dd27a Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2016-11-24 17:05:00 +01:00
Carsten "Tomcat" Book
c5a85de12f Backed out changeset 4909935f8081 (bug 1319626) 2016-11-24 17:02:32 +01:00
Carsten "Tomcat" Book
0e44962038 Backed out changeset f4f8dc2931aa (bug 1319626) 2016-11-24 17:02:22 +01:00
Matt Woodrow
ef863b04e4 Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange 2016-11-24 18:11:31 +13:00
Matt Woodrow
ce171e59c7 Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow
268a08de7a Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange 2016-11-24 18:11:29 +13:00
Bas Schouten
cd0155b68f Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel 2016-11-24 18:11:27 +13:00
Randall Barker
04ca0b97b8 Bug 1321644 - part 2, Remove AndroidBridge::PostTaskToUiThread from RemoteContentController.cpp r=botond 2016-12-23 09:08:39 -08:00
David Anderson
2db3fdc77f Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow) 2016-11-29 14:07:27 -08:00
Ryan Hunt
1c4bd043c1 Bug 1320817 - Move child process PAPZ initialization into TabChild::InitRenderingState. r=kats 2016-11-28 22:21:27 -06:00
Nicolas Silva
b5ac574480 Bug 1300121 - Make PersistentBufferProviderShared::BorrowDrawTarget more robust agaist bad edge cases and if all fails, fallback to the basic provider. r=Bas 2016-10-11 13:23:11 +02:00
Morris Tseng
08d68942a0 Bug 1322500 - Introducing ShareableCanvasLayer. r=sotaro
MozReview-Commit-ID: 1zVJ3HVQV9W
2016-12-28 10:16:43 +08:00
David Anderson
139ec26551 Ensure an ordering between cross-process compositor association and PLayerTransaction construction. (bug 1316632, r=mattwoodrow) 2016-11-28 14:32:20 -08:00
Nathan Froyd
b995466f21 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Wes Kocher
03beba9aa5 Backed out changeset 2259891dc1e8 (bug 1319557) for build bustage CLOSED TREE a=backout 2016-11-28 12:20:51 -08:00
David Anderson
5bad179d1e Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow) 2016-11-28 11:43:41 -08:00
Sotaro Ikeda
babd939cf1 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
Kartikaya Gupta
87b17416ba Bug 1319508 - Ensure that we don't leave dangling pointers to CompositorBridgeParent in LayerTreeState instances. r=dvander
MozReview-Commit-ID: 3dxZ35uIQu
2016-11-22 14:38:37 -05:00
Kan-Ru Chen
edfe14b039 Bug 1319271 - Use actor's manager in case actor is already deleted (r=billm)
MozReview-Commit-ID: 3Dr2POjqNft
2016-12-13 16:46:33 -08:00
Sebastian Hengst
3441682b5b Backed out changeset f2dbb8f9f082 (bug 1316267) for mass bustage. r=backout on a CLOSED TREE 2016-12-13 23:14:44 +01:00
David Anderson
e68d9c8898 Unconditionally disconnect PLayerChildren from ClientLayers. (bug 1316267, r=billm) 2016-12-13 13:41:13 -08:00
David Anderson
0757ad84ef Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt) 2016-11-14 11:47:01 -08:00
David Anderson
8c46867f03 Fix a content canvas crash caused by losing IPC during a GPU process restart. (bug 1339852, r=mattwoodrow) 2017-02-15 19:09:18 -08:00
David Anderson
452e7295e6 Don't access mCompositor from CompositeToTarget. (bug 1339688 part 2, r=mattwoodrow) 2017-02-15 19:03:20 -08:00
David Anderson
dfedfb6a67 Move composition time from Compositor to HostLayerManager. (bug 1339688 part 1, r=mattwoodrow) 2017-02-15 19:03:20 -08:00
Matt Woodrow
ebbd7e515a Bug 1328797 - Part 3: Remove sync transactions entirely as they aren't used any more. r=nical 2017-02-16 11:31:18 +13:00
Matt Woodrow
a5e7db88fc Bug 1328797 - Part 2: Don't use a sync transaction for DEALLOCATE_CLIENT. r=nical 2017-02-16 11:30:46 +13:00
Matt Woodrow
491e9420ca Bug 1328797 - Part 1: Don't use a sync transaction for RemoveTexture. r=nical 2017-02-16 11:28:24 +13:00
Wes Kocher
06226e904f Backed out 5 changesets (bug 1336510) for mass bustage a=backout CLOSED TREE
Backed out changeset 35d16d04d67d (bug 1336510)
Backed out changeset 41db22e0c13d (bug 1336510)
Backed out changeset 2075037694ed (bug 1336510)
Backed out changeset 71be73be6c4e (bug 1336510)
Backed out changeset 02ccacdbbb93 (bug 1336510)

MozReview-Commit-ID: Lx2kKu7JVvI
2017-02-15 13:40:12 -08:00
Michael Layzell
a4152fea05 Bug 1336510 - Part 3: Capture a strong reference to this in CompositorBridgeParent::FlushApzRepaints, r=kats
MozReview-Commit-ID: KdGBYEAC0dW
2017-02-15 15:32:44 -05:00
Randall Barker
3e64c632a6 Bug 1336929 - Have UiCompositorControllerChild cache surface resize when not yet initialized. r=jchen,dvander 2017-02-14 09:11:14 -08:00
Matt Woodrow
f3b2b42e4a Bug 1325227 - Part 10: Use blocking read locks instead of forcing a synchronous transaction when using ContentClientRemoteBuffer. r=nical 2017-02-14 21:10:36 +13:00
Matt Woodrow
9ebc2a8154 Bug 1325227 - Part 9: Implement a blocking TextureReadLock using CrossProcessSemaphore. r=nical 2017-02-14 21:10:36 +13:00
Matt Woodrow
a0028ece26 Bug 1325227 - Part 6: Composite immediately when starting to listen to vsync. r=mchang 2017-02-04 18:53:45 +13:00
Matt Woodrow
53e1d350fc Bug 1325227 - Part 1: Remove synchronous transaction replies since they don't return any data we didn't already have. r=nical
MozReview-Commit-ID: 2HIbk65L7zR
2016-12-06 13:34:54 -10:00
Randall Barker
1df3957d1f Bug 1328752 - part 1, Add UiCompositorController r=dvander 2017-01-20 11:01:29 -08:00
Sotaro Ikeda
7e559df655 Bug 1318780 - Split CompositorVsyncScheduleOwner to its own file r=kats 2016-11-20 17:14:32 -08:00
Ryan Hunt
b600b0c76b Bug 1318045 - Remove unused includes in CrossProcessCompositorBridgeParent r=bas 2016-11-18 12:16:37 -06:00
Ryan Hunt
58423f9776 Bug 1318045 - Fix unified build errors from moving CrossProcessCompositorBridgeParent r=bas 2016-11-18 12:12:25 -06:00
David Anderson
4aaf871411 Only call LayerTransactionChild::Destroy on the main thread. (bug 1328633, r=mattwoodrow) 2017-02-08 07:21:45 -08:00