Wes Kocher
dfeed1d453
Merge fx-team to m-c a=merge
2014-07-18 18:31:46 -07:00
Michael Ratcliffe
4969ae2773
Bug 1035106 - Add new APIs to DOMUtils: colorToRGBA, isValidCSSColor & cssPropertyIsValid r=bz
2014-07-17 15:08:07 +01:00
Mats Palmgren
bd069e5406
Bug 1028462 - Increase the fuzzyness to 3 on B2G. r=me
2014-07-18 17:01:55 +00:00
Abhishek Arya
27016885bd
Bug 812893 - crashtest.
2014-07-18 17:01:55 +00:00
Jesse Ruderman
d38b8dc96c
Bug 812879 - Crash tests.
2014-07-18 17:01:55 +00:00
Jesse Ruderman
d1dc2c1031
Bug 812665 - crashtest.
2014-07-18 17:01:54 +00:00
Abhishek Arya
2590fc9b5c
Bug 785555 - crashtest.
2014-07-18 17:01:54 +00:00
Douglas Crosher
6cb3b8a583
Bug 783228 - crashtest.
2014-07-18 17:01:54 +00:00
Neil Deakin
7b7c599f57
Bug 1027057
, fix closing animation comment
2014-07-18 12:58:26 -04:00
Abhishek Arya
d1acdbd737
Bug 824862 - crashtest.
2014-07-18 10:47:08 +00:00
Atte Kettunen
2157314cd5
Bug 840480 - crashtest.
2014-07-18 10:47:08 +00:00
w3bd3vil@gmail.com
674fd31fdb
Bug 842166 - crashtest.
2014-07-18 10:47:08 +00:00
Abhishek Arya
15b252d63a
Bug 850931 - crashtest.
2014-07-18 10:47:08 +00:00
miaubiz@gmail.com
38142795b3
Bug 876092 - crashtest.
2014-07-18 10:47:08 +00:00
Jesse Ruderman
9cf941a546
Bug 919434 - crashtest.
2014-07-18 10:47:07 +00:00
Jesse Ruderman
cc8f0a883c
Bug 931450 - crashtest.
2014-07-18 10:47:07 +00:00
Aki Helin
aca71ad0e8
Bug 1015844 - crashtest.
2014-07-18 10:47:07 +00:00
Matt Woodrow
3a3d8a6318
Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
5bdb7149cd
Bug 1023677 - Don't flatten active transform layers. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
3c9f515973
Bug 1023677 - Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
993627b4a9
Bug 1023677 - Don't repeat layer building if there was only a single layer. r=roc
2014-07-18 18:48:22 +12:00
Matt Woodrow
20934bd987
Bug 1023677 - Mark BasicCompositor as not supporting component alpha layers. r=roc
2014-07-18 18:48:22 +12:00
Markus Stange
df4a87e861
Bug 671302 - Avoid passing large offsets into pixman when drawing repeated background images. r=roc
2014-07-18 11:48:38 +02:00
Morris Tseng
8837e8ec54
Bug 1026431 - Determine tilt mode by next character of startFrame and previous character of endFrame. r=roc
2014-07-15 22:44:00 +02:00
Daniel Holbert
d631575d22
Bug 1039796 - Use int64_t-based MULDIV() more consistently when working with aspect ratios in nsLayoutUtils.cpp. r=dbaron
2014-07-17 13:39:00 +02:00
Martijn Wargers
e1d5bcfbc8
Bug 941459 - [e10s] pushPrefEnv, popPrefEnv in specialPowersAPI.js not e10s friendly. r=jmaher
2014-07-13 17:00:26 +02:00
Ahmed Kachkach
68c23f6dff
Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger
2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
2aaafaa843
Backed out changeset 3c5f96882e6c (bug 1023677)
2014-07-18 10:45:29 +02:00
Carsten "Tomcat" Book
60049afdd6
Backed out changeset 84df2aaf5e2a (bug 1023677)
2014-07-18 10:45:27 +02:00
Carsten "Tomcat" Book
0bf6463290
Backed out changeset d03cb12a166e (bug 1023677)
2014-07-18 10:45:26 +02:00
Carsten "Tomcat" Book
59202fa4d3
Backed out changeset b049e0ae4d1d (bug 1039145)
2014-07-18 10:45:24 +02:00
Matt Woodrow
9d23fbeec7
Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
1ab52db0e1
Bug 1023677 - Don't flatten active transform layers. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
3ebbf18e71
Bug 1023677 - Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
d87363d969
Bug 1023677 - Don't repeat layer building if there was only a single layer. r=roc
2014-07-18 18:48:22 +12:00
Bobby Holley
7239458847
Bug 1038844 - Flip the scary automation pref for crashtests and marionette. r=jgriffin
2014-07-17 21:34:48 -07:00
Kartikaya Gupta
ac6718b01f
Bug 1016481 - Prevent dispatching a click when the touch-end event is cancelled. r=smaug r=botond
2014-07-17 22:24:23 -04:00
Brian Birtles
1b647974c5
Bug 1038032 part 2 - Add test case for overflowing TimeDuration; r=dholbert
2014-07-18 10:31:18 +09:00
Brian Birtles
22fb85ab54
Bug 1038032 part 1 - Add temporary workaround to avoid overflow when calculating the active end of an animation; r=dholbert
2014-07-18 10:31:17 +09:00
Botond Ballo
1c81f3cab1
Bug 1039623 - Set scroll parent id correctly for nsSubDOcumentFrame. r=tn
2014-07-16 19:08:28 -04:00
Ryan VanderMeulen
c9aaac00ed
Backed out 46 changesets (bug 1022612) for B2G mochitest permafails on a CLOSED TREE.
...
Backed out changeset 34b3014a3112 (bug 1022612)
Backed out changeset 6ae9316fd909 (bug 1022612)
Backed out changeset b8f3749c95eb (bug 1022612)
Backed out changeset caab10bf6ca3 (bug 1022612)
Backed out changeset 0c57c620c898 (bug 1022612)
Backed out changeset fac64141a00a (bug 1022612)
Backed out changeset bf0df1c9d68b (bug 1022612)
Backed out changeset b42054800020 (bug 1022612)
Backed out changeset 667793b21194 (bug 1022612)
Backed out changeset f14ada64fe1b (bug 1022612)
Backed out changeset 75b837686bdf (bug 1022612)
Backed out changeset 66de53183a22 (bug 1022612)
Backed out changeset 0ff86ced4d46 (bug 1022612)
Backed out changeset 18eecc5b1ef7 (bug 1022612)
Backed out changeset 2763c4878de5 (bug 1022612)
Backed out changeset b72413ecc385 (bug 1022612)
Backed out changeset b23f1081afb8 (bug 1022612)
Backed out changeset f7e2c6a72043 (bug 1022612)
Backed out changeset 959917c9027d (bug 1022612)
Backed out changeset 0268a46f4880 (bug 1022612)
Backed out changeset 3388856a80ad (bug 1022612)
Backed out changeset e4b17cf0f806 (bug 1022612)
Backed out changeset 2f4e9da0e4b6 (bug 1022612)
Backed out changeset 489f6a7c0c03 (bug 1022612)
Backed out changeset 8369d9ad7ad3 (bug 1022612)
Backed out changeset 0758d2a06002 (bug 1022612)
Backed out changeset f2ae9cb22edb (bug 1022612)
Backed out changeset 9c48c6ee5dc2 (bug 1022612)
Backed out changeset fe7134400f08 (bug 1022612)
Backed out changeset cc2c5397ca8b (bug 1022612)
Backed out changeset a3d1a3e8b39d (bug 1022612)
Backed out changeset 8974b74b0eb0 (bug 1022612)
Backed out changeset 75f7dbb5a2a6 (bug 1022612)
Backed out changeset 2aa04a071e60 (bug 1022612)
Backed out changeset f2ab1bcd4c39 (bug 1022612)
Backed out changeset da9152b6ea29 (bug 1022612)
Backed out changeset 58abf5b0e148 (bug 1022612)
Backed out changeset 797058a09ad2 (bug 1022612)
Backed out changeset ea3e99a92ff0 (bug 1022612)
Backed out changeset adc4a4a7aa73 (bug 1022612)
Backed out changeset 7b18dedd1505 (bug 1022612)
Backed out changeset 055dd1921e8e (bug 1022612)
Backed out changeset 42fa2c97e989 (bug 1022612)
Backed out changeset cd594236388f (bug 1022612)
Backed out changeset 9eadc5fee43d (bug 1022612)
Backed out changeset 5cc8d30ff7c9 (bug 1022612)
2014-07-17 11:24:47 -04:00
Carsten "Tomcat" Book
f14b5f1cfd
Backed out changeset 87ae841e4f92 (bug 1021564) for crashtest failures/assertions on a CLOSED TREE
2014-07-17 16:12:46 +02:00
Martijn Wargers
cd9022a952
Bug 945781 - Remove ChromePowers.js. r=jmaher
2014-07-14 23:40:49 +02:00
Markus Stange
2b7fd07f53
Bug 1021564 - Invalidate filtered frames when they move in certain ways. r=roc
2014-07-17 14:58:24 +02:00
Robert O'Callahan
5d85a56fca
Bug 1022612. Part 45: Increase region complexity limit for mDrawAboveRegion/mVisibleAboveRegion to fix scroll-rounding.html test failure. r=mattwoodrow
...
--HG--
extra : rebase_source : 27ec3c7fc9d06fa2b904ffce5324f94dff0c4ca4
2014-07-17 15:41:06 +12:00
Robert O'Callahan
502f7add07
Bug 1022612. Part 44: Make nsSimplePageSequence only paint the pages that are actually in the dirty rect. r=mattwoodrow
...
--HG--
extra : rebase_source : db68601989475a5877d1cb94e0b23ade444669f4
2014-07-17 15:39:39 +12:00
Robert O'Callahan
8dcf2ec23f
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 : b3c9dae42dac31e32623accb15750ed834e3e8ed
2014-07-15 16:23:37 +12:00
Robert O'Callahan
a7b9e2d8f7
Bug 1022612. Part 42: Add opaque regions of ThebesLayer content to the "exclude glass" region. r=mattwoodrow
...
--HG--
extra : rebase_source : 26af2a0828f64ee9e1f481f59eba60055df4cbf2
2014-07-14 12:46:13 +12:00
Robert O'Callahan
c00477284b
Bug 1022612. Part 41: Use itemType instead of calling GetType() again. r=mattwoodrow
...
--HG--
extra : rebase_source : 05cd56313710a435b2ba3c3dc52b8bf9e49678b0
2014-07-11 13:18:10 +12:00
Robert O'Callahan
eae958f75b
Bug 1022612. Part 40: Restrict visible rect of 3D-transformed layers before converting to nsIntRect. r=mattwoodrow
...
--HG--
extra : rebase_source : 27f2a3d107c822dd94819e58f6ecbf9e843c0359
2014-07-11 13:17:47 +12:00
Robert O'Callahan
ff388d1484
Bug 1022612. Part 39: Add a little bit of reftest fuzzing. r=mattwoodrow
...
--HG--
extra : rebase_source : 1600e96c12b0419b05da5a28f7d0e384db6d10c3
2014-07-07 17:46:56 +12:00
Robert O'Callahan
86826aad6b
Bug 1022612. Part 38: Avoid test failure due to antialiased pixel leakage. r=mattwoodrow
...
--HG--
extra : rebase_source : aefcd7f5ce65eaa96a0da3253f475189baf02fc4
2014-07-07 17:46:56 +12:00
Robert O'Callahan
1ddbeb28d2
Bug 1022612. Part 37: Remove aAllowVisibleRegionExpansion. r=mattwoodrow
...
This is no longer needed thanks to the readback simplification.
--HG--
extra : rebase_source : 5c288eec4f5af7b40e6e2545198000fb6e326c25
2014-06-23 16:24:51 +12:00
Robert O'Callahan
612340319b
Bug 1022612. Part 36: Avoid redundant calls to ShouldPrerenderTransformedContent. r=mattwoodrow
...
--HG--
extra : rebase_source : 65430671c665a7cfdf7bab2593d6b8af33986d30
2014-06-23 16:24:15 +12:00
Robert O'Callahan
774c36220a
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 : 5aafcb5496e3d60aea705768c28836267f848ec8
2014-06-23 16:24:14 +12:00
Robert O'Callahan
8fcbf3d715
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 : f729f754da18d7ce67577fc5b3ca065f2103e218
2014-06-23 16:24:14 +12:00
Robert O'Callahan
c699a0a54e
Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
...
This hasn't been used for a while I guess.
--HG--
extra : rebase_source : 2f1d090404040d53af34fdf129323f0ef725fc70
2014-06-23 16:24:14 +12:00
Robert O'Callahan
0429a5b71b
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 : e5a4d2985c055b3d53137e0bb4822961dbf57408
2014-06-23 16:24:14 +12:00
Robert O'Callahan
3525926b7b
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 : fd56072f7932fa9c39f314c4d95cdd0d1ad13de3
2014-06-23 16:24:00 +12:00
Robert O'Callahan
4ca3ae2330
Bug 1022612. Part 30: Expose IsConstructingScrollLayerForScrolledFrame and IsDisplayPortOpaque on nsDisplayScrollLayer. r=mattwoodrow
...
--HG--
extra : rebase_source : 0c93329b450dbf046a4a1a30cd32b1896f5b233f
2014-06-23 16:23:58 +12:00
Robert O'Callahan
640e81cf2e
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : c7c0b06b7c0facf664657de33bf4931979ced7db
2014-06-23 16:21:42 +12:00
Robert O'Callahan
e3b8462562
Bug 1022612. Part 28: Make nsLayoutUtils::GetScrollableFrameFor return null for non-scrolled-frames. r=mattwoodrow
...
--HG--
extra : rebase_source : 93131947e0f16746f8c0158bbedcb6fc43683716
2014-07-09 10:12:41 +12:00
Robert O'Callahan
b550e89fa5
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 : 5931e3462734983134193b766410593288afc296
2014-06-18 15:12:55 +12:00
Robert O'Callahan
0675636198
Bug 1022612. Part 26: nsDisplayList::mVisibleRect is no longer used. r=mattwoodrow
...
--HG--
extra : rebase_source : 06557875f4b3b5143c426c1408599442d61f2de5
2014-06-12 00:09:13 +12:00
Robert O'Callahan
aca4d4feff
Bug 1022612. Part 25: We don't need to explicitly worry about displayports anymore when computing occlusion. r=mattwoodrow
...
--HG--
extra : rebase_source : f4f15db168753f48e872b60fa8ea80c20c8f7761
2014-06-09 16:48:02 +12:00
Robert O'Callahan
8d413799e5
Bug 1022612. Part 24: Simplify nsDisplayList::ComputeVisibilityForSublist now that FrameLayerBuilder does most of the work. r=mattwoodrow
...
--HG--
extra : rebase_source : be5f97d69f41cf00eaf02d0292d4630a8721952d
2014-06-09 16:48:02 +12:00
Robert O'Callahan
94918e780b
Bug 1022612. Part 23: Remove nsDisplayItem::IsVaryingRelativeToMovingFrame. r=mattwoodrow
...
It's obsolete and no-one calls it.
--HG--
extra : rebase_source : 588144666e7abac06c19bfa5d1d3f41589bdd988
2014-06-09 16:48:02 +12:00
Robert O'Callahan
179df7a4f7
Bug 1022612. Part 22: Add MOZ_COUNT_CTOR to nsDisplayWrapList. r=mattwoodrow
...
--HG--
extra : rebase_source : fd4ab8981669d3bf9e2c75d03e88590abb0c7ca1
2014-06-09 16:48:01 +12:00
Robert O'Callahan
ef40de3fc2
Bug 1022612. Part 21: Remove DidComputeVisibility checking. r=mattwoodrow
...
--HG--
extra : rebase_source : e0e13e5e6cc87fbc0d4f62e14465a813aa176094
2014-06-09 16:48:01 +12:00
Robert O'Callahan
a7f418ac28
Bug 1022612. Part 20: Do the business. r=mattwoodrow
...
--HG--
extra : rebase_source : 48f0e2563f91351cac5ce1d3ed5e52364f24ccba
2014-06-09 16:48:01 +12:00
Robert O'Callahan
06299265bb
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 : 7748dde5aa0d51573acec9eb163f864beabefb3b
2014-07-07 17:46:29 +12:00
Robert O'Callahan
92755e79ad
Bug 1022612. Part 18: When ComputeVisibility returns false, RecomputeVisibility should avoid painting the item. r=mattwoodrow
...
--HG--
extra : rebase_source : 31e8a9ff9419b4aca2743d41db74b5271aae32bf
2014-06-20 17:24:31 +12:00
Robert O'Callahan
89c9a53c1e
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 : 45ed3e76905a37d1099af8dd907fa86061b5a867
2014-06-11 23:12:14 +12:00
Robert O'Callahan
cdd7b62b7c
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 : ecdfdbd02fdf8df23a71514ada32a8d20926913f
2014-06-09 16:48:01 +12:00
Robert O'Callahan
46fc7f9136
Bug 1022612. Part 15.5: Use GetVisibleRectForChildren instead of GetVisibleRect. r=mattwoodrow
...
--HG--
extra : rebase_source : 67cd76ce64beff29af0a90db76e752585922ddab
2014-07-15 23:49:38 +12:00
Robert O'Callahan
9e398baf3b
Bug 1022612. Part 15: Add nsDisplayItem::GetVisibleRectForChildren(). r=mattwoodrow
...
--HG--
extra : rebase_source : 79f4ee133e464d10c82efc78e42ea6dbcb2571c1
2014-07-15 23:47:46 +12:00
Robert O'Callahan
7947f386fd
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 : 8ac6abb8f6b3ab078883935688ae1f5059b797c7
2014-06-09 16:48:00 +12:00
Robert O'Callahan
2abf8f847b
Bug 1022612. Part 13: Set mDidComputeVisibility in ProcessDisplayItems. r=mattwoodrow
...
--HG--
extra : rebase_source : 456aaeba5a9bb3e8d34e0d900dd693f337cf2b12
2014-07-07 17:46:28 +12:00
Robert O'Callahan
05127c94f7
Bug 1022612. Part 12: Propagate NeedsTransparentSurface in ProcessDisplayItems. r=mattwoodrow
...
--HG--
extra : rebase_source : b7302f3457837f8308925ab67705e6279a80caf3
2014-06-09 16:48:00 +12:00
Robert O'Callahan
a213f11bc0
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 : 26e5e44fa90000089f1dc64c1cb073d5b1806765
2014-06-09 16:48:00 +12:00
Robert O'Callahan
6092c9bf6a
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 : c242006445d90372f6c7941d909f30945422321b
2014-06-09 16:48:00 +12:00
Robert O'Callahan
940f6c6de3
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 : 52cf25ce39a6ab38f89e0231ea044fdf3cac0a2d
2014-06-09 16:47:59 +12:00
Robert O'Callahan
3909a08cf6
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 : 62594931ff461dc1ae2c744531252d2b3c696ca0
2014-06-09 16:47:59 +12:00
Robert O'Callahan
f3d5561e9f
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 : 4d02f7c14c548a614cb0fd3764cab2d3060989f3
2014-06-09 16:47:59 +12:00
Robert O'Callahan
caf3b0f63b
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 : 29c7b2a43f4cb67b4c778851b18dba3e3e2ebd3d
2014-06-09 16:47:58 +12:00
Robert O'Callahan
9f0ddcc23a
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 : d846866a6128bb96903e45e6bd08ef67033bf701
2014-05-20 15:59:14 +12:00
Robert O'Callahan
7f4ae2181d
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 : c345a38551ccc2ba40ca4559e599845b5d83f952
2014-05-20 15:49:54 +12:00
Robert O'Callahan
3fbc303c7a
Bug 1022612. Part 2: Remove unused nsDisplayWrapList constructor. r=mattwoodrow
...
--HG--
extra : rebase_source : 5a93b63b19a502f2030331cb77aea8708bb11238
2014-05-20 15:08:20 +12:00
Robert O'Callahan
315473f995
Bug 1022612. Part 1: Always pass a frame to AutoBuildingDisplayList. r=mattwoodrow
...
--HG--
extra : rebase_source : c4b566cc8244b4286b49e3c1c6345b03b22b36b1
2014-05-20 15:08:18 +12:00
Carsten "Tomcat" Book
dc01687415
Backed out changeset b208f5144753 (bug 948265) for windows 7 debug Refest Crashes on a CLOSED TREE
2014-07-17 14:26:18 +02:00
Carsten "Tomcat" Book
c45209b087
Backed out changeset 8ab800159525 (bug 948265)
2014-07-17 14:25:52 +02:00
Carsten "Tomcat" Book
5346917654
Backed out changeset a5d4d7450d02 (bug 948265)
2014-07-17 14:25:48 +02:00
Olli Pettay
4a433a02f6
backout Bug 378775 because of several regressions, r=backout
2014-07-17 13:27:27 +03:00
Max Vujovic
df83e29cef
Bug 948265 - Remove kPrimitiveIndexSourceAlpha since nsSVGFilterInstance creates ToAlpha filter nodes now. r=mstange
2014-07-15 11:50:00 +02:00
Max Vujovic
5183b27846
Bug 948265 - Add public domain copyright notice to SVG filter chain tests. r=longsonr
2014-07-15 11:41:00 +02:00
Max Vujovic
09f849de4b
Bug 948265 - Support SourceAlpha keyword in SVG filter chains. r=mstange
2014-07-15 11:37:00 +02:00
CJKu
e59fc034c4
Bug 988759 - Reftest fails - reftests/dom/multipleinsertionpoints-ref2.xhtml. r=ahal
2014-07-16 00:18:00 +02:00
CJKu
09361220e4
Bug 988763 - Reftest fails - layout/reftests/image-element/referenced-from-binding-01.html. r=ahal
2014-07-16 02:42:00 +02:00
Chris Lord
d54493310a
Bug 1038781 - Don't reflow/repaint frame when clip changes. r=roc
...
If an element's existing clip changes, just update overflow areas and let
DLBI handle invalidation.
2014-07-16 13:28:50 +02:00
Rik Cabanier
8a41c6a2c7
Bug 1038521 - background-blend-mode should not blend with white backdrop of the root element. r=roc
2014-07-16 21:04:00 +02:00
L. David Baron
c331cb3b96
Bug 1031635 - Add --debugger-args option to reftest mach commands. r=gps
...
This allows useful argument combinations such as:
--debugger valgrind
--debugger-args "--tool=memcheck --leak-check=no --trace-children=yes --num-callers=50"
2014-07-16 20:10:10 -07:00
Kartikaya Gupta
3bade8183d
Bug 1038930 - Ensure that the first touchmove event after a touchstart is always dispatched to content. r=smaug
2014-07-16 22:07:28 -04:00
Edwin Flores
7400047efb
Bug 1038467 - Rename MediaPlugin* classes r=cpearce
2014-07-17 13:32:56 +12:00
Brian Birtles
07325fcbbf
Bug 1037314 - Include animation-play-state in animation shorthand; r=dbaron
...
This patch is basically a reversal of attachment 530792 from bug 654890.
2014-07-17 10:04:56 +09:00
Birunthan Mohanathas
3535643a78
Bug 1038535 - Flatten caps/{idl,include,src}/ directories. r=bholley,gps
...
--HG--
rename : caps/src/DomainPolicy.cpp => caps/DomainPolicy.cpp
rename : caps/include/DomainPolicy.h => caps/DomainPolicy.h
rename : caps/idl/nsIDomainPolicy.idl => caps/nsIDomainPolicy.idl
rename : caps/idl/nsIPrincipal.idl => caps/nsIPrincipal.idl
rename : caps/idl/nsIScriptSecurityManager.idl => caps/nsIScriptSecurityManager.idl
rename : caps/src/nsJSPrincipals.cpp => caps/nsJSPrincipals.cpp
rename : caps/include/nsJSPrincipals.h => caps/nsJSPrincipals.h
rename : caps/src/nsNullPrincipal.cpp => caps/nsNullPrincipal.cpp
rename : caps/include/nsNullPrincipal.h => caps/nsNullPrincipal.h
rename : caps/src/nsNullPrincipalURI.cpp => caps/nsNullPrincipalURI.cpp
rename : caps/src/nsNullPrincipalURI.h => caps/nsNullPrincipalURI.h
rename : caps/src/nsPrincipal.cpp => caps/nsPrincipal.cpp
rename : caps/include/nsPrincipal.h => caps/nsPrincipal.h
rename : caps/src/nsScriptSecurityManager.cpp => caps/nsScriptSecurityManager.cpp
rename : caps/include/nsScriptSecurityManager.h => caps/nsScriptSecurityManager.h
rename : caps/src/nsSystemPrincipal.cpp => caps/nsSystemPrincipal.cpp
rename : caps/include/nsSystemPrincipal.h => caps/nsSystemPrincipal.h
2014-07-15 11:12:59 -07:00
Mats Palmgren
32aa84d6f8
Bug 767593 - Don't call SetUndisplayedContent() when aState.mCreatingExtraFrames is true because we should have already done that. r=bz
2014-07-16 14:10:48 +00:00
Mats Palmgren
60fa7e303c
Bug 1028462 - Increase the number of fuzz pixels for B2G slightly. r=me
2014-07-15 08:10:00 +02:00
L. David Baron
47535266ed
Bug 1038488 patch 3 - Use AllocateByObjectID/FreeByObjectID for style structs. r=heycam
2014-07-15 22:27:13 -07:00
L. David Baron
84da8eeaa5
Bug 1038488 patch 2 - Remove memset from the operator new of the 4 style structs that have it. r=heycam
...
This also moves those 4 operator new methods to be inline to match the
style of all of the others.
I audited that all the members of these structs are initialized by all
their constructors (see patch 1).
2014-07-15 22:27:12 -07:00
L. David Baron
8be7bc4467
Bug 1038488 patch 1 - Explicitly initialize nsStyleMargin::mCachedMargin and nsStylePadding::mCachedPadding so that it is clear all members of nsStyleFont, nsStyleMargin, nsStylePadding, and nsStyleBorder are explicitly initialized. r=heycam
...
While nsMargin does 0-initialize, it's not necessarily obvious that it
does, and I think it's worth making explicit.
2014-07-15 22:27:12 -07:00
L. David Baron
ecd4ba7a2e
Bug 1030604 - Use nsChangeHint_UpdateOverflow for clip-path and mask changes so we update the PreEffectsBBoxProperty and run the effect on the correct area. r=roc
...
The testcase is a slight simplification of dholbert's testcase 2
(attachment 8456312) in the bug. It fails in the reftest harness
without the patch, and passes in the reftest harness with the patch.
2014-07-15 22:27:12 -07:00
Cameron McCormack
7b2ef56dd0
Bug 1039151 - Replace space-wasting use of DebugOnly<> in CSSVariableResolver with #ifdef DEBUG. r=dbaron
2014-07-16 15:24:04 +10:00
Masayuki Nakano
93d7daf9c6
Bug 1038089 IMEStateManager should log its behavior r=smaug
2014-07-16 14:13:28 +09:00
Brian Birtles
885d6252c1
Bug 1036300 - Expose AnimationPlayer.timeline; r=bz
2014-07-16 09:02:33 +09:00
Brian Birtles
8c171ff8b2
Bug 1036287 part 6 - Add a GetComputedTiming shortcut that uses the current animation timeline time; r=dholbert
...
This patch introduces a method GetComputedTiming that calls GetComputedTimingAt
supplying the current time of the animation's timeline.
We still keep the GetComputedTimingAt static method since it is used for
off-main thread animation. Furthermore, we keep the second argument to
GetComputedTiming--the animation's timing properties--since on some occasions we
want to override those properties (ElementPropertyTransition::ValuePortionFor
does this). We could also add another overload that also supplies the
animation's timing properties but that can happen as a separate step.
2014-07-16 09:02:33 +09:00
Brian Birtles
bd6a5ac2de
Bug 1036287 part 5 - Drop aTime param from IsRunning(At) and IsCurrent(At), since they now use the current timeline time; r=dholbert
2014-07-16 09:02:33 +09:00
Brian Birtles
cb1c2b8db6
Bug 1036287 part 4 - Make GetLocalTime(At) get the current time automatically from the timeline; r=dholbert
...
This patch changes ElementAnimation::GetLocalTimeAt so that instead of taking
the current time as input, it uses the animation's mTimeline member to look up
the current time of the associated timeline. As a result of this, it is possible
to remove a few instances of querying the refresh driver for the current time.
Further instances are removed in subsequent patches.
Furthermore, in order to keep the use of time sources consistent, the mStartTime
of new transitions and animations is initialized with the current time from the
animation's timeline rather than with the latest refresh driver tick.
Since this time could, in future, be null, GetLocalTime(At) is updated to check
for a null start time.
GetLocalTimeAt is also renamed to GetLocalTime in the process.
2014-07-16 09:02:32 +09:00
Brian Birtles
00b3f67470
Bug 1036287 part 3 - Make GetLocalTimeAt return a nullable time duration; r=dholbert
...
Once we support arbitrary timelines which can return null current time values,
the local time of an animation can also become null so this patch updates
ElementAnimation::GetLocalTimeAt to return a Nullable<TimeDuration>.
Doing this also allows us to pass the result of GetLocalTimeAt directly to
GetComputedTimingAt.
2014-07-16 09:02:32 +09:00
Brian Birtles
3d5b51ab69
Bug 1036287 part 2 - Make GetComputedTimingAt take a nullable local time; r=dholbert
...
As part of supporting arbitrary timelines, we'd like to pass null times to the
function that calculates computed timing. Incidentally, this also provides
a means for evaluating calculating timing parameters that are independent of the
current time (currently only the active duration) without requiring a valid
time.
This patch updates the signature of ElementAnimation::GetComputedTimingAt to
take a nullable time duration.
We use the Nullable wrapper to represent null TimeDurations since, unlike,
TimeStamp, TimeDuration does not include a null state.
2014-07-16 09:02:32 +09:00
Brian Birtles
adc58299de
Bug 1036287 part 1 - Add a null animation phase; r=dholbert
...
In order to support arbitrary timelines which may provide a "null" current time,
we need a suitable value to return from GetComputedTimingAt for the animation's
phase when the timeline time is null.
This patch introduces a null animation phase for this purpose.
2014-07-16 09:02:32 +09:00
Brian Birtles
04e0f33548
Bug 1032573 part 5 - Add GetAnimationPlayers to Element; r=bz
...
This patch adds the WebIDL definitions and implementation of
getAnimationPlayers on Element.
It does not include the full definition of AnimationPlayer but only readonly
versions of the currentTime and startTime attributes since these are easy
to implement and enable identifying the different animations that are returned
for the sake of testing.
Web Animations defines getAnimationPlayers as only returning the animations that
are either running or will run in the future (known as "current" animations).
This will likely change since it seems desirable to be able query animations
that have finished but are applying a forwards fill. For now, however, this
patch makes us only return animations that have not finished.
This patch also removes an assertion in ElementAnimation::GetLocalTime that
would fail if called on a finished transition. This assertion is no longer
necessary since an earlier patch in this series removed the overloading of
the animation start time that meant calling this on a finished transition
was unsafe. Furthermore, this assertion, if it were not removed, would fail
if script holds onto a transition and queries its start time after it
completed.
2014-07-16 09:02:31 +09:00
Brian Birtles
928bc914e9
Bug 1032573 part 2 - Add a timeline member to ElementAnimations; r=dbaron
...
When we expose ElementAnimation objects to script they need to have a parent
object so they can be associated with a Window.
This patch adds a pointer from an ElementAnimation to its AnimationTimeline.
2014-07-16 09:02:30 +09:00
Brian Birtles
f05c94c274
Bug 1032573 part 1 - Don't overload start time for marking finished transitions; r=dbaron
...
When transitions finish, we keep them around for one additional throttle-able
tick to provide correct behavior for subsequent transitions that may be
triggered. Prior to this patch we did this by overloading the start time of the
animation and setting it to null in this case.
However, if we begin returning ElementAnimation objects to script, script can
hold on to those objects and query their start time even after they are
finished. Therefore we need another means of marking finished transitions that
doesn't clobber the start time field.
This patch introduces a new boolean member for marking such transitions.
While we're touching IsFinishedTransition we also take the chance to tidy up one
of the call sites, namely IsCurrentAt, to make the logic a little easier to
follow.
2014-07-16 09:02:29 +09:00
Bas Schouten
e07d7b5673
Bug 1036785 - Tests: Fuzz some tests to mask subpixel-AA differences. r=jrmuizel
2014-07-15 23:40:32 +02:00
Bobby Holley
38181bf65d
Bug 987678 - Stop doing all the crazy stuff in xbl-marquee. r=bz
2014-07-15 12:23:43 -07:00
Benoit Girard
e7aea75462
Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel
2014-07-15 11:37:45 -04:00
William Lachance
6571f5f33c
Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc
2014-07-11 15:29:30 -04:00
Ting-Yu Lin
c3f651ea76
Bug 1021527 - Fix blurry carets by using svg image. r=roc
...
* Replace png images with svg images for touch caret and selection
carets.
* Fix touch caret is enlarged on high resolution device due to
background-size was not set.
2014-07-14 23:08:00 +02:00
Ting-Yu Lin
ec54b26220
Bug 1016184 - part 2 - Add debug logs to touch caret. r=ehsan
2014-07-13 21:29:00 +02:00
Ting-Yu Lin
cf532264bc
Bug 1016184 part 1 - Correct documentation in nsCaret.h. r=ehsan
2014-07-14 23:18:00 +02:00
Carsten "Tomcat" Book
26cf2689d1
Backed out changeset 6f857407b64e (bug 1022612) for bustage on a CLOSED TREE
2014-07-15 10:35:42 +02:00
Carsten "Tomcat" Book
1492ea9930
Backed out changeset e5bacdd4594c (bug 1022612) for bustage on a CLOSED TREE
2014-07-15 10:31:12 +02:00
Carsten "Tomcat" Book
81c5fb84d0
Backed out changeset 4e502d50b8e1 (bug 1022612)
2014-07-15 10:30:51 +02:00
Carsten "Tomcat" Book
000f844217
Backed out changeset 18ffe0bb4d42 (bug 1022612)
2014-07-15 10:30:49 +02:00
Carsten "Tomcat" Book
2bdd8df774
Backed out changeset cdaa916f6851 (bug 1022612)
2014-07-15 10:30:47 +02:00
Carsten "Tomcat" Book
f47b379c1a
Backed out changeset 6d2fc524e961 (bug 1022612)
2014-07-15 10:30:46 +02:00
Carsten "Tomcat" Book
2429264279
Backed out changeset 1ad096055f1d (bug 1022612)
2014-07-15 10:30:44 +02:00
Carsten "Tomcat" Book
23334cced9
Backed out changeset 5ebd2f6b65a6 (bug 1022612)
2014-07-15 10:30:41 +02:00
Carsten "Tomcat" Book
d453c85067
Backed out changeset e4e2a1dcadc8 (bug 1022612)
2014-07-15 10:30:39 +02:00
Carsten "Tomcat" Book
4fc2a6fcb3
Backed out changeset 3bf33a32bfe0 (bug 1022612)
2014-07-15 10:30:38 +02:00
Carsten "Tomcat" Book
3cf75ddd59
Backed out changeset 75fffcce9c4d (bug 1022612)
2014-07-15 10:30:36 +02:00
Carsten "Tomcat" Book
8824c3a425
Backed out changeset cc140abf7b17 (bug 1022612)
2014-07-15 10:30:35 +02:00
Carsten "Tomcat" Book
d758f9c681
Backed out changeset 121bf69509b1 (bug 1022612)
2014-07-15 10:30:33 +02:00
Carsten "Tomcat" Book
029b32a486
Backed out changeset e95971991caa (bug 1022612)
2014-07-15 10:30:32 +02:00
Carsten "Tomcat" Book
39688f8ca9
Backed out changeset c59ee68b1917 (bug 1022612)
2014-07-15 10:30:30 +02:00
Carsten "Tomcat" Book
30fb80413f
Backed out changeset 549e3cb9e111 (bug 1022612)
2014-07-15 10:30:27 +02:00
Carsten "Tomcat" Book
58f6cd50b2
Backed out changeset 376c45f4d905 (bug 1022612)
2014-07-15 10:30:26 +02:00
Carsten "Tomcat" Book
94503e470b
Backed out changeset b4b6049145dc (bug 1022612)
2014-07-15 10:30:24 +02:00
Carsten "Tomcat" Book
5ab48e7077
Backed out changeset 2f6cb0f412f7 (bug 1022612)
2014-07-15 10:30:23 +02:00
Carsten "Tomcat" Book
795c1dd368
Backed out changeset 032ba47c6684 (bug 1022612)
2014-07-15 10:30:21 +02:00
Carsten "Tomcat" Book
eab891583c
Backed out changeset c081917e5626 (bug 1022612)
2014-07-15 10:30:19 +02:00
Carsten "Tomcat" Book
e53aa45084
Backed out changeset f67228df9ae0 (bug 1022612)
2014-07-15 10:30:18 +02:00
Carsten "Tomcat" Book
e48a8d7347
Backed out changeset f5ec6bcf251f (bug 1022612)
2014-07-15 10:30:16 +02:00
Carsten "Tomcat" Book
20e0cf44c0
Backed out changeset 79e0ce466219 (bug 1022612)
2014-07-15 10:30:14 +02:00
Carsten "Tomcat" Book
f12cd5f28f
Backed out changeset f89950384bf2 (bug 1022612)
2014-07-15 10:30:13 +02:00
Carsten "Tomcat" Book
4681a11b43
Backed out changeset f9564f9f4648 (bug 1022612)
2014-07-15 10:30:11 +02:00
Carsten "Tomcat" Book
495422fb07
Backed out changeset c413b946dbc4 (bug 1022612)
2014-07-15 10:30:09 +02:00
Carsten "Tomcat" Book
2fda6f0d58
Backed out changeset 5e8625f91b68 (bug 1022612)
2014-07-15 10:30:07 +02:00
Carsten "Tomcat" Book
6622b23ead
Backed out changeset 233345d8ffc6 (bug 1022612)
2014-07-15 10:30:06 +02:00
Carsten "Tomcat" Book
79941c685b
Backed out changeset f8b488c389e9 (bug 1022612)
2014-07-15 10:30:04 +02:00
Carsten "Tomcat" Book
3288f22940
Backed out changeset 21d141d01c97 (bug 1022612)
2014-07-15 10:30:03 +02:00
Carsten "Tomcat" Book
4dafc50d79
Backed out changeset 7e9751c1302a (bug 1022612)
2014-07-15 10:30:01 +02:00
Carsten "Tomcat" Book
7f4f90969e
Backed out changeset 6e190d419511 (bug 1022612)
2014-07-15 10:29:59 +02:00
Carsten "Tomcat" Book
300634b007
Backed out changeset 1dd246b1436c (bug 1022612)
2014-07-15 10:29:58 +02:00
Carsten "Tomcat" Book
a70148da5b
Backed out changeset 7e97b4516cbe (bug 1022612)
2014-07-15 10:29:56 +02:00
Carsten "Tomcat" Book
b21012d2de
Backed out changeset 3de27f6dcd31 (bug 1022612)
2014-07-15 10:29:55 +02:00
Carsten "Tomcat" Book
ead89dc956
Backed out changeset 3773718e4870 (bug 1022612)
2014-07-15 10:29:53 +02:00
Carsten "Tomcat" Book
26f47cdbf0
Backed out changeset e6be65e455a2 (bug 1022612)
2014-07-15 10:29:51 +02:00
Carsten "Tomcat" Book
48feebee09
Backed out changeset 5c1f3340c45f (bug 1022612)
2014-07-15 10:29:50 +02:00
Carsten "Tomcat" Book
abd220850c
Backed out changeset f12d7d68b685 (bug 1022612)
2014-07-15 10:29:48 +02:00
Carsten "Tomcat" Book
75f0b66945
Backed out changeset cc1776b2606d (bug 1022612)
2014-07-15 10:29:46 +02:00
Carsten "Tomcat" Book
f6a5f99ba1
Backed out changeset 2b29602d9850 (bug 995519) for suspicion of causing Reftest 20 test failure on a CLOSED TREE
2014-07-15 10:21:36 +02:00
Robert O'Callahan
216105530b
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 : a15fb640c4fe7917321bcea5cdf2dc5e6087a140
2014-07-15 16:23:37 +12:00
Robert O'Callahan
d3e59dec22
Bug 1022612. Part 42: Add opaque regions of ThebesLayer content to the "exclude glass" region. r=mattwoodrow
...
--HG--
extra : rebase_source : 2b429e274ec49b5310e69bad65ae9a399dba514a
2014-07-14 12:46:13 +12:00
Robert O'Callahan
16bcaaf5bb
Bug 1022612. Part 41: Use itemType instead of calling GetType() again. r=mattwoodrow
...
--HG--
extra : rebase_source : 9531cbc73f01c49d22b81420c7cb3b206b6c26d4
2014-07-11 13:18:10 +12:00
Robert O'Callahan
dbc191385e
Bug 1022612. Part 40: Restrict visible rect of 3D-transformed layers before converting to nsIntRect. r=mattwoodrow
...
--HG--
extra : rebase_source : 9d147c1adb92c17b19d259eef64557495c790b13
2014-07-11 13:17:47 +12:00
Robert O'Callahan
c6044e490b
Bug 1022612. Part 39: Add a little bit of reftest fuzzing. r=mattwoodrow
...
--HG--
extra : rebase_source : b2941b4954318e0bd93d24d7f2d4e054c0844d8a
2014-07-07 17:46:56 +12:00
Robert O'Callahan
4a5dd5ea1c
Bug 1022612. Part 38: Avoid test failure due to antialiased pixel leakage. r=mattwoodrow
...
--HG--
extra : rebase_source : 00d95d307f79720a7b597cc8ca61b40bfaa85584
2014-07-07 17:46:56 +12:00
Robert O'Callahan
46c2b20d44
Bug 1022612. Part 37: Remove aAllowVisibleRegionExpansion. r=mattwoodrow
...
This is no longer needed thanks to the readback simplification.
--HG--
extra : rebase_source : 6dad4c34681c478f9d4bf4829723ff9542b9d083
2014-06-23 16:24:51 +12:00
Robert O'Callahan
90a719d327
Bug 1022612. Part 36: Avoid redundant calls to ShouldPrerenderTransformedContent. r=mattwoodrow
...
--HG--
extra : rebase_source : 127a28cb37dd1953a5eb593ba4b40645c138866f
2014-06-23 16:24:15 +12:00
Robert O'Callahan
a7a227d36d
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 : c735f4cb964d659b6778f5b43fa2e2b4c8f83933
2014-06-23 16:24:14 +12:00
Robert O'Callahan
9de5b60bcb
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 : df909f3a9d6eabdb3d83a7770d090068ecca2686
2014-06-23 16:24:14 +12:00
Robert O'Callahan
435bb6a055
Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
...
This hasn't been used for a while I guess.
--HG--
extra : rebase_source : 8087253453b58dc4ea52a040341ced4638ffd0a7
2014-06-23 16:24:14 +12:00
Robert O'Callahan
fd35d10211
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 : 6157f9e4a6822598242f6fc9c0abaf07258613d6
2014-06-23 16:24:14 +12:00
Robert O'Callahan
797ba98165
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 : 38cbd0b0dd7724cfdb98f3e215bd0f220a687f3c
2014-06-23 16:24:00 +12:00
Robert O'Callahan
07591874be
Bug 1022612. Part 30: Expose IsConstructingScrollLayerForScrolledFrame and IsDisplayPortOpaque on nsDisplayScrollLayer. r=mattwoodrow
...
--HG--
extra : rebase_source : 0eddaa98dae6ba5e5b15b818716bafd1811f16db
2014-06-23 16:23:58 +12:00
Robert O'Callahan
18c5631cae
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : ece245a6910b1be205adbfb4e684ff1ccc85f635
2014-06-23 16:21:42 +12:00
Robert O'Callahan
2f179c372a
Bug 1022612. Part 28: Make nsLayoutUtils::GetScrollableFrameFor return null for non-scrolled-frames. r=mattwoodrow
...
--HG--
extra : rebase_source : b93ce3cc94029fb6b8de51d5fc945d552a75a937
2014-07-09 10:12:41 +12:00
Robert O'Callahan
a8a94867f0
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 : dc1eaa8079f61648c24ac9502e837ac9f2630730
2014-06-18 15:12:55 +12:00
Robert O'Callahan
59e39bc3ce
Bug 1022612. Part 26: nsDisplayList::mVisibleRect is no longer used. r=mattwoodrow
...
--HG--
extra : rebase_source : c5e3161afc622a1c297e9033593c0e7eac111f7d
2014-06-12 00:09:13 +12:00
Robert O'Callahan
62ab1efdda
Bug 1022612. Part 25: We don't need to explicitly worry about displayports anymore when computing occlusion. r=mattwoodrow
...
--HG--
extra : rebase_source : 22926330830072dd520ab41daa37c451bf35601d
2014-06-09 16:48:02 +12:00
Robert O'Callahan
775fd8f7d9
Bug 1022612. Part 24: Simplify nsDisplayList::ComputeVisibilityForSublist now that FrameLayerBuilder does most of the work. r=mattwoodrow
...
--HG--
extra : rebase_source : 566019828bc5c021e15bb148accc4262c69232e1
2014-06-09 16:48:02 +12:00
Robert O'Callahan
0fad4d82d8
Bug 1022612. Part 23: Remove nsDisplayItem::IsVaryingRelativeToMovingFrame. r=mattwoodrow
...
It's obsolete and no-one calls it.
--HG--
extra : rebase_source : c9f65e4a062a4cc641de201c40b7755706a1afca
2014-06-09 16:48:02 +12:00
Robert O'Callahan
48eca50d7e
Bug 1022612. Part 22: Add MOZ_COUNT_CTOR to nsDisplayWrapList. r=mattwoodrow
...
--HG--
extra : rebase_source : 40d1dcc98c182d175cddff8fadf0084ad2f831a9
2014-06-09 16:48:01 +12:00
Robert O'Callahan
f59ff43d93
Bug 1022612. Part 21: Remove DidComputeVisibility checking. r=mattwoodrow
...
--HG--
extra : rebase_source : dc32021b0ba919d68a93f555cc8430e1d0a741a4
2014-06-09 16:48:01 +12:00
Robert O'Callahan
b2dedc1ddb
Bug 1022612. Part 20: Do the business. r=mattwoodrow
...
--HG--
extra : rebase_source : a87960893a3cdf6661f25091ae9fd28b247a464b
2014-06-09 16:48:01 +12:00
Robert O'Callahan
b27c164603
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 : 2534f87eec88d5eba40726032e74ce85ac13be64
2014-07-07 17:46:29 +12:00
Robert O'Callahan
21dc27acfc
Bug 1022612. Part 18: When ComputeVisibility returns false, RecomputeVisibility should avoid painting the item. r=mattwoodrow
...
--HG--
extra : rebase_source : b11f832b412b75e9868306908a5e08fe9724a603
2014-06-20 17:24:31 +12:00
Robert O'Callahan
a16232af9d
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 : b2c3694cfa2af182c8b2006633efa35a50616642
2014-06-11 23:12:14 +12:00
Robert O'Callahan
3c261e5389
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 : c48e2ecaa9e7653708681011cd335d377d5bfaba
2014-06-09 16:48:01 +12:00