Andrew Osmond
17069a77f3
Bug 1402592 - Ensure that ImageBridgeParent instances are closed by the parent during shutdown. r=dvander
...
We currently allow the content process to shutdown the IPDL objects on
behalf the parent, and we wait for all of these instances to be freed
before we complete shutdown. This is undesirable because it requires the
parent to trust the child rather than the other way around; the child
can hold shutdown hostage by simply not releasing its instances. The
child should already support the parent closing its graphics IPDL
objects because the GPU process itself can die abruptly and be restored
at a later time.
2017-09-26 14:03:29 -04:00
sotaro
9a0c49aeb0
Bug 1402739 - Fix mutex handling around async ImageContainer r=nical
2017-09-26 09:58:37 +09:00
sotaro
3ca597d703
Bug 1387920 - Drop all ImageContainers' ImageClients during disabling WebRender r=nical
2017-09-22 08:21:09 +09:00
sotaro
e9aa5d8915
Bug 1392163 - Remove ImageBridgeChild::DispatchReleaseTextureClient() r=nical
2017-08-24 11:05:59 +09:00
sotaro
eb2d5e90e3
Bug 1354411 - Rebuild CompositorSessions if WebRender is disabled r=kats
...
When WebRender creation is failed, WebRender is disabled in gecko. There is a case that WebRenderBridgeParents exist when WebRender is disabled. To handle this, gecko needs to rebuild all CompositorSessions.
There is also a problem related to gfxVars::UseWebRender on compositor thread. If e10s is enabled, but no-gpu process(default on linux and mac), gfxVars::UseWebRender change is soon notified by compositor thread tasks. If WebRender creation failure happens at 2nd WebRender creation, several WebRenderBridgeParents for 1st WebRender could exist. IPC messages from WebRenderLayerManager are normally async, then there is a chance that the WebRenderBridgeParents receive the messages after the gfxVars::UseWebRender change. Further the gfxVars::UseWebRender change in content process could be delayed than WebRenderBridgeParents, then content process does not have a way to stop sending PWebRenderBridge IPC until the change of gfxVars::UseWebRender is received. WebRenderBridgeParent related tasks handle the message, but some tasks are done based on gfxVars::UseWebRender. At this time, gfxVars::UseWebRender returned false on compositor thread, then it cause unexpected result for WebRenderBridgeParent and WebRender. To addres this inconsistent situation, WebRenderBridgeParent related tasks on compositor thread stop to use gfxVars::UseWebRender.
2017-08-04 14:36:41 +09:00
Andrew Osmond
c1af34af74
Bug 1380716 - Reinitialize ImageContainer::mImageClient if its parent ImageBridgeChild was also reinitialized. r=sotaro
2017-07-15 07:52:02 -04:00
Mats Palmgren
13928a583b
Bug 1376297 part 1 - Use Lookup instead of Get+Remove, and remove a useless Get before Remove, to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: BeuLhwaQ8H6
2017-06-28 01:03:16 +02:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Kevin Chen
007f189a47
Bug 1343754 - Add a function for replacing event target for actor and label PTexture; r=bevistseng,billm,nical
...
MozReview-Commit-ID: KGVBWsexkqC
2017-03-21 03:57:56 +00:00
Sebastian Hengst
0b131f5c2a
Backed out changeset 25f2e9e2068d (bug 1343754) for crashing e.g. in dom/workers/test/serviceworkers/test_fetch_integrity.html. r=backout
2017-05-03 12:59:36 +02:00
Kevin Chen
d08e1cb76d
Bug 1343754 - Add a function for replacing event target for actor and label PTexture; r=bevistseng,billm,nical
...
MozReview-Commit-ID: KGVBWsexkqC
2017-03-21 03:57:56 +00:00
sotaro
8305f0b97e
Bug 1356944 - Fix external image id allocation of WebRenderTextureHost r=nical
2017-04-20 10:24:13 +09:00
sotaro
2f88c289f9
Bug 1357644 - Use wr::ExternalImageId instead of uint64_t for external image id r=nical
2017-04-19 18:59:53 +09:00
sotaro
111d213410
Bug 1356190 - Fix GetNextExternalImageId() r=jrmuizel
2017-04-14 17:06:09 +09:00
Matt Woodrow
f8409228f1
Bug 1340117 - Batch ReadLock intializer into a separate IDPL message to avoid hitting the file descriptor limit. r=dvander
2017-02-27 16:12:12 +13: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
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
Nicholas Nethercote
893d13057b
Bug 1336288 - Remove ImageBridgeThread. r=ttromey.
...
This class is a temporary hack that was added to avoid a spurious LSan warning
on Beta/Release. It has not been necessary since bug 1215265 landed.
2017-02-03 16:24:43 +11:00
Nicholas Nethercote
d2434a7cc6
Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
2017-01-24 14:15:12 +11:00
Nicholas Nethercote
c1b079c8b7
Bug 1332577 (part 7) - Rename mozilla_get_pseudo_stack() as profiler_get_pseudo_stack(). r=mstange.
...
This makes it consistent with other profiler functions.
2017-01-20 15:07:05 +11:00
David Anderson
d337ea29c3
Fix ImageBridgeChild memory tracking errors on shutdown. (bug 1323957 part 6, r=mattwoodrow)
2017-01-17 18:47:07 -08:00
David Anderson
02848eb570
Remove PCompositable. (bug 1323957 part 5, r=mattwoodrow)
2017-01-17 18:47:07 -08:00
David Anderson
b1ad9c7a26
Link Compositables via IDs instead of actors. (bug 1323957 part 4, r=mattwoodrow)
2017-01-17 18:47:06 -08:00
David Anderson
01d296df20
Use CompositableHandle in ImageNotification. (bug 1323957 part 3, r=mattwoodrow)
2017-01-17 18:47:06 -08:00
David Anderson
31ae23d1eb
Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow)
2017-01-17 18:47:05 -08:00
sotaro
b6defa3c50
Bug 1329432 - Add ImageContainerListener r=nical
2017-01-14 07:51:40 +09:00
Ryan VanderMeulen
71eea2561a
Backed out 6 changesets (bug 1323957) for intermittent GPU process leaks on a CLOSED TREE.
...
Backed out changeset 8fe93d5f82a8 (bug 1323957)
Backed out changeset 5d1615317a36 (bug 1323957)
Backed out changeset 1ec74a022e80 (bug 1323957)
Backed out changeset 0a97bbdd54d5 (bug 1323957)
Backed out changeset 70fab4f6d367 (bug 1323957)
Backed out changeset c5ca5b7fcacd (bug 1323957)
2017-01-11 23:09:14 -05:00
Ryan VanderMeulen
88a88a7924
Backed out 7 changesets (bug 1325227) to unblock the backout of bug 1323957.
...
Backed out changeset d6e962b025e6 (bug 1325227)
Backed out changeset 70136ced844e (bug 1325227)
Backed out changeset e21219e9638a (bug 1325227)
Backed out changeset a5d83d2b1632 (bug 1325227)
Backed out changeset f6c6ef5ac42c (bug 1325227)
Backed out changeset 1a604f87a342 (bug 1325227)
Backed out changeset d4827432cbc2 (bug 1325227)
2017-01-11 23:08:45 -05:00
Matt Woodrow
bd00c725ab
Bug 1325227 - Part 1: Remove synchronous transaction replies since they don't return any data we didn't already have. r=nical
2016-12-06 13:34:54 -10:00
David Anderson
2310f100f2
Fix ImageBridgeChild memory tracking errors on shutdown. (bug 1323957 part 6, r=mattwoodrow)
2017-01-11 09:20:55 -08:00
David Anderson
fd2bfcead4
Remove PCompositable. (bug 1323957 part 5, r=mattwoodrow)
2017-01-11 09:20:55 -08:00
David Anderson
2688f79e55
Link Compositables via IDs instead of actors. (bug 1323957 part 4, r=mattwoodrow)
2017-01-11 09:20:54 -08:00
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