Commit Graph

332393 Commits

Author SHA1 Message Date
Robert O'Callahan
01aedc2359 Bug 919144. Part 10: Fold nsDisplayFixedPosition into nsDisplayStickyPosition. r=mattwoodrow
--HG--
extra : rebase_source : 597e2a178762509421a32d53be6242cd588c7995
2013-09-27 18:02:03 +12:00
Robert O'Callahan
f994dec6df Bug 919144. Part 9: Move FrameLayerBuilder::ContainerParameters to mozilla::ContainerLayerParameters. r=mattwoodrow
This is to avoid having to #include FrameLayerBuilder.h in nsLayoutUtils.h in the next patch.

--HG--
extra : rebase_source : 5f3c3ae2785267949766ae094414781133d4ce44
2013-09-27 18:01:16 +12:00
Robert O'Callahan
94d3e5ce37 Bug 919144. Part 8: Delete lots of code that's no longer needed. r=mattwoodrow
I never liked nsDisplayListBuilder::IsFixedItem anyway, its behavior and
naming was confusing. Also, it assumed there's only one viewport displayport,
on the rootmost document, and that's a bad assumption in general.
We're able to remove calls to ForceVisiblityForFixedItem because FrameLayerBuilder
is now responsible for inflating the visible region of the fixed-pos layers.

--HG--
extra : rebase_source : e93d8e25d2f5c7f3e167e47203d961e6b4293b81
2013-09-27 18:01:16 +12:00
Robert O'Callahan
145e514bf9 Bug 919144. Part 7: Make fixed-pos frames with displayports animated geometry roots, and make FrameLayerBuilder responsible for setting fixed-pos layer parameters instead of nsDisplayFixedPosition. r=mattwoodrow
This patch also makes FrameLayerBuilder responsible for setting the visible region
of a fixed-pos layer to the displayport intersected with the draw-region of
the layer. This will let us remove some displaylist code in later patches.
We add special handling to GetAnimatedGeometryRootFor for nsDisplayScrollLayers,
to match what nsDisplayList::IsFixedItem does.

--HG--
extra : rebase_source : f9258243fe666d5dee33c13a88e596bbed8e2c1c
2013-09-27 18:01:16 +12:00
Robert O'Callahan
fad9790f33 Bug 919144. Part 6: nsDisplayListBuilder::MarkOutOfFlowFrameForDisplay should call IsFixedPosFrameInDisplayPort and make fixed-pos frames intersect their overflow-rect with the viewport's displayport to get their dirty rect. r=mattwoodrow
This prevents insanely large fixed-pos elements from getting an over-huge
dirty rect and building an enormous display list.
This is also a step towards getting rid of nsDisplayListBuilder::mHasDisplayPort,
which is good because the new code works on any subdocument that has a displayport.

--HG--
extra : rebase_source : e853022dd2ce85af318f235f8851d9dd8b5001ac
2013-09-27 18:01:15 +12:00
Robert O'Callahan
4b277c1f8b Bug 919144. Part 5: Add ThebesLayerData::mReferenceFrame. r=mattwoodrow
--HG--
extra : rebase_source : f569d1712be8e43aeff31ca2f045a4b87bbd1de6
2013-09-27 18:01:15 +12:00
Robert O'Callahan
62bb8eb602 Bug 919144. Part 4: Create nsLayoutUtils::IsFixedPosFrameInDisplayPort. r=mats
--HG--
extra : rebase_source : a7b7179efd91838ec7205f7109182c78814d33c5
2013-09-27 18:01:11 +12:00
Robert O'Callahan
83346922bc Bug 919144. part 3: The displayport out parameters to GetDisplayPort and GetCriticalDisplayPort are optional, so make them optional. r=mattwoodrow
--HG--
extra : rebase_source : 487f895279982c4b74fcd720c5c97381e46036d8
2013-09-27 17:57:20 +12:00
Robert O'Callahan
3e2af1e7b8 Bug 919144. Part 2: Force creation of a layer for every viewport with a displayport. r=mattwoodrow
This ensures that for all fixed-pos content attached to a viewport with a
displayport, the viewport has a layer and the fixed-pos content's layer will be
a direct child of the viewport's layer.

--HG--
extra : rebase_source : da35bacad5518b94cb0b92a198d4f607cede4ac9
2013-09-27 17:56:00 +12:00
Robert O'Callahan
fd9ce678dc Bug 919144. Part 1: Rename identifiers from 'active scroll(ed) root' to 'animated geometry root'. r=mattwoodrow
Also sneaks in a couple of other refactorings:

--HG--
extra : rebase_source : 8b0e0729f26231d98ed069b54dd4f7c1e51b10b5
2013-09-26 09:07:26 +12:00
Ehsan Akhgari
339427bfb7 Bug 939608 - Fix a build problem 2013-11-18 00:52:53 -05:00
Ehsan Akhgari
e91814a204 Bug 939608 - Build xpconnect in unified mode; r=bholley 2013-11-18 00:47:30 -05:00
Nicholas Nethercote
50e3df7443 Backout 86b5cb334b73 and db7cbf61b001 (bug 810718, parts 1 and 2) for multiple perf regressions.
--HG--
extra : rebase_source : c20c81d0cf47b607815c0592d748d4f0a430d430
2013-11-17 20:41:36 -08:00
Chris Peterson
cf2e68463e Bug 939576 - Build netwerk/protocol/http in unified mode. r=mcmanus 2013-11-16 21:19:51 -08:00
Chris Peterson
abe2ff1401 Bug 939572 - Build widget/cocoa in unified mode. r=josh 2013-11-16 23:27:11 -08:00
Cameron McCormack
070ca41f8e Bug 492239 - Reflow when -moz-stack-sizing is changed. r=dbaron 2013-11-18 15:15:38 +11:00
Mark Hammond
de6369d487 Bug 883858 followup - disabled tests are passed to the JS test runner which reports them as skipped. r=jmaher 2013-11-18 15:09:01 +11:00
Cameron McCormack
45fe7b6de8 Bug 935056 - Don't apply minimum font sizes to SVG text. r=dbaron 2013-11-18 14:53:51 +11:00
Mats Palmgren
86950df8f5 Bug 938341. r=smaug 2013-11-18 03:54:35 +00:00
Ehsan Akhgari
c4d30145cf Bug 939588 - Build angle in unified mode; r=bjacob
--HG--
extra : rebase_source : c6e8bd797c7b8e0a27d60e905deaed3f34d2ce39
2013-11-17 21:47:21 -05:00
Bobby Holley
812d19c6a1 Bug 938429 - Bump the trusted script buffer for macosx64 a bit. r=luke 2013-11-17 18:46:40 -08:00
Bobby Holley
988f381b8a Bug 936232 - Use setConstructor for TypedObject. r=jorendorff 2013-11-17 18:44:29 -08:00
Bobby Holley
ed004b6c91 Bug 938297 - Stop using GetContextFromDocument in GetStateObject. r=bz 2013-11-17 18:44:04 -08:00
Matthew Gregan
4436a9d702 Bug 939613 - Remove MediaSource integration from HTMLMediaElement now and use the generic MediaDecoder interface, then move the necessary MS-specific bits to the MS decoder. r=doublec 2013-10-05 10:04:39 +02:00
Matthew Gregan
b3547c111f Bug 939612 - Improve readability of MediaSource::SetReadyState. r=doublec 2013-10-05 10:03:50 +02:00
Ehsan Akhgari
0c8d87283b Bug 939584 - Build some of the directories under content/media in unified mode; r=roc 2013-11-17 21:31:46 -05:00
Phil Ringnalda
a413df8b46 Bug 930481 - Disable test_dataChannel_basicAudioVideoCombined.html on OS X for timeouts taking out the entire suite
--HG--
extra : rebase_source : 47f7a0ae9d1bd740c919ea441a1af29b4b823542
2013-11-17 18:14:00 -08:00
Benoit Jacob
41b487f47a Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Jacob
20541fa720 Bug 938970 - 4/5. Some gralloc-related tweaks required to build with UNIFIED_SOURCES - r=Bas 2013-11-17 21:06:25 -05:00
Benoit Jacob
4f433f901d Bug 938970 - 3/5. Some d3d tweaks needed to build with UNIFIED_SOURCES - r=Bas 2013-11-17 21:06:23 -05:00
Benoit Jacob
07abcd7359 Bug 938970 - 2/5. Add more namespace qualifiers in gfx/layers code to avoid ambiguous namespace resolution - r=mattwoodrow 2013-11-17 21:06:21 -05:00
Benoit Jacob
bdd8f93313 Bug 938970 - 1/5. Move MacIOSurfaceTexture* classes to separate files, minimize the number of cpp files including MacIOSurface.h - r=mattwoodrow 2013-11-17 21:04:38 -05:00
Jonathan Watt
ecc7b724b3 Bug 938388 - Convert all remaining code for calculating path lengths and position at an offset along a path in content/svg to Moz2D (kill off all uses of gfxPath). r=dholbert 2013-11-18 01:29:06 +00:00
Jonathan Watt
986088b126 Bug 930577 - Convert much of the SVG code for calculating path lengths and position at an offset along a path to Moz2D. r=heycam 2013-11-18 01:29:06 +00:00
Bas Schouten
0b523bd06b Bug 937994 - Part 2: Mark some tests fuzzy, and change the discontinuity side of joins they expect. r=dholbert 2013-11-18 01:29:05 +00:00
Jonathan Watt
dc9a078082 Bug 937994 - Make the SMIL animateMotion code use a Moz2D PathBuilder instead of gfxContext. r=dholbert 2013-11-18 01:29:05 +00:00
Bas Schouten
ff4b20243d Bug 937678: Add an isfuzzy comparison function to the mochitest framework. r=jmaher 2013-11-18 01:28:56 +00:00
Benoit Girard
5aa117f19b Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Ehsan Akhgari
50a3ec44d9 Bug 939569 - Part 2: Build layout/build in unified mode; r=glandium 2013-11-17 19:48:30 -05:00
Ehsan Akhgari
a43a5b1a27 Bug 939569 - Part 1: Stop using #pragma once in webspeech code; r=smaug 2013-11-17 19:48:02 -05:00
Matthew Gregan
df9c95b4af Bug 939601 - Refactor current thread assert into helper. r=cpearce 2013-11-04 11:11:09 +13:00
Bas Schouten
d81f6048b3 Bug 939049 - Part 2: Add generic ComputeLength code for backends with no such functionality. r=jrmuizel 2013-11-11 12:42:07 +13:00
Mats Palmgren
68fe8a4e5b Bug 916143 - Try to fix test_movement_by_words.html on Win8 PGO with a waitForFocus 2013-11-17 15:33:48 -08:00
Phil Ringnalda
28dc772b79 Bug 930481 - Disable test_dataChannel_basicAudioVideo.html on OS X for far too frequent timeouts taking out the entire suite
--HG--
extra : rebase_source : 6611ef1c33c8650b59d5bf35684effe33964c6ba
2013-11-17 15:22:47 -08:00
Robert Longson
32976af6f8 Bug 939445 - general.appname.override has stopped working. r=smaug 2013-11-17 23:10:15 +00:00
Jan de Mooij
fa9bdf4ef9 Bug 937540 part 5 - Use placement new syntax for MIR instructions. r=bhackett
--HG--
extra : rebase_source : 94cef1cdd9875c9ed5806c982e8109637bdcfbd1
2013-11-18 00:00:07 +01:00
Brian Hackett
36a8a7fbec Bug 936403 - Make sure undefined global properties are tracked when generating baseline ICs, r=jandem. 2013-11-17 15:59:52 -07:00
Brian Hackett
3ec9e9b3af Bug 936854 - Get the unowned base shape for a shape with the right API, r=jandem. 2013-11-17 15:50:03 -07:00
Paul Adenot
ab1b273373 Bug 939593 - Resync libcubeb with upstream. r=kinetik 2013-11-18 11:47:24 +13:00
Andrew McCreight
d90262f094 Bug 937152 - Remove XPCWrappedJS::mMainThread and mMainThreadOnly. r=bholley 2013-11-17 14:47:02 -08:00