Commit Graph

22057 Commits

Author SHA1 Message Date
Robert O'Callahan
451711afa8 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
079152a41e 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
256be2e5b1 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
56a4bfbf7f 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
d8e5658d39 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
857cab34cd 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
dce04b2374 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
15e5b5a1b6 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
87421c8fa6 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
fb4994904a 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
34392b6b13 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
L. David Baron
fe52357edf 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
e2cf09f168 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
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