Commit Graph

265 Commits

Author SHA1 Message Date
David Anderson
3be99bd32b Use CompositableHandle in ImageNotification. (bug 1323957 part 3, r=mattwoodrow) 2017-01-11 09:20:54 -08:00
David Anderson
d3aff6adcb Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow) 2017-01-11 09:20:53 -08:00
David Anderson
1983f0e723 Don't retain a ref to ImageContainers in ImageBridgeChild. (bug 1325784 part 6, r=nical) 2017-01-04 10:19:31 -05:00
David Anderson
d9b1a128e3 Remove PImageContainer. (bug 1325784 part 5, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson
dff9aea4b9 Use async compositable IDs for image composite notifications. (bug 1325784 part 4, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson
db74a9d60f Move async compositable ID allocation to ImageBridgeChild. (bug 1325784 part 3, r=nical) 2017-01-04 10:19:29 -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
Carsten "Tomcat" Book
b2903208c2 Merge mozilla-central to inbound 2016-11-16 14:53:15 +01: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
Sotaro Ikeda
babd939cf1 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
Bill McCloskey
ce9b0838cc Bug 792652 - Move FatalError to IProtocol (r=dvander)
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
  C++ doesn't like there to be two virtual methods with the same name
  in cases where one is overridden and the other isn't (as happens
  in IToplevelProtocol).
2016-11-08 15:22:45 -08:00
Wes Kocher
9ae70893b6 Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey
cb1c1ac732 Bug 792652 - Move FatalError to IProtocol (r=dvander)
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
  C++ doesn't like there to be two virtual methods with the same name
  in cases where one is overridden and the other isn't (as happens
  in IToplevelProtocol).
2016-11-08 11:32:30 -08:00
Matt Woodrow
5a1bb71970 Bug 1300676 - Part 3 - Implement readback for GPU videos. r=dvander,nical 2016-11-04 13:28:28 +13:00
Matt Woodrow
463bd96401 Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander 2016-11-04 13:28:28 +13:00
David Anderson
d71f8c5d82 Handle failed SendPImageContainerConstructor. (bug 1313770 part 3, r=mattwoodrow) 2016-10-28 15:48:35 -07:00
David Anderson
a254fbae06 Make CreateImageClient fallible. (bug 1313770 part 2, r=mattwoodrow) 2016-10-28 15:48:35 -07:00
Matt Woodrow
dc1055bb91 Bug 1313281 - Part 5: Remove NeedsFenceHandle. r=sotaro 2016-10-27 21:02:12 +13:00
Matt Woodrow
3c78aeff18 Bug 1313281 - Part 3: Remove Fence from TimedTexture. r=sotaro 2016-10-27 21:00:20 +13:00
Matt Woodrow
b4e0f72e10 Bug 1313281 - Part 2: Remove DeliverFence. r=sotaro 2016-10-27 20:59:50 +13:00
Matt Woodrow
119dd875cb Bug 1313281 - Part 1: Remove AsyncTransactionTracker. r=sotaro 2016-10-27 20:59:23 +13:00
Matt Woodrow
16f8a8bdeb Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
Matt Woodrow
0960a8b62e Bug 1297826 - Override FatalError for IPDL protocols that access the GPU process and make it non-fatal. r=billm 2016-10-04 21:31:27 +13:00
Matt Woodrow
29fb1b2c1f Bug 1305897 - Move ActiveResourceTracker onto ShadowLayerForwarder, since it's not used anywhere else. r=nical 2016-10-03 21:20:13 +13:00
Alexandre Lissy
84fb517e6b Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical
MozReview-Commit-ID: 1sUiqnFEPdx
2016-09-28 07:04:13 +02:00
Matt Woodrow
2dabc216dc Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
David Anderson
1737dd3b01 Fail safely if IPC has shut down during an ImageBridge shmem request. (bug 1303426 part 2, r=nical) 2016-09-21 22:40:20 -07:00
David Anderson
956da50603 Recreate content compositor endpoints when the GPU process dies. (bug 1300936 part 3, r=mattwoodrow,billm) 2016-09-20 01:18:50 -07:00
Andi-Bogdan Postelnicu
f2a22682d6 Bug 1301333 - mark ImageBridgeThread::Init as initialisation function for ImageBridgeThread. r=jrmuizel
MozReview-Commit-ID: 4mveFlHumVE
2016-09-16 17:09:56 +03:00
David Anderson
68e0105369 Remove FallbackDestroyActors. (bug 1301780 part 1, r=nical) 2016-09-15 23:57:17 -07:00
David Anderson
cb84a8f66b Ensure IPDL owns a reference to ImageBridgeChild. (bug 1298938 part 6, r=billm) 2016-09-13 16:30:57 -07:00
David Anderson
d6259735bc Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow) 2016-09-13 16:30:57 -07:00
David Anderson
d2688451ad Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical) 2016-09-13 16:30:57 -07:00
David Anderson
0ce5cd354a Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow) 2016-09-13 16:30:57 -07:00
David Anderson
f06c781897 Simplify ImageBridgeChild asynchronous shutdown. (bug 1298938 part 3, r=nical) 2016-09-13 16:30:56 -07:00
David Anderson
4f10917fa7 Simplify ImageBridgeChild asynchronous initialization. (bug 1298938 part 2, r=mattwoodrow) 2016-09-13 16:30:56 -07:00
David Anderson
74a935137d Route dispatches in ImageBridgeChild through |this|, not the singleton. (bug 1298938 part 1, r=mattwoodrow) 2016-09-13 16:30:56 -07:00
David Anderson
73f6be8a38 Remove monitor-related boilerplate in ImageBridgeChild.cpp. (bug 1300050, r=mattwoodrow) 2016-09-06 20:17:53 -07:00
Wes Kocher
78d347d505 Backed out changeset 4bc688969533 (bug 1300050) for build bustage a=backout CLOSED TREE 2016-09-06 17:18:00 -07:00
David Anderson
abdae9846b Remove monitor-related boilerplate in ImageBridgeChild.cpp. (bug 1300050, r=mattwoodrow) 2016-09-06 16:37:01 -07:00
David Anderson
d9c3009c06 Simplify ImageContainerChild memory management. (bug 1299621 part 2, r=nical) 2016-09-06 15:20:41 -07:00
David Anderson
a9ce12fb1d Move ImageContainerChild to its own file. (bug 1299621 part 1, r=nical) 2016-09-06 15:19:35 -07:00
David Anderson
a3c9f738b5 Refactor CompositableClient memory management. (bug 1299375 part 2, r=nical) 2016-09-02 16:08:49 -07:00
Nathan Froyd
69eb371b3e Bug 1299594 - part 2 - remove opened actor tracking from IToplevelProtocol; r=billm
The only thing we needed opened actor tracking for was the ability to
clone all the actors.  But now that we no longer have support for
cloning actors, we no longer need to track the actors that we've cloned,
which makes a number of things significantly simpler.
2016-09-02 16:13:50 -04:00
Andi-Bogdan Postelnicu
99338a8145 Bug 1282408 - add ignore initialization check flag for mPseudoStackHack in ImageBridgeThread. r=ttromey
MozReview-Commit-ID: 2B0bPOi1Tde
2016-08-24 17:10:07 +03:00
Kearwood (Kip) Gilbert
f9fd286412 Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07:00
Alexandre Lissy
b2834a3543 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6
2016-08-02 14:54:00 +02:00
David Anderson
590cc0cad1 Implement ImageBridge support for the GPU process. (bug 1287366 part 3, r=mattwoodrow,billm) 2016-07-20 00:19:27 -07:00
David Anderson
227ba95f86 Use Endpoints for content-process ImageBridges. (bug 1287366 part 2, r=billm) 2016-07-20 00:18:30 -07:00
David Anderson
6b880c65ac Move parent-process ImageBridgeChild startup to GPUProcessManager. (bug 1287366 part 1, r=mattwoodrow) 2016-07-20 00:17:28 -07:00