Robert O'Callahan
372f537079
Bug 1013054. Don't propagate non-repaint change hints to the canvas frame. r=mattwoodrow
...
--HG--
extra : rebase_source : c5e9613baf7a444dafbb1b9677cf7b4bd5381140
2014-07-22 01:57:52 +12:00
Robert O'Callahan
eb7adfb6d1
Bug 1041530. Be more careful about contributing opaque areas to the window region. r=mattwoodrow
...
--HG--
extra : rebase_source : 3665198c22b44644a876332a5b6e8a480c64a3f5
2014-07-22 23:14:40 +12:00
Botond Ballo
7eadb0bce0
Bug 989403 - Invalidate inactive layer's region correctly in the presence of a resolution. r=roc
...
--HG--
extra : rebase_source : 899c27b493e1aabd65d512154e7ac6f345fdf6e1
2014-07-25 17:16:29 -04:00
Benoit Jacob
c50ccf8dba
Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj
2014-07-30 15:52:05 -04:00
Wes Kocher
3c155637a3
Backed out 11 changesets (bug 952977) for reftest-no-accel failures
...
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
6cf4dc1afd
Bug 952977: More gfx::Matrix cleanup in FrameLayerBuilder r=nical
2014-07-29 19:18:52 -04:00
David Zbarsky
b967b647bf
Bug 952977: More gfx::Matrix cleanup in nsDisplayTransform r=nical
2014-07-29 19:18:50 -04:00
Timothy Nikkel
728274599e
Bug 1043644 - Use the frame bounds instead of the view bounds. r=kats
2014-07-29 14:50:48 -04:00
Kartikaya Gupta
917e8cd729
Bug 1043644 - Use the content viewer bounds instead of the view bounds if available. r=tn
2014-07-29 14:50:48 -04:00
Kartikaya Gupta
b69c2652f8
Bug 1016481 - Allow touch-end events to be cancelled and have them prevent dispatching click events. r=smaug
2014-07-29 11:59:19 -04:00
Birunthan Mohanathas
7e107d59a3
Bug 1044448 - Flatten view/{public,src}/ directories. r=roc
...
--HG--
rename : view/src/Makefile.in => view/Makefile.in
rename : view/src/nsView.cpp => view/nsView.cpp
rename : view/public/nsView.h => view/nsView.h
rename : view/src/nsViewManager.cpp => view/nsViewManager.cpp
rename : view/public/nsViewManager.h => view/nsViewManager.h
2014-07-28 18:02:44 -07:00
Morris Tseng
cc9241e019
Bug 987040 - Part 2: Add a flag indicate whether CollectClientRects should flush layout or not. r=ehsan
2014-07-23 23:06:00 +02:00
Morris Tseng
bdc2515786
Bug 987040 - Part 1: Implement mozbrowserselectionchange. r=vingtetun,ehsan,bugs. sr=bz
2014-07-28 01:21:00 +02:00
Matt Woodrow
21c89b906b
Bug 1043961 - Disabled desktop display port changes for android. r=tn
...
--HG--
extra : rebase_source : d1de78af825bac1e7f06ff81c4394d70a75cc8fd
2014-07-29 12:07:36 +12:00
Rik Cabanier
1acd0f5427
Bug 1042411 - ASSERTION: It is assumed the initial operator is OPERATOR_OVER, when it is restored later. r=roc
2014-07-28 16:44:00 +02:00
Simon Montagu
b7f0fb4d8a
Bug 1044198: convert margins from the frame's writing mode to the line's writing mode in nsBidiPresUtils::RepositionInlineFrames, r=jfkthame.
2014-07-28 01:20:58 -07:00
Matt Woodrow
bf15ddaf06
Bug 1039020
- Layerize background-attachment:fixed for all elements, not just the root one. r=roc
2014-07-25 20:37:50 +12:00
L. David Baron
364d06998b
Bug 996796 patch 3 - Move the knowledge of when we last updated main-thread-suppressed animation styles into the restyle manager rather than have two separate but always equal timestamps for animations and transitions. r=birtles
2014-07-24 21:35:34 -07:00
L. David Baron
fe9af3ff1f
Bug 996796 patch 2 - Change the public API to updating main-thread-suppressed animation styles (miniflush) in preparation for refactoring how it works. r=birtles
...
Later patches will combine the coalescing of restyling between the
miniflush performed for animations and for transitions into a single
RestyleTracker, which will coalesce the work better. This patch changes
the API exposed for doing that so that the coalescing patch will contain
only the internals.
2014-07-24 21:35:34 -07:00
L. David Baron
b7a521a812
Bug 996796 patch 1 - Perform a miniflush on both animations and transitions before processing restyles. r=birtles
...
This affects the correctness of transitions that take over from a
running animation. (In the current code this can happen on a single
element; once the cascading changes in bug 960465 are complete it can
only happen via inheritance.)
This version of the patch changes to do the test using opacity rather
than transform, since testing using transforms encountered issues
related to bug 1031688: the presence of phantom transitions due to the
interaction of the computed value rules for transforms distinguishing
between values that the interpolation rules consider identical. (These
problems only appear after patch 24 in this bug changes the coalescing
order between a parent with animations and a child with transitions so
that the parent is handled before the child, instead of transitions
being handled before animations.)
The final two added tests fail without the patch and pass with the patch.
(With the opacity version, the third to last test also fails without the
patch, probably due to the value not having yet been sent to the layer.
This was not an issue pre-patch with the original test using transform,
though. I haven't tested that this happened with patch 0, though, so it
might have been the issue patch 0 fixes.)
2014-07-24 21:35:33 -07:00
Botond Ballo
fd0b0c0f0a
Bug 1032880 - Disable 'transparent content with displayports' warning in tests. r=tn
...
--HG--
extra : source : 15adf5eda9a8f4576202b62ad0268c73bcdc4977
2014-07-22 17:01:50 -04:00
Jonathan Kew
76bdb9472c
bug 1031241 pt 4 - Rename the {MIN,PREF}_WIDTH constants used to identify the type of intrinsic inline-size. r=smontagu
2014-07-24 18:03:26 +01:00
Jonathan Kew
55170c430a
bug 1031241 pt 3 - Also rename Intrinsic{Width,Height} to Intrinsic{I,B}Size. r=smontagu
2014-07-24 18:03:26 +01:00
Jonathan Kew
8b67cdf704
bug 1031241 pt 2 - More renaming, e.g. where {Min,Pref}Width occurs within longer type and function names. r=smontagu
2014-07-24 18:03:25 +01:00
Jonathan Kew
ce9cbe4216
bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu
2014-07-24 18:03:25 +01:00
Ed Morley
59d4295a07
Backed out changeset ed7a32143aeb (bug 1041530) for OS X debug mochitest failures
2014-07-24 16:11:47 +01:00
Robert O'Callahan
dd83ee7f1e
Bug 1041530. Be more careful about contributing opaque areas to the window region. r=mattwoodrow
...
--HG--
extra : rebase_source : 23f51dfbf716357310ac708a396b325864e41a67
2014-07-22 23:14:40 +12:00
Kartikaya Gupta
381ac68bc6
Bug 1043022 - Back out bug 1016481 for making it hard to click things in the browser. r=me
2014-07-24 07:57:53 -04:00
Simon Montagu
18c9f2f61a
Bug 789096 patch 10: make Reflow set nsHTMLReflowMetrics.ISize and BSize instead of Width and Height. r=jfkthame
2014-07-24 01:30:07 -07:00
Simon Montagu
c3b44c4dad
Bug 789096 patch 9: use logical coordinates in nsHTMLReflowState available size. r=jfkthame
2014-07-24 01:28:46 -07:00
Matt Woodrow
6f956abe14
Bug 1031107 - Part 7: Don't set ignore scroll frame without APZ. r=tn
2014-07-24 15:14:02 +12:00
Matt Woodrow
cf61976550
Bug 1031107 - Part 6: Subtract from the visible region in nsDisplayScrollLayer if we're not using APZ. r=tn
2014-07-24 15:13:23 +12:00
Matt Woodrow
26e1f42909
Bug 1031107 - Part 3: Skip display port visibility when computing plugin geometry. r=tn
2014-07-24 15:11:30 +12:00
Matt Woodrow
57456c50b6
Bug 1031107 - Part 2: Don't restrict out-of-flow frames dirty area to the viewport when not painting. r=tn
2014-07-24 15:10:44 +12:00
Matt Woodrow
90607a09dc
Bug 1031107 - Part 1: Fix DoLogTestDataForPaint when using temporary layer managers. r=kats
2014-07-24 15:10:05 +12:00
Kartikaya Gupta
c5a403b4cf
Bug 1041510 - Add some missing newlines when dumping display list sets, and include z-index in the dump. r=tn
2014-07-23 21:50:26 -04:00
Wes Kocher
50fa9c92c0
Backed out changeset 6ab8ef0895ca (bug 1032880) for bustage
2014-07-23 16:55:00 -07:00
Botond Ballo
a7f4a6dd87
Bug 1032880 - Disable 'transparent content with displayports' warning in tests. r=tn
...
--HG--
extra : rebase_source : 21ea67d322cb4a780b67584be4047f6ca8ac6690
2014-07-22 17:01:50 -04:00
Timothy Nikkel
3ace971252
Bug 1041510. Allow z-index overrides of 0 to work correctly on display items. r=roc
2014-07-23 18:07:18 -05:00
Alexandre Poirot
7ea4dd517f
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Botond Ballo
be603754de
Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow
2014-07-22 18:05:13 -04:00
Carsten "Tomcat" Book
acae829094
merge mozilla-inbound to mozilla-central a=merge
2014-07-23 15:50:58 +02:00
Matt Woodrow
4aae0aad74
Bug 1041894 - Make FindOpaqueBackgroundColorFor check the DisplayItemClip of items before selecting them. r=roc
...
--HG--
extra : rebase_source : 32dfac0c8050c06d40341c74d36a0f7e72aeabf9
2014-07-23 18:12:08 +12:00
Susanna Bowen
bf06af5d74
Bug 1021952 - Generate anonymous boxes to preserve proper ruby structure r=bz
2014-07-22 19:08:08 -07:00
Susanna Bowen
a3e95afeef
Bug 1021952 - Add ruby display values and ruby frames. r=dholbert,bz
2014-07-22 19:08:01 -07:00
Matt Woodrow
b38affe776
Bug 1039926 - Exclude clips that have been converted to a mask layer from invalidation. r=roc
2014-07-23 18:03:52 +12:00
Matt Woodrow
8bae8c6efc
Bug 1039926 - Refactor display list invalidation so that the majority happens after we've finished assigning items to ThebesLayers. r=roc
2014-07-23 18:03:24 +12:00
Matt Woodrow
14faf75e9b
Bug 1042423 - Part 5: Remove PaintBackgroundColor. r=roc
2014-07-23 17:23:38 +12:00
Matt Woodrow
8028bbe23b
Bug 1042423 - Part 4: Clip background display items using DisplayItemClip. r=roc
2014-07-23 17:22:17 +12:00
Matt Woodrow
999711a01a
Bug 1042423 - Part 3: Don't build inactive mask layers. r=roc
2014-07-23 17:21:35 +12:00
Matt Woodrow
b6b423b959
Bug 1042423 - Part 2: Add DisplayItemClip constructor for rect + rounded rect. r=roc
2014-07-23 17:21:06 +12:00
Matt Woodrow
1b1819d095
Bug 1042423 - Part 1: Clean up GetBackgroundClip and make it public. r=roc
2014-07-23 17:20:39 +12:00
Daniel Holbert
5e5bbcdeba
Bug 984711 part 4: Add back handling for nsStylePosition::mMinHeight having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
...
This reverts changeset 5db313632268 from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
54db21c8c7
Bug 984711 part 3: Add back handling for nsStylePosition::mMinWidth having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
...
This reverts changeset f8b5090d02e5 from bug 848539.
2014-07-22 08:24:34 -07:00
Ting-Yu Lin
7063a3388c
Bug 1041926 - Remove NS_HIDDEN introduced by selection carets. r=roc
...
Bug 1015664
had removed almost all NS_HIDDEN in gecko. Selection carets
must be landed after it.
2014-07-22 00:35:00 -04:00
Kartikaya Gupta
0df3a31848
Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas
2014-07-22 09:12:14 -04:00
Jonathan Griffin
1c5d8636ac
Backed out changeset 64586374a208 on a CLOSED TREE
2014-07-22 18:29:57 -07:00
Carsten "Tomcat" Book
a6994f42c4
Backed out changeset a0ffaeafbe7e (bug 1013054) for reftest failure
2014-07-22 09:34:36 +02:00
Robert O'Callahan
291d28f350
Bug 1013054. Don't propagate non-repaint change hints to the canvas frame. r=mattwoodrow
2014-07-22 01:57:52 +12:00
Robert O'Callahan
91f1cc1251
Bug 1041200. Ensure nsDisplayZoom and friends compute mVisibleRect relative to their reference frame. r=mattwoodrow
2014-07-22 17:50:11 +12:00
Seth Fowler
711578deab
Bug 1034209 (Part 2) - Make nsImageRenderer::Draw private. r=nrc
2014-07-21 17:59:24 -07:00
Seth Fowler
3e805f6c43
Bug 1034209 (Part 1) - Replace the dead Image case in nsImageRenderer::Draw with the code used in DrawBackground. r=nrc
2014-07-21 17:59:23 -07:00
Seth Fowler
da5cd5f510
Bug 1031576 (Part 3) - Remove nsLayoutUtils::DrawPixelSnapped, since it's dead code now. r=dbaron
2014-07-21 17:59:23 -07:00
Seth Fowler
10adda6bc3
Bug 1031576 (Part 2) - Use dynamic images in the implementation of -moz-element. r=nrc
2014-07-21 17:59:23 -07:00
Geoff Brown
0021a7bb59
Bug 1040987 - Skip test_event_target_radius.html on b2g desktop; r=trivial
2014-07-21 16:10:52 -06:00
Ed Morley
bc42e0a28a
Backed out changeset 3eef0822d4d0 (bug 1013054) for failures in 1013054-1.html
2014-07-21 17:40:12 +01:00
Robert O'Callahan
37ae3ee79e
Bug 1003425. When opacity is delegated to an nsDisplayBoxShadowOuter via nsDisplayItem::ApplyOpacity, store the opacity in our geometry so we can invalidate if it changes. r=mattwoodrow
...
--HG--
extra : rebase_source : f4b44bad8537029b0e03d912b927686aa352d681
2014-07-22 01:59:10 +12:00
Robert O'Callahan
65bec47d5e
Bug 1013054. Don't propagate non-repaint change hints to the canvas frame. r=mattwoodrow
...
--HG--
extra : rebase_source : 73b2b8a7d276d2e2064c9d16235b233e76fc7ee1
2014-07-22 01:57:52 +12:00
Alexandre Poirot
98afd25e0d
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Jonathan Griffin
38f79ff899
Backout 4f6d9db92389 for bustage on a CLOSED TREE
2014-07-22 17:55:50 -07:00
Mike Hommey
bc5d6801bb
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Alexandre Poirot
37506aa45c
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal
2014-07-02 15:40:56 -07:00
Matt Woodrow
9fc4664bdb
Bug 1041893 - Stop tracking the clip direction in GetBackgroundClip since it has no effect. r=roc
...
--HG--
extra : rebase_source : 3d54b72eeabcb90aaf0179e7a382406facff6b5f
2014-07-23 10:54:35 +12:00
Matt Woodrow
cc34d78900
Bug 961249 - Don't propagate component alpha layer flattening across force active layers and avoid unnecessary invalidations. r=roc
...
--HG--
extra : rebase_source : 60a08e1351c5ce1aa4ced54e7ef2fc18cb0e7590
2014-07-23 10:53:37 +12:00
Timothy Nikkel
2a1be4381c
Bug 1041510. We should try to flatten display items that don't have children too. r=roc
...
Scroll info layers in particular never have children and we want to flatten them.
2014-07-22 15:37:26 -05:00
Trevor Saunders
adcefa11ee
bug 1036694 - remove another reference to nsIMarkupDocumentViewer r=bustage landed on a CLOSED TREE
2014-07-22 15:54:46 -04:00
Trevor Saunders
dfb8d4ea04
bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug
2014-07-09 17:27:49 -04:00
Robert O'Callahan
81683c4091
Bug 1022612. Part 45: Increase region complexity limit for mDrawAboveRegion/mVisibleAboveRegion to fix scroll-rounding.html test failure. r=mattwoodrow
...
--HG--
extra : rebase_source : 5c9ee0d12fa7622f90058e856428c0e815e6a35b
2014-07-17 15:41:06 +12:00
Robert O'Callahan
b55f535d57
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 : d6489832ba0a14c38647e25bfe632d2efc698f80
2014-07-15 16:23:37 +12:00
Robert O'Callahan
88a4213214
Bug 1022612. Part 42: Add opaque regions of ThebesLayer content to the "exclude glass" region. r=mattwoodrow
...
--HG--
extra : rebase_source : 715df6c86b139aec7ad607e56c89dbfad3475380
2014-07-14 12:46:13 +12:00
Robert O'Callahan
4008d7d45d
Bug 1022612. Part 41: Use itemType instead of calling GetType() again. r=mattwoodrow
...
--HG--
extra : rebase_source : 6d82f8396d235d23e4694a91bbf1e60bae0ad286
2014-07-11 13:18:10 +12:00
Robert O'Callahan
687f5fda20
Bug 1022612. Part 40: Restrict visible rect of 3D-transformed layers before converting to nsIntRect. r=mattwoodrow
...
--HG--
extra : rebase_source : 72d2b3dc2649ea63594c5c712f53b45eb8c78acd
2014-07-11 13:17:47 +12:00
Robert O'Callahan
815af71a46
Bug 1022612. Part 37: Remove aAllowVisibleRegionExpansion. r=mattwoodrow
...
This is no longer needed thanks to the readback simplification.
--HG--
extra : rebase_source : 659147670395fefe41647daab8af93f6c439a99c
2014-06-23 16:24:51 +12:00
Robert O'Callahan
fec34e5e0f
Bug 1022612. Part 36: Avoid redundant calls to ShouldPrerenderTransformedContent. r=mattwoodrow
...
--HG--
extra : rebase_source : 0c1fd6bbe77ccf5811620be8333a5dfdc21e2d5b
2014-06-23 16:24:15 +12:00
Robert O'Callahan
11fd05eb6b
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 : 5549164408aef7bcb3fb9204b1d6b96476d3f675
2014-06-23 16:24:14 +12:00
Robert O'Callahan
06102a099d
Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
...
This hasn't been used for a while I guess.
--HG--
extra : rebase_source : d59328f96a11cc65e141c75475c09edac5d42af2
2014-06-23 16:24:14 +12:00
Robert O'Callahan
b2460097a3
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 : b6c375fbbaeb79e7332cb55bdda9943bc1ee7f3c
2014-06-23 16:24:14 +12:00
Robert O'Callahan
d49884afea
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 : 22b1fbbd8b561bd68831ac1fb957d2d1901f3297
2014-06-23 16:24:00 +12:00
Robert O'Callahan
808792d22f
Bug 1022612. Part 30: Expose IsConstructingScrollLayerForScrolledFrame and IsDisplayPortOpaque on nsDisplayScrollLayer. r=mattwoodrow
...
--HG--
extra : rebase_source : 87d76ad3e9d560f34dad56c25cb96516871e280a
2014-06-23 16:23:58 +12:00
Robert O'Callahan
aaeac2837d
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : bca7885147f0328d9700770052500e856d131bd9
2014-06-23 16:21:42 +12:00
Robert O'Callahan
928a12a3f6
Bug 1022612. Part 28: Make nsLayoutUtils::GetScrollableFrameFor return null for non-scrolled-frames. r=mattwoodrow
...
--HG--
extra : rebase_source : 8d2165d5cf10c7997925cd17b23a39c593127018
2014-07-09 10:12:41 +12:00
Robert O'Callahan
4ee42acd8c
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 : 4518bc060fa2c28dacdb7d3aaeca55a148dfe762
2014-06-18 15:12:55 +12:00
Robert O'Callahan
77fd4a6c97
Bug 1022612. Part 26: nsDisplayList::mVisibleRect is no longer used. r=mattwoodrow
...
--HG--
extra : rebase_source : 7043ed9341a44cbb35f7ac5d836fe9b11a0f3911
2014-06-12 00:09:13 +12:00
Robert O'Callahan
8d8d911af5
Bug 1022612. Part 25: We don't need to explicitly worry about displayports anymore when computing occlusion. r=mattwoodrow
...
--HG--
extra : rebase_source : 45b7a56291309e79327d240e81b1de4c499695dc
2014-06-09 16:48:02 +12:00
Robert O'Callahan
a438107cde
Bug 1022612. Part 24: Simplify nsDisplayList::ComputeVisibilityForSublist now that FrameLayerBuilder does most of the work. r=mattwoodrow
...
--HG--
extra : rebase_source : 0db68211898c111a465dc641bed8e3b2923f0e4e
2014-06-09 16:48:02 +12:00
Robert O'Callahan
f00b9f098c
Bug 1022612. Part 23: Remove nsDisplayItem::IsVaryingRelativeToMovingFrame. r=mattwoodrow
...
It's obsolete and no-one calls it.
--HG--
extra : rebase_source : f07121d1e5766d7b2a0ecdc2d10bc3ccf587a14b
2014-06-09 16:48:02 +12:00
Robert O'Callahan
b767cf2502
Bug 1022612. Part 22: Add MOZ_COUNT_CTOR to nsDisplayWrapList. r=mattwoodrow
...
--HG--
extra : rebase_source : 09252e01de90bd3e5c0cb77de80ee88e24b85f05
2014-06-09 16:48:01 +12:00
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
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
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
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
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
Jesse Ruderman
87eb496ae3
Bug 812665 - crashtest.
2014-07-18 17:01:54 +00:00
Abhishek Arya
22a4e94c7c
Bug 824862 - crashtest.
2014-07-18 10:47:08 +00:00
Atte Kettunen
0e45516fa8
Bug 840480 - crashtest.
2014-07-18 10:47:08 +00:00
miaubiz@gmail.com
0cd052a1a0
Bug 876092 - crashtest.
2014-07-18 10:47:08 +00:00
Jesse Ruderman
fe078cfb42
Bug 919434 - crashtest.
2014-07-18 10:47:07 +00:00
Jesse Ruderman
e8d1e606c4
Bug 931450 - crashtest.
2014-07-18 10:47:07 +00:00
Matt Woodrow
b5f939afaf
Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
f944d1b04c
Bug 1023677
- Don't flatten active transform layers. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
d8db547ccb
Bug 1023677
- Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
e2c64a70a5
Bug 1023677
- Don't repeat layer building if there was only a single layer. r=roc
2014-07-18 18:48:22 +12:00
Markus Stange
cb2c05ae1d
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
16565ccd04
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
4810f4be2e
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
2a12bd4a73
Bug 941459 - [e10s] pushPrefEnv, popPrefEnv in specialPowersAPI.js not e10s friendly. r=jmaher
2014-07-13 17:00:26 +02:00
Ahmed Kachkach
4b03d2c025
Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger
2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
8d1e68ffc3
Backed out changeset 3c5f96882e6c (bug 1023677
)
2014-07-18 10:45:29 +02:00
Carsten "Tomcat" Book
575d59768d
Backed out changeset 84df2aaf5e2a (bug 1023677
)
2014-07-18 10:45:27 +02:00
Carsten "Tomcat" Book
f87d44ff5a
Backed out changeset d03cb12a166e (bug 1023677
)
2014-07-18 10:45:26 +02:00
Carsten "Tomcat" Book
4e4432eac0
Backed out changeset b049e0ae4d1d (bug 1039145)
2014-07-18 10:45:24 +02:00
Matt Woodrow
865651f293
Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
10606c58a7
Bug 1023677
- Don't flatten active transform layers. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
12825a660a
Bug 1023677
- Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
a0eff6de7e
Bug 1023677
- Don't repeat layer building if there was only a single layer. r=roc
2014-07-18 18:48:22 +12:00
Kartikaya Gupta
411e593d6d
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
Bill McCloskey
8fe7015020
Bug 1042587 - Rework script blocker check for SVG (r=roc)
2014-08-05 21:44:59 -07:00
Bill McCloskey
088d3c345b
Bug 1042587 - Warn when script is ignored because of script blocker (r=bent)
2014-08-05 21:44:13 -07:00
Ryan VanderMeulen
df23fd9dde
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
90cdb8090f
Backed out changeset 87ae841e4f92 (bug 1021564) for crashtest failures/assertions on a CLOSED TREE
2014-07-17 16:12:46 +02:00
Markus Stange
957c1797d3
Bug 1021564 - Invalidate filtered frames when they move in certain ways. r=roc
2014-07-17 14:58:24 +02:00
Robert O'Callahan
4ba23d458e
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
ca7cf8e3ba
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
666d0f69a2
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
29cb84ce9f
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
03f4f60cc1
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
72f7632627
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
6d737739d4
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
1030e92a1a
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
71a35072a2
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
7abc34bc0f
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
eff9ade093
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
1c7e576bdb
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
368aa0fe62
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : c7c0b06b7c0facf664657de33bf4931979ced7db
2014-06-23 16:21:42 +12:00
Robert O'Callahan
05fa5d61b4
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
a5f94f9666
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
0f7da2a3f5
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
2f2005b7b6
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
147ce5c12a
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
c680be18b6
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
c4e7f391f8
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
8031d664e1
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
d5174e2937
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
18ccbbdbaa
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
93aa1d7155
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
25f6b81c90
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
f1dee11b96
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
7929f2e6de
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
527a62cc6b
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
2d1cc777ee
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
6c54f5517c
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
4c7064adf3
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
d143dbdffc
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
e94df3456a
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
c73a88b148
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
86266739a4
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
01c0570dad
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
763ac99e28
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
56c0eda886
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
1c5bf642e5
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
Chris Lord
e999475d51
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
30e903768b
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
Kartikaya Gupta
76227756c3
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
Mats Palmgren
32fe7d9bf6
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
L. David Baron
6b85a58773
Bug 1038488 patch 3 - Use AllocateByObjectID/FreeByObjectID for style structs. r=heycam
2014-07-15 22:27:13 -07:00
Brian Birtles
7aff661646
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
Benoit Girard
1465e09a99
Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel
2014-07-15 11:37:45 -04:00
Ting-Yu Lin
1c2a705229
Bug 1016184 - part 2 - Add debug logs to touch caret. r=ehsan
2014-07-13 21:29:00 +02:00
Ting-Yu Lin
9105af006a
Bug 1016184 part 1 - Correct documentation in nsCaret.h. r=ehsan
2014-07-14 23:18:00 +02:00
Carsten "Tomcat" Book
b634b7bc83
Backed out changeset e5bacdd4594c (bug 1022612) for bustage on a CLOSED TREE
2014-07-15 10:31:12 +02:00
Carsten "Tomcat" Book
6132d68cb0
Backed out changeset 4e502d50b8e1 (bug 1022612)
2014-07-15 10:30:51 +02:00
Carsten "Tomcat" Book
9ee30b1afa
Backed out changeset 18ffe0bb4d42 (bug 1022612)
2014-07-15 10:30:49 +02:00
Carsten "Tomcat" Book
3876ec672e
Backed out changeset cdaa916f6851 (bug 1022612)
2014-07-15 10:30:47 +02:00
Carsten "Tomcat" Book
44b787c2c2
Backed out changeset 1ad096055f1d (bug 1022612)
2014-07-15 10:30:44 +02:00
Carsten "Tomcat" Book
87631b62a6
Backed out changeset 5ebd2f6b65a6 (bug 1022612)
2014-07-15 10:30:41 +02:00
Carsten "Tomcat" Book
352da95c73
Backed out changeset e4e2a1dcadc8 (bug 1022612)
2014-07-15 10:30:39 +02:00
Carsten "Tomcat" Book
26a5361c4e
Backed out changeset 3bf33a32bfe0 (bug 1022612)
2014-07-15 10:30:38 +02:00
Carsten "Tomcat" Book
6592473bee
Backed out changeset 75fffcce9c4d (bug 1022612)
2014-07-15 10:30:36 +02:00
Carsten "Tomcat" Book
73afa0f4ec
Backed out changeset cc140abf7b17 (bug 1022612)
2014-07-15 10:30:35 +02:00
Carsten "Tomcat" Book
5382bc5788
Backed out changeset 121bf69509b1 (bug 1022612)
2014-07-15 10:30:33 +02:00
Carsten "Tomcat" Book
01edcafbed
Backed out changeset e95971991caa (bug 1022612)
2014-07-15 10:30:32 +02:00
Carsten "Tomcat" Book
ad58868a0e
Backed out changeset c59ee68b1917 (bug 1022612)
2014-07-15 10:30:30 +02:00
Carsten "Tomcat" Book
f6066a44ab
Backed out changeset 549e3cb9e111 (bug 1022612)
2014-07-15 10:30:27 +02:00
Carsten "Tomcat" Book
5ed54c9e2b
Backed out changeset 376c45f4d905 (bug 1022612)
2014-07-15 10:30:26 +02:00
Carsten "Tomcat" Book
a8721353c2
Backed out changeset 2f6cb0f412f7 (bug 1022612)
2014-07-15 10:30:23 +02:00
Carsten "Tomcat" Book
69f40e9ed0
Backed out changeset 032ba47c6684 (bug 1022612)
2014-07-15 10:30:21 +02:00
Carsten "Tomcat" Book
00bffdd365
Backed out changeset c081917e5626 (bug 1022612)
2014-07-15 10:30:19 +02:00
Carsten "Tomcat" Book
b004dd4d30
Backed out changeset f67228df9ae0 (bug 1022612)
2014-07-15 10:30:18 +02:00
Carsten "Tomcat" Book
4169dca7be
Backed out changeset f5ec6bcf251f (bug 1022612)
2014-07-15 10:30:16 +02:00
Carsten "Tomcat" Book
291eab9669
Backed out changeset 79e0ce466219 (bug 1022612)
2014-07-15 10:30:14 +02:00
Carsten "Tomcat" Book
95251d074c
Backed out changeset f89950384bf2 (bug 1022612)
2014-07-15 10:30:13 +02:00
Carsten "Tomcat" Book
f43cac8d8b
Backed out changeset f9564f9f4648 (bug 1022612)
2014-07-15 10:30:11 +02:00
Carsten "Tomcat" Book
149a485e36
Backed out changeset c413b946dbc4 (bug 1022612)
2014-07-15 10:30:09 +02:00
Carsten "Tomcat" Book
ed82fa5a80
Backed out changeset 5e8625f91b68 (bug 1022612)
2014-07-15 10:30:07 +02:00
Carsten "Tomcat" Book
25305bfd99
Backed out changeset 233345d8ffc6 (bug 1022612)
2014-07-15 10:30:06 +02:00
Carsten "Tomcat" Book
d9ba3f2e23
Backed out changeset f8b488c389e9 (bug 1022612)
2014-07-15 10:30:04 +02:00
Carsten "Tomcat" Book
0a844f1134
Backed out changeset 21d141d01c97 (bug 1022612)
2014-07-15 10:30:03 +02:00
Carsten "Tomcat" Book
dd3c6740f3
Backed out changeset 7e9751c1302a (bug 1022612)
2014-07-15 10:30:01 +02:00
Carsten "Tomcat" Book
0642aa2ecc
Backed out changeset 6e190d419511 (bug 1022612)
2014-07-15 10:29:59 +02:00
Carsten "Tomcat" Book
5fa1dd5d04
Backed out changeset 7e97b4516cbe (bug 1022612)
2014-07-15 10:29:56 +02:00
Carsten "Tomcat" Book
1bf84a5f75
Backed out changeset 3de27f6dcd31 (bug 1022612)
2014-07-15 10:29:55 +02:00
Carsten "Tomcat" Book
57ff4e4d59
Backed out changeset e6be65e455a2 (bug 1022612)
2014-07-15 10:29:51 +02:00
Carsten "Tomcat" Book
e84d7a2c4b
Backed out changeset 5c1f3340c45f (bug 1022612)
2014-07-15 10:29:50 +02:00
Carsten "Tomcat" Book
632c366dbe
Backed out changeset f12d7d68b685 (bug 1022612)
2014-07-15 10:29:48 +02:00
Carsten "Tomcat" Book
75c3592ce0
Backed out changeset cc1776b2606d (bug 1022612)
2014-07-15 10:29:46 +02:00
Robert O'Callahan
420f0b3320
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
5a87f018a5
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
00a83c16c8
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
c6860f73d0
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
c34cc646b6
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
b1680b04d5
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
f71690efa1
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
98fa3132db
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
a487cf98f5
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
d43195c660
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
9a2fe1598a
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
4f27c04989
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : ece245a6910b1be205adbfb4e684ff1ccc85f635
2014-06-23 16:21:42 +12:00
Robert O'Callahan
025206564c
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
ad7435d1e8
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
b81611baab
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
9d70c3237a
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
c22109f8a2
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
c14ce84186
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
517e77700b
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
82ceeb14ea
Bug 1022612. Part 21: Remove DidComputeVisibility checking. r=mattwoodrow
...
--HG--
extra : rebase_source : dc32021b0ba919d68a93f555cc8430e1d0a741a4
2014-06-09 16:48:01 +12:00