Commit Graph

372342 Commits

Author SHA1 Message Date
Florian Quèze
287da9c56c Bug 1037408 - implement the global indicator window, initial patch by Gijs, r=dolske. 2014-07-19 02:49:19 +02:00
Florian Quèze
61d0f1410c Bug 1037408 - webrtcUI's activeStreams getter should be able to return lists for a specific device type, r=dolske. 2014-07-19 02:49:19 +02:00
Florian Quèze
bc3eaa47bb Bug 1037408 - add booleans to webrtcUI indicating which sharing indicators should be shown, r=dolske. 2014-07-19 02:49:18 +02:00
Florian Quèze
4282b5345d Bug 1041155 - The browser_wa_properties-view-media-nodes.js test doesn't wait for the audio device to be actually closed, r=paul. 2014-07-19 20:08:28 +02:00
L. David Baron
832526d1c0 Back out changeset f698c8166457 (bug 1035075) for B2G ICS Emulator Opt mochitest-7 orange. 2014-07-19 09:12:27 -07:00
Georg Fritzsche
76143072aa Bug 1040937 - Fix GMPInstallManager and OpenH264Provider using different pref names r=Unfocused a=kwierso 2014-07-19 02:23:47 +02:00
Randell Jesup
94e46c06aa Bug 1040937 - GMPInstallManager/OpenH264Provider using wrong directory/plugin names r=unfocused a=kwierso 2014-07-19 00:58:22 -04:00
Richard Barnes
91cfa4eae8 Bug 1034852 - Add support for AES-KW to WebCrypto API r=keeler 2014-07-19 07:04:00 -05:00
Richard Barnes
e10fdbd715 Bug 1025230 - Allow import/export of JWK-formatted keys in WebCrypto r=bz,keeler 2014-07-19 08:25:00 -05:00
Richard Barnes
58860abf23 Bug 1034851 - Add wrapKey and unwrapKey methods to WebCrypto API r=bz 2014-07-19 08:24:00 -05:00
Robert O'Callahan
e3578f6893 Bug 1022612. Part 46: Work around pixman bug to make sure nsRegionRectIterator never returns an empty rect. r=mattwoodrow
--HG--
extra : rebase_source : c88f571a6f791c4ead93fc41f6d2b731ec8813f6
2014-07-19 14:30:08 +12:00
Robert O'Callahan
81683c4091 Bug 1022612. Part 45: Increase region complexity limit for mDrawAboveRegion/mVisibleAboveRegion to fix scroll-rounding.html test failure. r=mattwoodrow
--HG--
extra : rebase_source : 5c9ee0d12fa7622f90058e856428c0e815e6a35b
2014-07-17 15:41:06 +12:00
Robert O'Callahan
523a37f723 Bug 1022612. Part 44: Make nsSimplePageSequence only paint the pages that are actually in the dirty rect. r=mattwoodrow
--HG--
extra : rebase_source : 07ec3a1fa4f8a9086f2e16b170172c6d21052dc1
2014-07-17 15:39:39 +12:00
Robert O'Callahan
b55f535d57 Bug 1022612. Part 43: Fix up SuppressComponentAlpha to allow component alpha in inactive layers over opaque parts of the chrome window. r=mattwoodrow
--HG--
extra : rebase_source : d6489832ba0a14c38647e25bfe632d2efc698f80
2014-07-15 16:23:37 +12:00
Robert O'Callahan
88a4213214 Bug 1022612. Part 42: Add opaque regions of ThebesLayer content to the "exclude glass" region. r=mattwoodrow
--HG--
extra : rebase_source : 715df6c86b139aec7ad607e56c89dbfad3475380
2014-07-14 12:46:13 +12:00
Robert O'Callahan
4008d7d45d Bug 1022612. Part 41: Use itemType instead of calling GetType() again. r=mattwoodrow
--HG--
extra : rebase_source : 6d82f8396d235d23e4694a91bbf1e60bae0ad286
2014-07-11 13:18:10 +12:00
Robert O'Callahan
687f5fda20 Bug 1022612. Part 40: Restrict visible rect of 3D-transformed layers before converting to nsIntRect. r=mattwoodrow
--HG--
extra : rebase_source : 72d2b3dc2649ea63594c5c712f53b45eb8c78acd
2014-07-11 13:17:47 +12:00
Robert O'Callahan
29ffeb8a15 Bug 1022612. Part 39: Add a little bit of reftest fuzzing. r=mattwoodrow
--HG--
extra : rebase_source : b996dc16b034a458da05d1daceac601c5e999b3b
2014-07-07 17:46:56 +12:00
Robert O'Callahan
51f611ba9b Bug 1022612. Part 38: Avoid test failure due to antialiased pixel leakage. r=mattwoodrow
--HG--
extra : rebase_source : 49cf06c8ec34ecd35f26173f2a8954fd3d44b0cd
2014-07-07 17:46:56 +12:00
Robert O'Callahan
815af71a46 Bug 1022612. Part 37: Remove aAllowVisibleRegionExpansion. r=mattwoodrow
This is no longer needed thanks to the readback simplification.

--HG--
extra : rebase_source : 659147670395fefe41647daab8af93f6c439a99c
2014-06-23 16:24:51 +12:00
Robert O'Callahan
fec34e5e0f Bug 1022612. Part 36: Avoid redundant calls to ShouldPrerenderTransformedContent. r=mattwoodrow
--HG--
extra : rebase_source : 0c1fd6bbe77ccf5811620be8333a5dfdc21e2d5b
2014-06-23 16:24:15 +12:00
Robert O'Callahan
f3db7ea4ad Bug 1022612. Part 35: nsDisplayPluginReadback doesn't need to hack visible regions anymore. r=mattwoodrow
One nice bit of fallout from this bug is that handling plugin background
readback is simplified. We no longer have to fiddle with display item
visibility calculations; only layer occlusion culling has to know about
readback.

--HG--
extra : rebase_source : 0f389e66354c6e345311da01b739a81ced73d699
2014-06-23 16:24:14 +12:00
Robert O'Callahan
11fd05eb6b Bug 1022612. Part 34: Skip RecomputeVisibilityForItems in inactive layers. r=mattwoodrow
RecomputeVisibilityForItems for the retained ThebesLayer already recomputes
visibility for all items in that layer, including items nested in other items.

--HG--
extra : rebase_source : 5549164408aef7bcb3fb9204b1d6b96476d3f675
2014-06-23 16:24:14 +12:00
Robert O'Callahan
06102a099d Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
This hasn't been used for a while I guess.

--HG--
extra : rebase_source : d59328f96a11cc65e141c75475c09edac5d42af2
2014-06-23 16:24:14 +12:00
Robert O'Callahan
b2460097a3 Bug 1022612. Part 32: Remove nsDisplayItem::SetVisibleRegionOnLayer. r=mattwoodrow
It is no longer called because FrameLayerBuilder always sets the visible
regions on layers now.

--HG--
extra : rebase_source : b6c375fbbaeb79e7332cb55bdda9943bc1ee7f3c
2014-06-23 16:24:14 +12:00
Robert O'Callahan
d49884afea Bug 1022612. Part 31: Perform layer-level occlusion culling in FrameLayerBuilder. r=mattwoodrow
We need this to avoid constructing and painting unncecessarily large
ThebesLayers.

--HG--
extra : rebase_source : 22b1fbbd8b561bd68831ac1fb957d2d1901f3297
2014-06-23 16:24:00 +12:00
Robert O'Callahan
808792d22f Bug 1022612. Part 30: Expose IsConstructingScrollLayerForScrolledFrame and IsDisplayPortOpaque on nsDisplayScrollLayer. r=mattwoodrow
--HG--
extra : rebase_source : 87d76ad3e9d560f34dad56c25cb96516871e280a
2014-06-23 16:23:58 +12:00
Robert O'Callahan
aaeac2837d Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
--HG--
extra : rebase_source : bca7885147f0328d9700770052500e856d131bd9
2014-06-23 16:21:42 +12:00
Robert O'Callahan
928a12a3f6 Bug 1022612. Part 28: Make nsLayoutUtils::GetScrollableFrameFor return null for non-scrolled-frames. r=mattwoodrow
--HG--
extra : rebase_source : 8d2165d5cf10c7997925cd17b23a39c593127018
2014-07-09 10:12:41 +12:00
Robert O'Callahan
4ee42acd8c Bug 1022612. Part 27: Make FrameLayerBuilder responsible for setting all layer visible regions. r=mattwoodrow
Calling Layer::SetVisibleRegion multiple times in a transaction can result in
unnecessary IPC traffic.

This patch removes Intersect(childGfxBounds). This is only needed to
restrict the visible region to something sane for 3D transforms, and this will
be fixed up in a later patch.

--HG--
extra : rebase_source : 4518bc060fa2c28dacdb7d3aaeca55a148dfe762
2014-06-18 15:12:55 +12:00
Robert O'Callahan
77fd4a6c97 Bug 1022612. Part 26: nsDisplayList::mVisibleRect is no longer used. r=mattwoodrow
--HG--
extra : rebase_source : 7043ed9341a44cbb35f7ac5d836fe9b11a0f3911
2014-06-12 00:09:13 +12:00
Robert O'Callahan
8d8d911af5 Bug 1022612. Part 25: We don't need to explicitly worry about displayports anymore when computing occlusion. r=mattwoodrow
--HG--
extra : rebase_source : 45b7a56291309e79327d240e81b1de4c499695dc
2014-06-09 16:48:02 +12:00
Robert O'Callahan
a438107cde Bug 1022612. Part 24: Simplify nsDisplayList::ComputeVisibilityForSublist now that FrameLayerBuilder does most of the work. r=mattwoodrow
--HG--
extra : rebase_source : 0db68211898c111a465dc641bed8e3b2923f0e4e
2014-06-09 16:48:02 +12:00
Robert O'Callahan
f00b9f098c Bug 1022612. Part 23: Remove nsDisplayItem::IsVaryingRelativeToMovingFrame. r=mattwoodrow
It's obsolete and no-one calls it.

--HG--
extra : rebase_source : f07121d1e5766d7b2a0ecdc2d10bc3ccf587a14b
2014-06-09 16:48:02 +12:00
Robert O'Callahan
b767cf2502 Bug 1022612. Part 22: Add MOZ_COUNT_CTOR to nsDisplayWrapList. r=mattwoodrow
--HG--
extra : rebase_source : 09252e01de90bd3e5c0cb77de80ee88e24b85f05
2014-06-09 16:48:01 +12:00
Robert O'Callahan
de781d04dc Bug 1022612. Part 21: Remove DidComputeVisibility checking. r=mattwoodrow
--HG--
extra : rebase_source : 31b54ea4998ddc6fa62369f9f943b4c751101cad
2014-06-09 16:48:01 +12:00
Robert O'Callahan
6fb1dbced3 Bug 1022612. Part 20: Do the business. r=mattwoodrow
--HG--
extra : rebase_source : c13789e08893c3ac7745aa32c9002b6edb6e2192
2014-06-09 16:48:01 +12:00
Robert O'Callahan
38b537abbf Bug 1022612. Part 19: Test that merged display item lists merge their contents in the correct z-order. r=mattwoodrow
Prior to this patch, the only tests that caught this were a couple of obscure
cases on B2G. This test tests it on all platforms.

--HG--
extra : rebase_source : b4bb464bab59dd1d8c5e6b8aa4402d040105b27d
2014-07-07 17:46:29 +12:00
Robert O'Callahan
0494ac0078 Bug 1022612. Part 18: When ComputeVisibility returns false, RecomputeVisibility should avoid painting the item. r=mattwoodrow
--HG--
extra : rebase_source : 5f4fcb05204262bf6fea0c9df00137ab7e26bb00
2014-06-20 17:24:31 +12:00
Robert O'Callahan
bc099798f5 Bug 1022612. Part 17: RecordFrameMetrics should not set layer visible regions. r=mattwoodrow
This is unnecessary. FrameLayerBuilder sets the correct region.

--HG--
extra : rebase_source : 4fdef8f272870667a73575685e04644dca9473f3
2014-06-11 23:12:14 +12:00
Robert O'Callahan
9e611413fa Bug 1022612. Part 16: No need to exclude final transparent region from window opaque region. r=mattwoodrow
The removed code should be a no-op as long as the window opaque region is
accurate enough.

--HG--
extra : rebase_source : 7486f406da1f01ca13bb903c2a171e68da8aa6ab
2014-06-09 16:48:01 +12:00
Robert O'Callahan
449ed4f41e Bug 1022612. Part 15.5: Use GetVisibleRectForChildren instead of GetVisibleRect. r=mattwoodrow
--HG--
extra : rebase_source : 4d90594855dbd4d8ff39d05c19703187004d9544
2014-07-15 23:49:38 +12:00
Robert O'Callahan
7632a9b8c6 Bug 1022612. Part 15: Add nsDisplayItem::GetVisibleRectForChildren(). r=mattwoodrow
--HG--
extra : rebase_source : cf958f41493ab25762f0c3bcc0361b0810e88549
2014-07-15 23:47:46 +12:00
Robert O'Callahan
60c38334c4 Bug 1022612. Part 14: Don't compute a final transparent region anymore. r=mattwoodrow
Computing this via FrameLayerBuilder is some work and we don't really have to.

SuppressComponentAlpha will be true in more cases. This will be OK as long as
text in the chrome window is over opaque content in the same ThebesLayer. We
will miss some edge cases such as text in 'opacity' with no opaque background.
This should be OK.

--HG--
extra : rebase_source : fa23d4980710a3961f23cedf3ebdf01b49d63518
2014-06-09 16:48:00 +12:00
Robert O'Callahan
ef4dbca93e Bug 1022612. Part 13: Set mDidComputeVisibility in ProcessDisplayItems. r=mattwoodrow
--HG--
extra : rebase_source : c17d6f4c83b9a47c8d3158203ebe0cbff8d2d313
2014-07-07 17:46:28 +12:00
Robert O'Callahan
2e2da32afb Bug 1022612. Part 12: Propagate NeedsTransparentSurface in ProcessDisplayItems. r=mattwoodrow
--HG--
extra : rebase_source : e740f6a911e665473feca002711853351ca3e078
2014-06-09 16:48:00 +12:00
Robert O'Callahan
5abf69fdfb Bug 1022612. Part 11: Set opaque flag on nsDisplayList if we find an opaque item that covers the whole list. r=mattwoodrow
This is less general than what nsDisplayItem::ComputeVisibility does. This means
if multiple opaque items together cover the list bounds, but not individually,
we won't mark the list as opaque. I think that should be OK.

--HG--
extra : rebase_source : 947fe7bfe8729703ebd46288dfa29f0935fadf87
2014-06-09 16:48:00 +12:00
Robert O'Callahan
f454ea8959 Bug 1022612. Part 10: Implement merging and flattening in ProcessDisplayItems. r=mattwoodrow
BuildContainerLayerFor now has to be able to mutate the passed-in display item
list.

--HG--
extra : rebase_source : a3cf9106703d4946a49a73ef60a605f72b2afee3
2014-06-09 16:48:00 +12:00
Robert O'Callahan
621ee65ba4 Bug 1022612. Part 9: nsDisplayScrollInfoLayer destructor does not need to destroy ScrollLayerCount. r=mattwoodrow
Getting the timing of this right without processing display items in reverse
order is hard. But it doesn't matter if this property sticks around anyway.

--HG--
extra : rebase_source : a5a68cc0184209506b5c842bf3c5b90648aae159
2014-06-09 16:47:59 +12:00
Robert O'Callahan
bb2fc8e625 Bug 1022612. Part 8: nsDisplayWrapList (but not subclasses) should return true for ShouldFlattenAway. r=mattwoodrow
Also the assertion in TryMerge is going away because we're going to do TryMerge
first in FrameLayerBuilder.

--HG--
extra : rebase_source : de8a1a620279182bf5e33165aa9bbe9a74c08a73
2014-06-09 16:47:59 +12:00