Commit Graph

154865 Commits

Author SHA1 Message Date
Robert O'Callahan
c7ac6cec44 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
4e3b98bb4e 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
b2332020fd 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
14f129a5c4 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
65c65dd2ce 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
7676e34f90 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
cbf2dad73d 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
6a8e8942c3 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
fa5dd2633d Bug 939608 - Fix a build problem 2013-11-18 00:52:53 -05:00
Ehsan Akhgari
e71e84c404 Bug 939608 - Build xpconnect in unified mode; r=bholley 2013-11-18 00:47:30 -05:00
Nicholas Nethercote
4250101d84 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
c8a24dd3a5 Bug 939576 - Build netwerk/protocol/http in unified mode. r=mcmanus 2013-11-16 21:19:51 -08:00
Chris Peterson
df87856513 Bug 939572 - Build widget/cocoa in unified mode. r=josh 2013-11-16 23:27:11 -08:00
Cameron McCormack
eef8000e72 Bug 492239 - Reflow when -moz-stack-sizing is changed. r=dbaron 2013-11-18 15:15:38 +11:00
Mark Hammond
a50d414dc5 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
caee7ac498 Bug 935056 - Don't apply minimum font sizes to SVG text. r=dbaron 2013-11-18 14:53:51 +11:00
Mats Palmgren
3ac692a1d2 Bug 938341. r=smaug 2013-11-18 03:54:35 +00:00
Ehsan Akhgari
f33cc14b4c Bug 939588 - Build angle in unified mode; r=bjacob
--HG--
extra : rebase_source : c6e8bd797c7b8e0a27d60e905deaed3f34d2ce39
2013-11-17 21:47:21 -05:00
Bobby Holley
f1e34517cf Bug 938429 - Bump the trusted script buffer for macosx64 a bit. r=luke 2013-11-17 18:46:40 -08:00
Bobby Holley
ed185f8be3 Bug 936232 - Use setConstructor for TypedObject. r=jorendorff 2013-11-17 18:44:29 -08:00
Bobby Holley
bf8b28b514 Bug 938297 - Stop using GetContextFromDocument in GetStateObject. r=bz 2013-11-17 18:44:04 -08:00
Matthew Gregan
260addb88e 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
c6845c411d Bug 939612 - Improve readability of MediaSource::SetReadyState. r=doublec 2013-10-05 10:03:50 +02:00
Ehsan Akhgari
c426806741 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
cae77bc6ef 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
877d71ca5f Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Jacob
45d86c800b 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
ac3ababc4b 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
cc5dec6997 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
803a8cae35 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
64f542bda2 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
1f4b1d12c2 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
a5f5cb6bc9 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
ce231112f6 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
6e16faf6d3 Bug 937678: Add an isfuzzy comparison function to the mochitest framework. r=jmaher 2013-11-18 01:28:56 +00:00
Benoit Girard
87d3e1cc22 Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Ehsan Akhgari
91acb42262 Bug 939569 - Part 2: Build layout/build in unified mode; r=glandium 2013-11-17 19:48:30 -05:00
Ehsan Akhgari
105dde09a8 Bug 939569 - Part 1: Stop using #pragma once in webspeech code; r=smaug 2013-11-17 19:48:02 -05:00
Matthew Gregan
ed941cac63 Bug 939601 - Refactor current thread assert into helper. r=cpearce 2013-11-04 11:11:09 +13:00
Bas Schouten
7fe1ba8861 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
71b6a583a2 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
06ab54e003 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
35179a17ac Bug 939445 - general.appname.override has stopped working. r=smaug 2013-11-17 23:10:15 +00:00
Jan de Mooij
134883814a 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
2757734fdc 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
34c8feab4c 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
7c1a2e55fc Bug 939593 - Resync libcubeb with upstream. r=kinetik 2013-11-18 11:47:24 +13:00
Andrew McCreight
b734ae8d6b Bug 937152 - Remove XPCWrappedJS::mMainThread and mMainThreadOnly. r=bholley 2013-11-17 14:47:02 -08:00
Andrew McCreight
e8941dde8b Bug 936698 - Update the list of headers in testIntTypesABI. r=waldo 2013-11-17 14:47:02 -08:00
Andrew McCreight
373d6bd175 Bug 937157, part 13 - Remove DEBUG_shaver. r=bholley 2013-11-17 14:47:01 -08:00