Kan-Ru Chen
d5a5ebb1c5
Bug 1271931 - Make DisplayItem::IsUniform to return Maybe<nscolor>. r=tnikkel
...
Maybe<nscolor> ensures that correct value is returned and also makes the
error checking clearer than using a out param.
MozReview-Commit-ID: 39uHIFCZzqn
--HG--
extra : rebase_source : 1885906646ebc9739c86aecb2b8e4bd0ee02e97f
2016-05-19 16:07:52 +08:00
Nicholas Nethercote
26360d6c45
Bug 1239864 (part 9) - Use the new rect iterators in layout/ and ipc/. r=dholbert.
...
--HG--
extra : rebase_source : d5558c39bd3cfe85ee6f247eea8bab33f2f5027f
2016-01-18 17:20:59 -08:00
Matt Woodrow
10dde3e3a8
Bug 1231538
- Build a ContainerLayer for position:fixed and background-attachment:fixed content. r=roc
2016-01-26 13:36:48 +13:00
Tooru Fujisawa
4fac62d240
Bug 382721 - Part 0: Add missing includes and namespaces. r=jrmuizel
2015-09-10 19:24:34 +09:00
Nicholas Nethercote
f0546a84a1
Bug 1232852 (part 2) - Remove some dead member functions from nsILayoutDebugger. r=roc.
...
--HG--
extra : rebase_source : c36b9431f82c4b07e30654034e5846eb5f543c5d
2016-01-05 00:21:57 -08:00
Timothy Nikkel
1a55f25e5b
Bug 1235678. Fix printing animated geometry roots of display items. r=dholbert
2015-12-30 13:21:10 -06:00
Chris Peterson
e4bb03dc8f
Bug 1235186 - Part 2: Fix -Wclass-varargs warning in layout/. r=dholbert
...
layout/base/nsLayoutDebugger.cpp:189:36: warning: passing object of class type 'AnimatedGeometryRoot' through variadic constructor [-Wclass-varargs]
2015-12-22 18:29:35 -08:00
Markus Stange
b22db3eab2
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 1j8QG2b0rIG
extra : rebase_source : 027065697e7e0ef445d8bcf7a81cf0270dcf7b8b
2015-12-22 16:54:19 +01:00
Carsten "Tomcat" Book
27bbe6ec93
Backed out changeset 68b33692bed3 (bug 1147673)
2015-12-16 11:52:37 +01:00
Markus Stange
bf668586d7
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 7KbOQKKSVq5
extra : rebase_source : d23daf86ed8d375bd5ab3ed7dfe3cff80bc0ff4c
extra : histedit_source : cce4ded91f0672142796a852d20d052e7b6247ce
2015-12-12 10:58:37 -05:00
Matt Woodrow
41a4ad2285
Bug 1222880 - Build a tree of AnimatedGeometryRoots to speed up traversal of ancestors. r=roc,tn
2015-11-25 11:53:51 +13:00
Kartikaya Gupta
795d8736fd
Bug 1205087 - Cache the AnimatedGeometryRoot on DisplayItem. r=roc
2015-10-05 17:09:34 -04:00
Botond Ballo
514da6416f
Bug 1208661 - Show display list and layer textures in-line in the HTML paint dump. r=BenWa
...
--HG--
extra : rebase_source : 83b8aa0650599932297bb75aa3e9bdeed589f87b
extra : source : 9ba5b04a7a416c7cace04b2191e105aa694ff2ef
2015-09-28 15:22:05 -04:00
Kartikaya Gupta
0123b19fc5
Back out the bits of bug 1205087 that cache the AnimatedGeometryRoot on DisplayItem. r=backout
...
The change breaks some scenarios with APZ scrolling, in particular the code
that layerizes the scroll handoff chain for deeply nested scrollable frames.
--HG--
extra : commitid : KeQX4HyPKXd
2015-09-28 15:17:34 -04:00
Matt Woodrow
55713b7206
Bug 1205087 - Make nsSVGIntegrationUtils paint frame continuations manually since combining them meant that our reference frame wasn't an ancestor of all painted frames. r=roc
2015-09-24 18:26:34 -04:00
Matt Woodrow
d58f9e3efb
Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc
2015-09-24 18:25:08 -04:00
Phil Ringnalda
7171096144
Back out 2 changesets (bug 1205087) for mass bustage
...
CLOSED TREE
Backed out changeset 0573cd4aed27 (bug 1205087)
Backed out changeset 11a3cb42f729 (bug 1205087)
2015-09-17 19:30:42 -07:00
Matt Woodrow
031080c187
Bug 1205087 - Cache AnimatedGeometryRoot on nsDisplayItem. r=roc
...
--HG--
extra : rebase_source : 75bf6cd82232dad91bfd35d2ef0f3bc5fcd3b26b
2015-09-17 21:05:20 -04:00
Matt Woodrow
ad13620acc
Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc
...
--HG--
extra : rebase_source : a55ebf8ab3ea6cad0ff9945f9ee9857421053e0b
2015-09-17 21:03:42 -04:00
CJ Ku
009a82453e
Bug 1061393 - Export display list info to layer scope viewer. r=kamidphish
2015-08-03 02:11:00 -04:00
peter chang
d37e7341cc
Bug 1144990 - Dump display items with class id and name, r=roc
2015-04-15 10:07:45 +08:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Xidorn Quan
c9ec579ba2
Backout a6dbd23da598 (bug 1139283) since it is currently not needed.
...
--HG--
extra : source : 3acc263e7d18fc2946bd043edcf7ae865e3874fe
2015-03-20 15:12:17 +11:00
Xidorn Quan
d4289c7714
Bug 1139283 - Move some properties from nsStyleDisplay to nsStylePosition. r=dbaron
...
The moved properties are:
* clip
* transform-style
* transform-origin
* backface-visibility
* perspective
* perspective-origin
* will-change
--HG--
extra : source : 42bbf0328b450d1094250159fe9f7f0d07622290
2015-03-08 18:43:22 +11:00
Benoit Girard
98b7cc0e56
Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange
2014-12-31 15:17:39 -05:00
Benoit Girard
0003ef72d0
Bug 1112483 - Add the layer bounds in the DisplayList dump. r=mattwoodrow
...
--HG--
extra : rebase_source : cb6d1329dc507607ef57bcd26d825dde052121ea
2014-12-18 13:32:51 -05:00
Kartikaya Gupta
4a94a25a0d
Bug 1104266 - Avoid needless temporary nsACString. r=mattwoodrow
2014-11-25 08:45:19 -05:00
Matt Woodrow
cfce6663f6
Bug 1045864 - Disable layerized background-attachment:fixed when we're using a software compositor. r=roc
2014-08-05 15:25:00 +12: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
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
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
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
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
Carsten "Tomcat" Book
69f40e9ed0
Backed out changeset 032ba47c6684 (bug 1022612)
2014-07-15 10:30:21 +02: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
Benoit Girard
9ff5212b89
Bug 1035998 - Annotate painting with display item information. r=mattwoodrow
...
--HG--
extra : rebase_source : ca750d2ca943d2596053b9ecf52074c5f5f53e70
2014-07-09 15:11:51 -04:00
Benoit Jacob
e1b7dbca34
Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron
2014-06-23 18:40:01 -04:00
Benoit Girard
19effe56b7
Bug 1027496 - Stream display list and layers dump. r=mattwoodrow
2014-06-19 18:36:25 -04:00
Benoit Girard
2ba3accee9
Bug 1024742 - show will-change on the display list dump. r=mattwoodrow
2014-06-13 11:32:15 -04:00
Birunthan Mohanathas
59b969f7f4
Bug 869836 - Part 8: Use Append('c')
instead of Append("c")
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Timothy Nikkel
6fa728f68f
Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow
...
Also makes DidComputeVisibility available during non-debug painting so we can use it.
2014-03-02 16:22:29 -06:00
Arnaud Sourioux
a127266e74
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Timothy Nikkel
4892052b7a
Bug 963771. Add a debug dump function to print a single display item (and not just an entire display list). r=mats
2014-01-26 16:09:14 -06:00
Timothy Nikkel
89b437d807
Bug 962505. When dumping display lists print the entire line at once so it works better with Fennec and b2g. r=mats
2014-01-26 16:07:08 -06:00
Kartikaya Gupta
5642127a72
Bug 933264 - Add functions to print nsDisplayListSet instance. r=tn
2013-12-12 13:27:07 -05:00
Nicholas Cameron
e3cb6e45db
Bug 943110. Don't use fputc in display list/layers dumps. r=BenWa
2013-11-26 15:07:41 +13:00
Benoit Girard
a735170d84
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Robert O'Callahan
4bd8d8b1e8
Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow
2013-04-20 00:02:13 +12:00
Robert O'Callahan
613ea8adbd
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00