Commit Graph

372307 Commits

Author SHA1 Message Date
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
Robert O'Callahan
42f5fe07b1 Bug 1022612. Part 7: Enable APZC for IPC reftests. r=billm
--HG--
extra : rebase_source : 3032baafc1ec69212c8d920b0795cff04f50fb87
2014-06-25 18:38:05 +12:00
Robert O'Callahan
a7afb232a3 Bug 1022612. Part 6: Set the initial mVisibleRect for each display item to the dirty rect when we create the item. r=mattwoodrow
--HG--
extra : rebase_source : b3207861e7476e954a8869a8b2d74e642ea6e56b
2014-06-09 16:47:59 +12:00
Robert O'Callahan
de75b34e18 Bug 1022612. Part 5: BuildDisplayListForExtraPage needs to pass the correct dirty rect in. r=mattwoodrow
When printing, every page has the same origin. So doing this change naively
would result in the first page having all the display items for every page
added to it, and all but the first page's display items being pruned
away by PruneDisplayListForExtraPage. This would making printing long documents
very slow. We avoid that problem with the new check for
NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO, so the only pages other than the
current page we descend into are the ones with placeholders for abs-pos content
on the current page.

--HG--
extra : rebase_source : b9b8c53d5ad5e4eb2d3c5e1f407d605558b3b9d0
2014-06-09 16:47:58 +12:00
Robert O'Callahan
b928ef8d93 Bug 1022612. Part 4: Track current dirty rect in nsDisplayListBuilder. r=mattwoodrow
We need this to set the initial visible rect during display list construction.
Eventually we'll also be able to get rid of the dirty rect parameter to
nsIFrame::BuildDisplayList.

--HG--
extra : rebase_source : b793c7d51917b85ea2a5f39993bc1fec24b49d04
2014-05-20 15:59:14 +12:00
Robert O'Callahan
2f1bbefcfd Bug 1022612. Part 3: Rename "cached frame" to "current frame" in nsDisplayListBuilder and take advantage of the fact it's always set. r=mattwoodrow
--HG--
extra : rebase_source : cde43a3f358fbb0991ed84d10fc4e1a0de255e9c
2014-05-20 15:49:54 +12:00
Robert O'Callahan
3baea5dd36 Bug 1022612. Part 2: Remove unused nsDisplayWrapList constructor. r=mattwoodrow
--HG--
extra : rebase_source : 724f95df1dec4a8c7e1a136e029b06e56eb7202f
2014-05-20 15:08:20 +12:00
Robert O'Callahan
8d8168a588 Bug 1022612. Part 1: Always pass a frame to AutoBuildingDisplayList. r=mattwoodrow
--HG--
extra : rebase_source : 7ae8b6e75e0ceeda8afd214e9792a915a21928e3
2014-05-20 15:08:18 +12:00
Neil Rashbrook
5aea9a701a Bug 1041140 Fix design flaws in FakeString r=bz 2014-07-19 14:23:19 +01:00
Sotaro Ikeda
5c36208714 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Marco Castelluccio
dbbaa5a183 Bug 1040179 - Test marketplace-dev certificates. r=fabrice 2014-07-19 13:51:24 +02:00
Trevor Saunders
21fb0d365a no bug - don't return nullptr in functions returning bool r=themaid 2014-07-17 20:11:27 -04:00
L. David Baron
759eebe6d2 Bug 1040386: Fix hopefully-harmless CSS syntax error in isOMTAWorking(). r=birtles
I noticed this in the logs of a B2G emulator mochitest run.
2014-07-18 21:22:20 -07:00
L. David Baron
374118e754 Bug 1041060: Use AllocateByObjectID/FreeByObjectID for nsInheritedStyleData and nsResetStyleData. r=heycam
This is similar to bug 1038488, which did the same for style structs.
This means the entire path from frame to style struct should be
allocated using frame IDs or object IDs.
2014-07-18 21:22:20 -07:00
Wes Kocher
aaecca5c9f Backed out 3 changesets (bug 1037408) for dt orange on a CLOSED TREE
Backed out changeset 8833bb7e90de (bug 1037408)
Backed out changeset c9cfdc0bbfbc (bug 1037408)
Backed out changeset f875dc5e0df7 (bug 1037408)
2014-07-18 21:04:00 -07:00
Wes Kocher
d1342c1421 Backed out changeset 1db5409ea062 (bug 1037430) for dt orange on a CLOSED TREE 2014-07-18 21:03:15 -07:00
Wes Kocher
df4be1aa83 Merge m-c to inbound 2014-07-18 18:44:43 -07:00
Wes Kocher
3d1abf596a Merge m-c to inbound 2014-07-18 18:42:49 -07:00
Wes Kocher
fce4d7a57d Merge fx-team to m-c a=merge 2014-07-18 18:31:46 -07:00
Wes Kocher
f35c6038e3 Merge b2g-inbound to m-c a=merge 2014-07-18 18:19:48 -07:00
Wes Kocher
9fd887a056 Merge inbound to m-c a=merge 2014-07-18 17:51:39 -07:00
Florian Quèze
e8ce41b015 Bug 1037430 - implement webrtc global indicator in the Mac menubar, r=dolske. 2014-07-19 02:49:19 +02:00
Florian Quèze
0635b86b59 Bug 1037408 - implement the global indicator window, initial patch by Gijs, r=dolske. 2014-07-19 02:49:19 +02:00
Florian Quèze
a3cc5a9278 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
6bad024580 Bug 1037408 - add booleans to webrtcUI indicating which sharing indicators should be shown, r=dolske. 2014-07-19 02:49:18 +02:00
Bill McCloskey
b7d71d4781 Bug 1039034 - Don't leak add-on interpositions at shutdown (r=bholley) 2014-07-18 16:50:55 -07:00
Mike Hommey
40d22b0bb7 Bug 1040649 - Detect changes to frozen variables between rules.mk include and the end of Makefile.in. r=mshal 2014-07-19 08:46:33 +09:00
Mike Hommey
d3f990ebdb Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
B2G Bumper Bot
8c3e3b99ee Bumping manifests a=b2g-bump 2014-07-18 15:46:18 -07:00
B2G Bumper Bot
336b45f54f Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/4af9ed6ff7ff
Author: Yura Zenevich <yura.zenevich@gmail.com>
Desc: Merge pull request #21945 from yzen/bug-1040290

Bug 1040290 - remedying the visibility conflict between the value select...

========

https://hg.mozilla.org/integration/gaia-central/rev/d0cf1ea8dce8
Author: Yura Zenevich <yzenevich@mozilla.com>
Desc: Bug 1040290 - remedying the visibility conflict between the value selector and the system dialog that triggers it.
2014-07-18 15:40:31 -07:00
Wes Kocher
f4ffadfc12 Backed out changeset a1778d8e2e38 (bug 1030889) for mochitest-oth orange 2014-07-18 15:01:39 -07:00
Mark Finkle
466e920d5e Bug 1006186 - Update discovery tests since we support webm now r=me 2014-07-18 17:41:31 -04:00
B2G Bumper Bot
40190527e2 Bumping manifests a=b2g-bump 2014-07-18 14:06:16 -07:00
B2G Bumper Bot
d61c6c8471 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/5fa77f5e0bff
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Merge pull request #21926 from etiennesegonzac/bug-1039445

Bug 1039445 - Preventing a race where the LayoutManager compute a 0 height. r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/03b32994fe2b
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Bug 1039445 - Preventing a race where the LayoutManager compute an available height of 0.
2014-07-18 14:00:31 -07:00
B2G Bumper Bot
51075ea352 Bumping manifests a=b2g-bump 2014-07-18 13:56:41 -07:00
B2G Bumper Bot
e6e4cfcb2e Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/7f597f1bc740
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1040070 - Follow-up, revert change to default number of columns r=me
2014-07-18 13:50:31 -07:00