Commit Graph

23449 Commits

Author SHA1 Message Date
Matt Woodrow
c4fcc19e35 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander
--HG--
extra : rebase_source : f330066c3e301299f541939ac170217625dcdca5
2016-09-21 15:36:39 +12:00
Matt Woodrow
1f7fd955fa Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander
--HG--
extra : rebase_source : 12d1829522bd2761308e1b2bcaf488a1e5f15f67
2016-09-21 15:36:10 +12:00
Matt Woodrow
1e523fae7d Bug 1288618 - Part 10: Add a new layers::Image type for GPUVideo. r=nical
--HG--
extra : rebase_source : 4806ebcbb8f7820d8567ad51f28d950c946ee613
2016-09-21 15:36:10 +12:00
Matt Woodrow
4773ea15c3 Bug 1288618 - Part 9: Add a new SurfaceDescriptor type for video decoding in the GPU process. r=nical
--HG--
extra : rebase_source : f71052375b72ca2ea8d85b95e399a94bfaf93232
2016-09-21 15:36:10 +12:00
Matt Woodrow
2cb0c77257 Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical
--HG--
extra : rebase_source : 7498abba1e4e364e9a299ee55b44070c6a65f55a
2016-09-21 15:36:09 +12:00
Matt Woodrow
30d2768a45 Bug 1288618 - Part 2: Allow allocating D3D9/11 Images when we don't have a recycling allocator available. r=nical
--HG--
extra : rebase_source : 23db70f7fed43217f8e8a27b0ab73435cdd3b895
2016-09-21 15:36:09 +12:00
Matthew Woodrow
76c0ae8105 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander 2016-08-25 15:48:35 +12:00
Matthew Woodrow
cc6a2ea1e1 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander
--HG--
extra : rebase_source : 3e5e4d3cebeda21a080a0f5c9bcec95ba54f960c
2016-08-25 15:48:35 +12:00
Miko Mynttinen
54872a7fbf Bug 1301818 - Prepare BSPTree for integration with the layers code r=kip
MozReview-Commit-ID: ADJvCZYSk6p

--HG--
extra : rebase_source : 4cfef6cb4344323229da9001de07616621cd5369
2016-09-16 16:03:32 -07:00
Jamie Nicol
363f957b1f Bug 1288446 - Call glCheckFramebufferStatus after glFramebufferTexture2D to avoid driver crash; r=jrmuizel
Some PowerVR SGX540 devices running Android 4.0 were crashing when
uploading texture data with glTexSubImage2D. This was unearthed by a
Skia upgrade which removed what should have been an unnecessary OpenGL
call. This reinstates the OpenGL call which prevents the crash, but at a
GLContext level rather than in Skia.

MozReview-Commit-ID: Dub8VSs2Dzd

--HG--
extra : rebase_source : 7584b2a71656c78055d1a3cd1410c2a1bd8e70b3
2016-09-08 15:29:44 +01:00
Carsten "Tomcat" Book
79ec7bf1c3 Merge mozilla-central to autoland 2016-09-20 12:05:52 +02:00
David Anderson
5a103daad2 Fix root scroll delta overrides when APZ is out-of-process. (bug 1303820, r=kats) 2016-09-19 19:22:26 -07:00
Wes Kocher
993138b682 Merge m-c to inbound, a=merge 2016-09-19 15:56:30 -07:00
Wes Kocher
da7b1c61a1 Merge inbound to central, a=merge 2016-09-19 15:51:39 -07:00
Lee Salzman
dc06e3fe34 Bug 1303548 - add more fuzz to gfx/tests/reftest/611498-1.html. r=philor
MozReview-Commit-ID: DPgazUhgWXY
2016-09-19 16:35:35 -04:00
Jeff Muizelaar
8abbf66ced Bug 1298403. Reorder fields to avoid clang-cl warning. 2016-09-19 10:04:54 -04:00
Carsten "Tomcat" Book
698071b90e Merge mozilla-central to mozilla-inobund 2016-09-19 12:17:58 +02:00
Carsten "Tomcat" Book
026552c22f merge mozilla-inbound to mozilla-central a=merge 2016-09-19 12:14:36 +02:00
Jonathan Kew
487f1a3fb5 Bug 1297644 - Cherry-pick upstream fix for misleading-indent/missing-brace bug. r=nical 2016-09-19 10:41:27 +01:00
David Anderson
842b64bbd1 Fix incorrect assert in VsyncBridgeChild. (bug 1303452, r=gwright) 2016-09-18 22:13:53 -07:00
Manish Goregaokar
63e75ca24b Bug 1302993 - Mark more expectations for stylo tests, make reftest-stylo green; r=heycam
MozReview-Commit-ID: 9rKqASXgKZH

--HG--
extra : rebase_source : ea4d2cdc5623673827676e52d255c8b6fa34f7dd
2016-09-12 19:18:10 +05:30
Tanuja Sawant
50e09326b3 Bug 1285940 - Remove code to disambiguate overloads that is no longer necessary. r=botond
MozReview-Commit-ID: 5fBkxmGP1Cr

--HG--
extra : amend_source : b6c0917ef257f39ee707836d46d60b5d00364bad
2016-09-17 13:38:11 +05:30
Bill McCloskey
50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Xidorn Quan
6cedec7667 Bug 1299741 part 3 - Add LinearBlendColors function for linear blending two colors. r=mstange
MozReview-Commit-ID: KVzV2DxXRqu

--HG--
extra : rebase_source : de1003c5546f77dc251d1dc1c3634ac79b73481f
2016-09-02 17:13:11 +10:00
Xidorn Quan
3e7bcf1437 Bug 1299741 part 2 - Move ClampColor to nsColor.h. r=mstange
MozReview-Commit-ID: 6qbVhOA3DE4

--HG--
extra : rebase_source : a5ee990caffef332cfd0bfa6753dff392e48166d
2016-09-02 14:59:28 +10:00
Carsten "Tomcat" Book
53b6abdec9 Merge mozilla-central to autoland 2016-09-19 12:26:19 +02:00
Alexandre Lissy
18acbedbf0 Bug 1303522 - Include Skia libc++ workaround (https://codereview.chromium.org/2134693002) r=lsalzman
MozReview-Commit-ID: KYRuKaaH2Iu

--HG--
extra : rebase_source : a0738dcfe863bedd3361fb60e1d10f03cfcd8eb2
2016-09-17 14:25:55 +02:00
David Anderson
f2cfe86ef2 Recreate PLayerTransactions for TabChildren when the compositor restarts. (bug 1300936 part 4, r=mattwoodrow, r=billm)
--HG--
extra : rebase_source : ea92ecc5738e830a86f3b323d262f3537afe4534
2016-09-20 01:19:32 -07:00
David Anderson
81234feb8d Recreate content compositor endpoints when the GPU process dies. (bug 1300936 part 3, r=mattwoodrow,billm)
--HG--
extra : rebase_source : 054937d0adf92ab90c0a630034808e5069b6a956
2016-09-20 01:18:50 -07:00
David Anderson
a03cd76c24 Recreate widget compositors when the GPU process dies. (bug 1300936 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 8b6770bcad64a21001efd5d75f0502672282fcab
2016-09-20 01:16:03 -07:00
David Anderson
27c5a863e6 Send content compositor bridges atomically rather than individually. (bug 1300936 part 1, r=billm)
--HG--
extra : rebase_source : 3d642f674ecb21c4a1c95ad9312c7afd87c5931a
2016-09-20 01:15:49 -07:00
Jamie Nicol
78b8ab3a9c Bug 1130739 - Disable OES_EGL_image_external on Mali 450. r=eflores
MozReview-Commit-ID: 2xx4zRYWlNu

--HG--
extra : rebase_source : d4c9e091b0ecd384b118f9e45a966e3887fbbc02
2016-09-21 11:12:52 +01:00
Kartikaya Gupta
7e17a92193 Bug 1256128 - Update test to handle a tricky race condition where the input event processing is delayed a little. r=botond
MozReview-Commit-ID: H7YOhSLYkpF

--HG--
extra : rebase_source : 1baa334697250eddfd1d67303d9ecd81edc4e991
2016-09-20 09:05:38 -04:00
Randall Barker
7f569e53a9 Bug 1294707 - Part 2, Disable mouse event mochi tests on Android now that Fennec no longer supports native mouse events r=kats 2016-09-16 14:37:41 -07:00
Kartikaya Gupta
029140f6bf Back out bug 1296665 (cset b071166a07bc) for causing bug 1303434. rs=mstange 2016-09-16 17:32:36 -04:00
Markus Stange
99c3c5c5dd Bug 1300933 - Remove unnecessary forward declaration of mozilla::gfxs::DrawTarget. r=nical
MozReview-Commit-ID: 4WoYyQWyu53
2016-09-06 20:59:38 -04:00
Mason Chang
196df029f8 Bug 1299903. Force GDI Classic rendering for specific fonts with skia on windows. r=lsalzman 2016-09-16 12:25:42 -07:00
Mason Chang
053689b4b2 Bug 1301524 - Add a preference to disable AA on text. r=lsalzman 2016-09-16 12:11:35 -07:00
Sebastian Hengst
548f7778a1 Backed out changeset e0d755ab4cbd (bug 1302380) for timeouts reftest with e10s invariable-declaration-XX.html on Linux 32 bit. r=backout 2016-09-16 18:55:44 +02:00
Nicolas Silva
79bb9f5c0e Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond 2016-09-16 17:49:39 +02:00
Mason Chang
c2791e58ec Bug 1301920. Call MarkChanged before getting bitmap for surface in skia. r=lsalzman 2016-09-16 08:03:48 -07:00
Andi-Bogdan Postelnicu
1ae2d59400 Bug 1301333 - mark ImageBridgeThread::Init as initialisation function for ImageBridgeThread. r=jrmuizel
MozReview-Commit-ID: 4mveFlHumVE
2016-09-16 17:09:56 +03:00
Haik Aftandilian
d46766b464 Bug 1228022 - part 2 - Add support for reading Mac OS Roman encoded names from SFNTNameTables; r=jfkthame
When reading a U16 font name from the SFNTNameTable, a name entry
with platformID == 1 (Macintosh) and platformSpecificID
(aka encodingID) == 0 (Roman) is read as Mac Roman and converted
to U16.

This patch refactors the matchers created in CreateCanonicalU16Matchers
to return name encoding type instead of a boolean. The encoding
type can then be used to call the appropriate decoding function.

CreateCanonicalU16Matchers is also changed so that it doesn't
enqueue unnecessary matchers on OS X. On OS X, if the nametable
record's platformID field is PLATFORM_ID, IsUTF16Encoding() will
always return false so matchers requiring both of those conditions
will never match.

There are several other platformSpecificID's in Mac SFNTameTables
such as Japanese, Traditional Chinese, and Korean. Fonts with names
in those encodings won't have their names properly encoded, but
that should be OK as SFNTData::GetUniqueKey falls back to another
scheme for hashing fonts if the GetU16FullName call fails.

Tests on El Capitan and Sierra revealed Mac's use Microsoft/Unicode
SFNTNameTable names as well as Mac/Roman.

MozReview-Commit-ID: F8fyDVDwHs7

--HG--
extra : transplant_source : %F6%3F%5B%E9y%FD%93%8C%26s%D1n%FC%AEYp%5C%3D%A6j
2016-09-09 13:55:21 -07:00
Haik Aftandilian
e4b0bb24b7 Bug 1228022 - part 1 - Support replay of Mac print stream, adds NativeFontResourceMac, ScaledFontMac::GetCairoFontFace; r=jfkthame
Adds the necessary plumbing to allow Mac font creation and
referencing during replay of a remote print stream.

MozReview-Commit-ID: 18jpeImPwCI

--HG--
extra : transplant_source : %AE%3A%13%7B%E2VzMM%0F%AD%BF%A0%EC%BD%40%5E%281n
2016-09-15 14:13:57 -07:00
Nicolas Silva
f4d4ceeeed Bug 1302380 - Report canvas memory usage through the buffer provider. r=gw280 2016-09-16 10:13:19 +02:00
David Anderson
3836da7617 Remove PCompositable::DestroySync. (bug 1301780 part 2, r=nical) 2016-09-15 23:57:32 -07:00
David Anderson
5625cb3c96 Remove FallbackDestroyActors. (bug 1301780 part 1, r=nical) 2016-09-15 23:57:17 -07:00
David Anderson
3cab7db05c Use gfxCriticalError in CompositorBridgeChild::ProcessingError. (bug 1302413, r=milan) 2016-09-15 23:55:24 -07:00
Wes Kocher
14c8653f72 Merge inbound to central, a=merge 2016-09-15 16:28:10 -07:00
Wes Kocher
9b41318da3 Backed out changeset 1fef8a245875 (bug 1300338) for windows 8 reftest failures a=backout CLOSED TREE
--HG--
extra : amend_source : c838660fd6f11dda3ade05adda33b1beb9ea1590
2016-09-15 11:24:03 -07:00
Bas Schouten
4e18ab329e Bug 1300338: Do not attempt to preserve layer content when we're going to override it in a blend operation anyway. r=jrmuizel
MozReview-Commit-ID: DIEyrK89jtd

--HG--
extra : rebase_source : 0201b307ccc25f7d9ec40dd426effdaca586bb3b
2016-09-12 18:41:10 +02:00
Andi-Bogdan Postelnicu
7af9a3ed9e Bug 1278242 - ignore initialization check for members from SurfaceDescriptorX11. r=jrmuizel
MozReview-Commit-ID: G262l8C2mCl

--HG--
extra : rebase_source : 65a1a1012ba461d54b846ddb8072167f9bf81c22
2016-06-06 16:25:28 +03:00
Alexandre Lissy
f6ee6d53f2 Bug 1302641 - Update ImageBridgeChild::GetSingleton() use after 1298938 r=nical
MozReview-Commit-ID: Cs7xUcPnPoz
2016-09-14 19:01:21 +02:00
Nathan Froyd
16ae3f9d1e Bug 1298134 - fix member initialization order in VRDisplayOculus; r=kip 2016-09-14 19:28:26 -04:00
Nathan Froyd
07545fef15 Bug 1298132 - remove unused variables in gfxVROculus.cpp; r=kip 2016-09-14 19:28:26 -04:00
Kartikaya Gupta
463cd06d8d Bug 1302493 - Update the in-tree APZ documentation to reflect various changes since it was last updated. r=botond
MozReview-Commit-ID: Atu0RMSctq2
2016-09-14 07:54:46 -04:00
Kartikaya Gupta
ff457cf4f7 Bug 1269067 - Add a gtest to ensure that mouse drag blocks and wheel blocks don't interrupt each other. r=botond
MozReview-Commit-ID: F7FlcaTl4jl
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
51b88e5657 Bug 1289432 - Miscellaneous tweaks to address review comments. rs=botond
MozReview-Commit-ID: B57VOs7rdSH
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
dd5b4ca612 Bug 1289432 - Miscellaneous function renaming and documentation touchups. r=botond
MozReview-Commit-ID: IEUSxcIb0fN
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
fd5138db2a Bug 1289432 - Migrate remaining InputQueue code to use the new mQueuedInput structure instead of the block-based queue. r=botond
MozReview-Commit-ID: 41M1QGp8kcX
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
9e574c3e0d Bug 1289432 - Update a couple more functions to stop fishing around inside mInputBlockQueue. r=botond
MozReview-Commit-ID: TsIGZK43wb
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
5b33e5009a Bug 1289432 - Stop relying on the mEvents array inside the SetConfirmedTargetApzc implementations. r=botond
MozReview-Commit-ID: BG7BmQPa6g9
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
e9b2ac2229 Bug 1289432 - Drop the DispatchImmediate codepath. r=botond
Instead of having this special shortcut case that goes through MaybeHandleCurrentBlock
and DispatchImmediate, we can just add the input to the queue normally and call
ProcessInputBlocks() which effectively does the same thing. Doing it this way
also guarantees that mQueuedInputs is non-empty and mQueuedInputs[0] is the
input currently being processed. This is useful for future patches because it
will allow us to maintain the guarantee that the input block for the input
currently being processed can be readily accessed via GetCurrentInputBlock().

MozReview-Commit-ID: JuVbpsFLURo
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
f8d4e33b0b Bug 1289432 - Allow the CurrentBlock() and CurrentXXXBlock() functions to return null, and guard/assert at the callsites. r=botond
MozReview-Commit-ID: 77LWZBtAB9Y
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
43f18cb292 Bug 1289432 - Update checks for unprocessed events to use mQueuedInputs instead of checking the block is at the head. r=botond
MozReview-Commit-ID: GEHDHhkLPKe
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
e494dee6f9 Bug 1289432 - Switch over to using the mActiveXXXBlock in some places instead of fishing around in mInputBlockQueue. r=botond
Note that this patch has a subtle functional change because the mActiveXXXBlock
variables can remain non-null even if there are no blocks in mInputBlockQueue.
In fact, this patch contains the secret sauce that allows the input queue to
handle interleaved input events, because this ensures that the interleaved events
end up getting associated with the pre-existing active block rather than creating
a new one.

MozReview-Commit-ID: 7GkbSe9IaC4
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
19ed146d8d Bug 1289432 - Start populating the mQueuedInput array with queued input objects. r=botond
Most of the changes to InputBlockState.* are temporary and will be removed in a
future patch, once the transition to using mQueuedInputs is complete. However,
the code is useful as an intermediate step to verify that mQueuedInputs is
maintaining events in the same order and with the same lifetime as the old block-
based queue.

MozReview-Commit-ID: I8lVhMiT4hg
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
05d91128f8 Bug 1289432 - Introduce a skeleton QueuedInput class. r=botond
Note that this patch makes the InputData hierarchy polymorphic.

MozReview-Commit-ID: HrZ2KhHeDoy
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
4b8e63b75c Bug 1289432 - Have the InputQueue keep RefPtrs to the active block of each input type. r=botond
MozReview-Commit-ID: 36MatfdCVS8
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
eebba5eff4 Bug 1289432 - Use RefPtr instead of UniquePtr to hold the block state objects, since there will be multiple references to them soon. r=botond
MozReview-Commit-ID: BhWf1omgfoC
2016-09-14 07:54:36 -04:00
Edwin Flores
794b92fe7b Bug 1296996 - Use ProducerRead{Acquire/Release} in ReadBuffer::Create - r=jgilbert 2016-09-14 11:02:37 +01:00
Benoit Girard
fab198cffc Bug 1288746 - Handle missing EGL failure IDs. r=jmuizel
MozReview-Commit-ID: Kk5vFNMdhjV

--HG--
extra : rebase_source : 8a8851b91fa045c8cb13e1aee2c8c7c62d2b0a4e
2016-09-13 14:17:29 -04:00
Phil Ringnalda
7fc271e5f5 Backed out changeset 663cde4dd044 (bug 1287004) for crashes [@ XGetWindowAttributes]
CLOSED TREE
2016-09-13 21:06:19 -07:00
Bill McCloskey
a430c0ac5b Bug 1287004 - Give PuppetWidgets in parent process a compositor bridge (r=mattwoodrow) 2016-09-13 20:06:44 -07:00
George Wright
2f9a23cf41 Bug 1297565 - Fine tune and update our assertions based on old assumptions which may no longer be valid with a GPU process r=dvander 2016-09-13 22:58:54 -04:00
David Anderson
b5c10b4d4e Ensure IPDL owns a reference to ImageBridgeChild. (bug 1298938 part 6, r=billm)
--HG--
extra : rebase_source : 958b9b9cb6704d5b1d5096f63ef31fb0a8828009
2016-09-13 16:30:57 -07:00
David Anderson
07336b7d13 Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : 974ad32cfaf3ba6d1af75d8857f0a35da5aa3641
2016-09-13 16:30:57 -07:00
David Anderson
62129d7cb4 Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
--HG--
extra : rebase_source : 0419df6221d59c4e9b085015d8483267fb3d446f
2016-09-13 16:30:57 -07:00
David Anderson
f80736e0c8 Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 9579e1ca6ec1af2fac7cd0fc4574b849cc8b8e12
2016-09-13 16:30:57 -07:00
David Anderson
3da3b0f45c Simplify ImageBridgeChild asynchronous shutdown. (bug 1298938 part 3, r=nical)
--HG--
extra : rebase_source : 04516571d48f85a94d88a8eb424f8e41e04483ca
2016-09-13 16:30:56 -07:00
David Anderson
d1ef6f2696 Simplify ImageBridgeChild asynchronous initialization. (bug 1298938 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 1bdb57079ca7f3b4c2be6d1bcd5dd3f0ee0c92c1
2016-09-13 16:30:56 -07:00
David Anderson
82339b2d66 Route dispatches in ImageBridgeChild through |this|, not the singleton. (bug 1298938 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : bfadf1b91ad88503d4c37a6b4ac6dcc32cd78ca6
2016-09-13 16:30:56 -07:00
Jeff Muizelaar
05a47f9aef Bug 1298829. Move non-operator OVER handling to callback drawables. r=bas
This cleans up the code and makes us use an extra surface less.
2016-09-13 11:05:58 -04:00
Sotaro Ikeda
27cb0a7981 Bug 1300656 - Optimize gfxUtils::ConvertBGRAtoRGBA() r=jrmuizel 2016-09-12 22:19:29 -07:00
Hiroyuki Ikezoe
f98523cf02 Bug 1216843 - Part 2: Implement effect iteration composition. r=birtles, r=smaug
MozReview-Commit-ID: 6u7WtXwL3y3
2016-09-13 11:48:44 +09:00
Kartikaya Gupta
310bc9b9db Bug 1302128 - Fix a test so that it actually exercises the APZ layerization codepath it intends to exericse. r=botond
MozReview-Commit-ID: 81iyzNtVFuv

--HG--
extra : rebase_source : ebb63cd1f8fdf10aa45285eeec75895d6c432548
2016-09-12 11:48:47 -04:00
Timothy Nikkel
c630475661 Bug 1284350. Backed out changeset bb3bf463c0ec (Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond) 2016-09-12 00:19:08 -05:00
Carsten "Tomcat" Book
c81bda3e2d Merge mozilla-central to autoland 2016-09-09 12:19:59 +02:00
Carsten "Tomcat" Book
0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Shing Lyu
db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Manish Goregaokar
aad318e17a Bug 1300337 - Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
MozReview-Commit-ID: CxHzbEzjLxT

--HG--
extra : rebase_source : 232f90b8b107f7fb49f47a29a4e493660b8a7d87
2016-09-04 00:16:58 +05:30
Wes Kocher
c067786818 Merge m-c to inbound, a=merge CLOSED TREE 2016-09-08 15:28:31 -07:00
Wes Kocher
14246ed95a Backed out 7 changesets (bug 1298938) for mass leaks a=bustage CLOSED TREE
Backed out changeset d710b5ac1e13 (bug 1298938)
Backed out changeset df832e32e7aa (bug 1298938)
Backed out changeset 3f6883401be4 (bug 1298938)
Backed out changeset e43fc0029b90 (bug 1298938)
Backed out changeset 6dd0b4b22b23 (bug 1298938)
Backed out changeset 81e994db6b8c (bug 1298938)
Backed out changeset a757098353c6 (bug 1298938)
2016-09-08 13:28:14 -07:00
Wes Kocher
b916384275 Merge inbound to m-c a=merge 2016-09-08 15:21:19 -07:00
David Anderson
525494dda4 Ensure IPDL owns a reference to ImageBridgeChild. (bug 1298938 part 6, r=billm)
--HG--
extra : rebase_source : dc741004038c3ee4547d00959a35113f4e203ffc
2016-09-08 11:29:32 -07:00
David Anderson
dfe373c79e Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : ca2adf8e3a11e35633fdafd8a824e6528a3b7182
2016-09-08 11:29:32 -07:00
David Anderson
91559fcffe Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
--HG--
extra : rebase_source : 47d1a0b3da521d81da9ffea7e259104b508b7415
2016-09-08 11:29:31 -07:00
David Anderson
435ec16468 Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 1ea89a87362f86b7730f6a745dbcacb634806e07
2016-09-08 11:28:05 -07:00
David Anderson
f35fc93b1c Simplify ImageBridgeChild asynchronous shutdown. (bug 1298938 part 3, r=nical)
--HG--
extra : rebase_source : 841159573882b9341ca4cca575d27c8ff9e80650
2016-09-08 11:27:35 -07:00
David Anderson
c6665884b8 Simplify ImageBridgeChild asynchronous initialization. (bug 1298938 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 9ccc253894628c783bb74f96f9df5eae9a0469c0
2016-09-08 11:27:31 -07:00