Commit Graph

22332 Commits

Author SHA1 Message Date
Matt Woodrow
1f399de1a2 Bug 1031107 - Part 1: Fix DoLogTestDataForPaint when using temporary layer managers. r=kats 2014-07-24 15:10:05 +12:00
Kartikaya Gupta
6bbaa9d496 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
412b5055fe Backed out changeset 6ab8ef0895ca (bug 1032880) for bustage 2014-07-23 16:55:00 -07:00
Botond Ballo
d8b1dd5509 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
0cb1901937 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
f5412abfea 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
e8f8e0c180 Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow 2014-07-22 18:05:13 -04:00
Botond Ballo
76bb94c45c Bug 1007728 - Avoid calling APZCTreeManager::UpdatePanZoomControllerTree() on repeat transactions. r=kats,BenWa
--HG--
extra : rebase_source : 470498aae39f2f297cd181372413b197e5c71821
2014-05-30 18:52:43 -04:00
Carsten "Tomcat" Book
e7cc9c3602 Merge mozilla-central to mozilla-inbound 2014-07-23 16:12:02 +02:00
Carsten "Tomcat" Book
9f1293819a merge mozilla-inbound to mozilla-central a=merge 2014-07-23 15:50:58 +02:00
Matt Woodrow
c849fa3275 Bug 1042423 - Mark some tests fuzzy due to blending differences with mask layers. CLOSED TREE 2014-07-23 19:46:28 +12:00
Matt Woodrow
9cd49b4e7f 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
0e583bd0fd Bug 1021952 - Ensure that direct children of ruby elements are inline. r=bz 2014-07-22 19:08:13 -07:00
Susanna Bowen
270588e327 Bug 1021952 - Generate anonymous boxes to preserve proper ruby structure r=bz 2014-07-22 19:08:08 -07:00
Susanna Bowen
418dd85109 Bug 1021952 - Add ruby display values and ruby frames. r=dholbert,bz 2014-07-22 19:08:01 -07:00
cku@mozilla.com
f854f60f30 Bug 974242 - enable test cases which are passed on B2G. r=ahal 2014-07-23 04:27:00 +02:00
Matt Woodrow
e178a929ba 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
159e5abfc5 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
7275aa256b Bug 1042423 - Part 5: Remove PaintBackgroundColor. r=roc 2014-07-23 17:23:38 +12:00
Matt Woodrow
2d03ba140b Bug 1042423 - Part 4: Clip background display items using DisplayItemClip. r=roc 2014-07-23 17:22:17 +12:00
Matt Woodrow
051aa42555 Bug 1042423 - Part 3: Don't build inactive mask layers. r=roc 2014-07-23 17:21:35 +12:00
Matt Woodrow
5449d918c1 Bug 1042423 - Part 2: Add DisplayItemClip constructor for rect + rounded rect. r=roc 2014-07-23 17:21:06 +12:00
Matt Woodrow
77b6d92bbc Bug 1042423 - Part 1: Clean up GetBackgroundClip and make it public. r=roc 2014-07-23 17:20:39 +12:00
Cameron McCormack
7e319341f4 Bug 1031206 - Part 2: Split out creation of font faces in nsUserFontSet. r=jdaggett 2014-07-23 15:05:50 +10:00
Cameron McCormack
301ffbc85a Bug 1031206 - Part 1: Split out creation and addition of font faces in gfxUserFontSet. r=jdaggett 2014-07-23 15:05:50 +10:00
Mike Hommey
171507509c Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5659a611dd Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Brian Birtles
0deb939253 Bug 1037316 part 2 - When updating animations, match existing animations one-by-one starting from the beginning of each list; r=dbaron
This patch changes the order in which we look for matches when updating existing
animations. Previously we would iterate through new animations in a forwards
direction but match old animations by going through the list of animations
backwards.

This patch makes us iterate through both lists in a backwards direction. That
means that if we have:

  animation: anim 100s

and later we make it

  animation: anim 100s, anim 100s

Then the new animation will be added to the *start* of the list, i.e. prepended,
and the resulting animation will not restart.
2014-07-23 10:51:12 +09:00
Brian Birtles
49b954f56a Bug 1037316 part 1 - Return the same object when updating animations; r=dbaron
Previously when updating animations we'd generate a new list of animation
objects then try to match up animations from the existing list and copy across
state such as start times and notification flags. However, this means that from
the API we end up returning different objects.

This patch makes us maintain the same object identity when updating an existing
animation. It does this by looking for matching animations in both lists. If it
finds a match it copies the necessary information from the *new* animation to
the *existing* animation (but preserving the start time, last notification
etc.). Then, finally, it puts the *existing* animation in the list of *new*
animations and removes the corresponding *new* animation. The existing
animation is also removed from the list of existing animations so that it only
matches once.

The method used for matching is probably not intuitive but this is addressed in
a subsequent patch in this series.
2014-07-23 10:51:12 +09:00
Daniel Holbert
e5dbe72026 Bug 946167: crashtest for this bug. (no review) 2014-07-22 08:24:38 -07:00
Daniel Holbert
cdc8f0b4ce Bug 1015474 part 7: Explicitly set min-[width|height]:0 on flex items, in flexbox-flex-flow-* reftests. (no review) 2014-07-22 08:24:37 -07:00
Daniel Holbert
d7fbfec203 Bug 1015474 part 6: Remove tests for old "min-width:auto" behavior which are no longer correct (and/or obsoleted by newer tests). (no review) 2014-07-22 08:24:37 -07:00
Daniel Holbert
69da3c8a73 Bug 1015474 part 5: Add reftests for interaction between "min-[width|height]:auto" & "overflow-x"/"overflow-y". r=dbaron
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-003-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-003.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-004-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-004.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-004-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-004.html
2014-07-22 08:24:37 -07:00
Daniel Holbert
c2e44f82ef Bug 1015474 part 4: Add reftests for interaction between "min-width:auto" & "overflow-x". r=dbaron 2014-07-22 08:24:37 -07:00
Daniel Holbert
4aa6dbeb7f Bug 1015474 part 3: Add reftests for new "min-height:auto" sizing behavior on flex items. r=dbaron
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-001-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-001.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-002-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-002-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-002a.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-002a.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-002b.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-002b.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-002c.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-002c.html
2014-07-22 08:24:37 -07:00
Daniel Holbert
df9dae268e Bug 1015474 part 2: Add reftests for new "min-width:auto" sizing behavior on flex items. r=dbaron 2014-07-22 08:24:37 -07:00
Daniel Holbert
2f8e9dec2a Bug 1015474 part 1: Update behavior of "min-width:auto"/"min-height:auto" to match current spec text. r=mats
This updates min-width:auto / min-height:auto to now take several more things
into account, beyond just a flex item's min-content size. Now we'll also
consider its used 'flex-basis', its main max-size property ('max-width' or
'max-height'), and its intrinsic ratio & any constraints in the other
dimension.
2014-07-22 08:24:37 -07:00
Daniel Holbert
17b1051d8a Bug 1037177 part 5: Update documentation for GenerateFlexItemForChild & helpers. (comment-only, no review) 2014-07-22 08:24:36 -07:00
Daniel Holbert
fd1ff0cc24 Bug 1037177 part 4: Call ResolveAutoFlexBasisAndMinSize at the end of GenerateFlexItemForChild, instead of just after it. r=mats 2014-07-22 08:24:36 -07:00
Daniel Holbert
3e3f37cd31 Bug 1037177 part 3: Split out flexbox's auto-height-measuring code into its own dedicated function. r=mats 2014-07-22 08:24:36 -07:00
Daniel Holbert
52a9932d7d Bug 1037177 part 2: Rename ResolveFlexItemMaxContentSizing to ResolveAutoFlexBasisAndMinSize. r=mats 2014-07-22 08:24:36 -07:00
Daniel Holbert
eabd84853d Bug 1037177 part 1: Make FlexItem() constructor take a reflow state as a parameter, to reduce arg-count and get faster access to style structs. r=mats 2014-07-22 08:24:36 -07:00
Daniel Holbert
3531a3bed7 Bug 984711 part 9: Rename file_flexbox_min_size_auto.html to test_flexbox_min_size_auto.html, now that its obsolete wrapper is gone. (no review)
--HG--
rename : layout/style/test/file_flexbox_min_size_auto.html => layout/style/test/test_flexbox_min_size_auto.html
2014-07-22 08:24:36 -07:00
Daniel Holbert
d398d5a14c Bug 984711 part 8: Remove pref-setting mochitest wrapper for min-[size]:auto mochitest. (no review; tweaking existing test) 2014-07-22 08:24:35 -07:00
Daniel Holbert
ce2ad528cc Bug 984711 part 7: Add back mochitest for min-[size]:auto. (no review; just an unbitrotted backout)
This reverts changeset edd98255e81d from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
7e1a5f22ec Bug 984711 part 6: Add back special handling for min-width:auto in nsHTMLReflowState & getComputedStyle. (no review; just an unbitrotted backout)
This reverts changeset 1eae876d6c3a from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
2807393ce8 Bug 984711 part 5: Add back handling for min-height:auto to nsFlexContainerFrame. r=mats
This conceptually reverts changeset 7a289f49170f from bug 848539, though the code being modified looks a bit different now.
2014-07-22 08:24:35 -07:00
Daniel Holbert
a4bd0b74e2 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
7d742838e2 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
Daniel Holbert
845f7f5994 Bug 984711 part 2: Add back min-width:auto & min-height:auto in the parser and as default value (just computing to '0' for now). (no review; just an unbitrotted backout)
This reverts changeset e7a9e30409eb from bug 848539.
2014-07-22 08:24:34 -07:00
Daniel Holbert
3d52bc3d05 Bug 984711 part 1: Revert tweaks to unit tests, now that 'min-width:auto' support is coming back. (no review; just an unbitrotted backout)
This reverts changeset afe27d80eeef from bug 848539.
2014-07-22 08:24:34 -07:00
Ting-Yu Lin
db9edd0da1 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
2c6bc3f45f 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
d8167428d6 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Carsten "Tomcat" Book
9c42a5cff1 Backed out changeset a0ffaeafbe7e (bug 1013054) for reftest failure 2014-07-22 09:34:36 +02:00
Robert O'Callahan
963e236fdb 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
61a62d1f0d Bug 1041200. Ensure nsDisplayZoom and friends compute mVisibleRect relative to their reference frame. r=mattwoodrow 2014-07-22 17:50:11 +12:00
Timothy Nikkel
bbe6a7ae56 Bug 995519. Enable overlay scrollbars on root scrollframes in root content documents. r=roc 2014-07-15 00:09:24 -05:00
Timothy Nikkel
3271802e32 Bug 995519. Limit the widths of some divs in the test part of a reftest so they don't generate a scrollbar that the ref doesn't have. r=matt.woodrow 2014-07-21 22:42:52 -05:00
Susanna Bowen
cf86b3ef3d Bug 1038928 - Mochitests for CSS 2.1 9.7. r=bz 2014-07-21 18:28:04 -07:00
Seth Fowler
096322c070 Bug 1034209 (Part 2) - Make nsImageRenderer::Draw private. r=nrc 2014-07-21 17:59:24 -07:00
Seth Fowler
5e077a4edd 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
4be1be30cb 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
2bb67119a4 Bug 1031576 (Part 2) - Use dynamic images in the implementation of -moz-element. r=nrc 2014-07-21 17:59:23 -07:00
John Daggett
d3ac260522 Bug 1024804 p3 - reftests for subscript/superscript fallback. r=jfkthame 2014-07-22 09:02:50 +09:00
John Daggett
e4179df2a4 Bug 1024804 p2 - scan scriptrun for characters lacking variant glyphs. r=jfkthame 2014-07-22 09:02:48 +09:00
Geoff Brown
47ec474257 Bug 1041017 - Skip test_animations_omta_start.html on b2g desktop; r=trivial 2014-07-21 16:10:53 -06:00
Geoff Brown
69cacfe86d Bug 1040987 - Skip test_event_target_radius.html on b2g desktop; r=trivial 2014-07-21 16:10:52 -06:00
Ed Morley
a6944a2386 Backed out changeset 3eef0822d4d0 (bug 1013054) for failures in 1013054-1.html 2014-07-21 17:40:12 +01:00
Robert O'Callahan
76f4e30bb5 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
a5511a2da5 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
Robert O'Callahan
1d17ed0a0b Bug 1039454. Remove InitialOverflowProperty when it no longer applies. r=mats
--HG--
extra : rebase_source : 47f816ce69edfd1b28a802baac6d13ef6610799d
2014-07-22 01:57:46 +12:00
Robert O'Callahan
c066cc7095 Bug 1041207. nsListBoxBodyFrame::Init shouldn't call nsLayoutUtils::GetScrollableFrameFor since it's not the scrolled frame yet. r=mattwoodrow
--HG--
extra : rebase_source : 97ad4db1b77775c632c407185df9db1ad0ff411a
2014-07-22 01:55:26 +12:00
Brian Grinstead
0fb0a24991 Bug 1037519 - Allow matching pseudo-elements in inIDOMUtils.selectorMatchesElement. r=bz 2014-07-18 14:30:00 -04:00
Alexandre Poirot
32f4c0930e 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
c981769b72 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey
33ef4f2c39 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
9ae3c48776 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
1a463bf842 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Matt Woodrow
63e0a08f40 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
32a667f421 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
77317470ea Bug 1041510. Now that we merge and flatten display items bottom to top (instead of the reverse) move the scroll info layer to be on top of the other scrolled content so that it is still processed last. r=roc 2014-07-22 15:37:28 -05:00
Timothy Nikkel
4bc10bac54 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
fb612370d9 bug 1036694 - remove another reference to nsIMarkupDocumentViewer r=bustage landed on a CLOSED TREE 2014-07-22 15:54:46 -04:00
Trevor Saunders
dcbd7db871 bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Robert O'Callahan
24965c3064 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
c5c713eb2a Bug 1022612. Part 44: Make nsSimplePageSequence only paint the pages that are actually in the dirty rect. r=mattwoodrow
--HG--
extra : rebase_source : 07ec3a1fa4f8a9086f2e16b170172c6d21052dc1
2014-07-17 15:39:39 +12:00
Robert O'Callahan
19143c9ccc 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
c53dd12882 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
7a24a543e4 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
ab28b4ff4f 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
54569c32b7 Bug 1022612. Part 39: Add a little bit of reftest fuzzing. r=mattwoodrow
--HG--
extra : rebase_source : b996dc16b034a458da05d1daceac601c5e999b3b
2014-07-07 17:46:56 +12:00
Robert O'Callahan
baae7ca0ee Bug 1022612. Part 38: Avoid test failure due to antialiased pixel leakage. r=mattwoodrow
--HG--
extra : rebase_source : 49cf06c8ec34ecd35f26173f2a8954fd3d44b0cd
2014-07-07 17:46:56 +12:00
Robert O'Callahan
87be51719d 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
502b26b8db 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
6478471148 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 : 0f389e66354c6e345311da01b739a81ced73d699
2014-06-23 16:24:14 +12:00
Robert O'Callahan
e0b7c0ab0a 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
bef96306fd 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
f0df515097 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
b7f889ff6d 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
67a68778bd 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
4def4469f5 Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
--HG--
extra : rebase_source : bca7885147f0328d9700770052500e856d131bd9
2014-06-23 16:21:42 +12:00
Robert O'Callahan
2798fbbe51 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
183557db1e 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
982a4406ac 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
b4595beefa 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
bac87bb01e 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
6b9b3a7f45 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
bd864cb1be 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
9068af428a 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
f8e538901c 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
33ce6267be 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 : b4bb464bab59dd1d8c5e6b8aa4402d040105b27d
2014-07-07 17:46:29 +12:00
Robert O'Callahan
2d715e286d 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
863e7d40e7 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
e3297bb301 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
0620e093ef 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
12e8b51b9d 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
a34a25a5f0 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
3fddeb7b5c 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
f955def432 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
67d8702a2f 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
c57471afe2 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
f1da9a9cf5 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
b2744553b3 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
cd5647e8a3 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
2765a46906 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
Fabrice Desré
fc46d39499 Bug 1045478 - Disable the app update timer in reftests and crashtests r=ryanvm 2014-07-29 10:02:20 -07:00
Carsten "Tomcat" Book
bb330dfc61 Merge mozilla-central to b2g-inbound 2014-07-29 15:37:03 +02:00
Morris Tseng
7c34823daf Bug 1024930 - Change text highlighting color. r=roc 2014-07-28 02:13:00 +02:00
Robert O'Callahan
01eb9c6919 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
6afa071820 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
c323113b48 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
850960e5a9 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
435b23c776 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
fa91c12073 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
764c4772f3 Merge fx-team to m-c a=merge 2014-07-18 18:31:46 -07:00
Michael Ratcliffe
5e4076951b Bug 1035106 - Add new APIs to DOMUtils: colorToRGBA, isValidCSSColor & cssPropertyIsValid r=bz 2014-07-17 15:08:07 +01:00
Mats Palmgren
96b5c837be Bug 1028462 - Increase the fuzzyness to 3 on B2G. r=me 2014-07-18 17:01:55 +00:00
Abhishek Arya
d4e5493973 Bug 812893 - crashtest. 2014-07-18 17:01:55 +00:00
Jesse Ruderman
d6cc46bd55 Bug 812879 - Crash tests. 2014-07-18 17:01:55 +00:00
Jesse Ruderman
2c685512de Bug 812665 - crashtest. 2014-07-18 17:01:54 +00:00
Abhishek Arya
a60d1cd3e3 Bug 785555 - crashtest. 2014-07-18 17:01:54 +00:00
Douglas Crosher
17c44937b8 Bug 783228 - crashtest. 2014-07-18 17:01:54 +00:00
Neil Deakin
f7ad8f4dca Bug 1027057, fix closing animation comment 2014-07-18 12:58:26 -04:00
Abhishek Arya
ef25fd221f Bug 824862 - crashtest. 2014-07-18 10:47:08 +00:00
Atte Kettunen
cced6fc046 Bug 840480 - crashtest. 2014-07-18 10:47:08 +00:00
w3bd3vil@gmail.com
8a2797b16e Bug 842166 - crashtest. 2014-07-18 10:47:08 +00:00
Abhishek Arya
5496d62429 Bug 850931 - crashtest. 2014-07-18 10:47:08 +00:00
miaubiz@gmail.com
a8d1c0d23f Bug 876092 - crashtest. 2014-07-18 10:47:08 +00:00
Jesse Ruderman
1e55cbf138 Bug 919434 - crashtest. 2014-07-18 10:47:07 +00:00
Jesse Ruderman
0407b460b5 Bug 931450 - crashtest. 2014-07-18 10:47:07 +00:00
Aki Helin
1506e92216 Bug 1015844 - crashtest. 2014-07-18 10:47:07 +00:00
Matt Woodrow
6ef7478aed Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
f029ed5c7d Bug 1023677 - Don't flatten active transform layers. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
e3b1553140 Bug 1023677 - Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
220ef73c55 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
dc0de81b8d Bug 1023677 - Mark BasicCompositor as not supporting component alpha layers. r=roc 2014-07-18 18:48:22 +12:00
Markus Stange
edeb1697d6 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
495d5a7688 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
f4353ad9eb 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
cb7c6f76fb Bug 941459 - [e10s] pushPrefEnv, popPrefEnv in specialPowersAPI.js not e10s friendly. r=jmaher 2014-07-13 17:00:26 +02:00
Ahmed Kachkach
4dcc22f03c Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
028b0f7ba3 Backed out changeset 3c5f96882e6c (bug 1023677) 2014-07-18 10:45:29 +02:00
Carsten "Tomcat" Book
62c674f8bc Backed out changeset 84df2aaf5e2a (bug 1023677) 2014-07-18 10:45:27 +02:00
Carsten "Tomcat" Book
aef2338c98 Backed out changeset d03cb12a166e (bug 1023677) 2014-07-18 10:45:26 +02:00
Carsten "Tomcat" Book
dd0c2974e6 Backed out changeset b049e0ae4d1d (bug 1039145) 2014-07-18 10:45:24 +02:00
Matt Woodrow
5397346ec1 Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
1273ddc6cf Bug 1023677 - Don't flatten active transform layers. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
1d658771e0 Bug 1023677 - Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
5f38a46434 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
db7f703446 Bug 1038844 - Flip the scary automation pref for crashtests and marionette. r=jgriffin 2014-07-17 21:34:48 -07:00
Kartikaya Gupta
d0a407b15f 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
8293f7cd13 Bug 1038032 part 2 - Add test case for overflowing TimeDuration; r=dholbert 2014-07-18 10:31:18 +09:00
Brian Birtles
bd6fdd80a0 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
4a8b50b271 Bug 1039623 - Set scroll parent id correctly for nsSubDOcumentFrame. r=tn 2014-07-16 19:08:28 -04:00
Ryan VanderMeulen
f6dd40d9e0 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
10a571c817 Backed out changeset 87ae841e4f92 (bug 1021564) for crashtest failures/assertions on a CLOSED TREE 2014-07-17 16:12:46 +02:00
Martijn Wargers
0fb3c68ed4 Bug 945781 - Remove ChromePowers.js. r=jmaher 2014-07-14 23:40:49 +02:00
Markus Stange
55de63a229 Bug 1021564 - Invalidate filtered frames when they move in certain ways. r=roc 2014-07-17 14:58:24 +02:00
Robert O'Callahan
03b669f608 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
b5d9ea3716 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
e4a2b6b6ae 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
4a61a3e4a9 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
0b75477711 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
6abf45b949 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
5c58dec222 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
720476ee07 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
ab9cab0917 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
ca216442cf 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
45d36e5828 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
182824d481 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
d841e9f6c6 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
659051ae25 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
9121e8fe38 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
5a959e4b09 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
b58d7f56a1 Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
--HG--
extra : rebase_source : c7c0b06b7c0facf664657de33bf4931979ced7db
2014-06-23 16:21:42 +12:00
Robert O'Callahan
77245f6bd4 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
aef5eaece1 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
e8fe9d1dc7 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
f67a9ec557 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