Chris Peterson
8c0c6e5376
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
55bb4c2297
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
2015-12-22 16:54:19 +01:00
Carsten "Tomcat" Book
791f2a3ca3
Backed out changeset 68b33692bed3 (bug 1147673)
2015-12-16 11:52:37 +01:00
Markus Stange
7ce6f2aca9
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
2015-12-12 10:58:37 -05:00
Matt Woodrow
3bf4d3a834
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
15b17818c8
Bug 1205087 - Cache the AnimatedGeometryRoot on DisplayItem. r=roc
2015-10-05 17:09:34 -04:00
Botond Ballo
48ca7899ae
Bug 1208661 - Show display list and layer textures in-line in the HTML paint dump. r=BenWa
2015-09-28 15:22:05 -04:00
Kartikaya Gupta
936c7e57fc
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.
2015-09-28 15:17:34 -04:00
Matt Woodrow
20905d8fab
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
b3fa553864
Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc
2015-09-24 18:25:08 -04:00
Phil Ringnalda
daf0794aae
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
ffb53af693
Bug 1205087 - Cache AnimatedGeometryRoot on nsDisplayItem. r=roc
2015-09-17 21:05:20 -04:00
Matt Woodrow
791f58c171
Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc
2015-09-17 21:03:42 -04:00
CJ Ku
c1c30c1099
Bug 1061393 - Export display list info to layer scope viewer. r=kamidphish
2015-08-03 02:11:00 -04:00
peter chang
7ebe795459
Bug 1144990 - Dump display items with class id and name, r=roc
2015-04-15 10:07:45 +08:00
Ehsan Akhgari
ea41d8de48
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
ff95153fca
Backout a6dbd23da598 (bug 1139283) since it is currently not needed.
2015-03-20 15:12:17 +11:00
Xidorn Quan
9533554776
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
2015-03-08 18:43:22 +11:00
Benoit Girard
2dd292c6c0
Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange
2014-12-31 15:17:39 -05:00
Benoit Girard
9ea6dad602
Bug 1112483 - Add the layer bounds in the DisplayList dump. r=mattwoodrow
2014-12-18 13:32:51 -05:00
Kartikaya Gupta
4f6dd5e3ef
Bug 1104266 - Avoid needless temporary nsACString. r=mattwoodrow
2014-11-25 08:45:19 -05:00
Matt Woodrow
38a3e36018
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
fff3e88ace
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
baedbd2ceb
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
f2d23aeeea
Bug 1022612. Part 21: Remove DidComputeVisibility checking. r=mattwoodrow
2014-06-09 16:48:01 +12:00
Ryan VanderMeulen
c55b45acd3
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
f38b84a210
Bug 1022612. Part 21: Remove DidComputeVisibility checking. r=mattwoodrow
2014-06-09 16:48:01 +12:00
Carsten "Tomcat" Book
db09bc5589
Backed out changeset 032ba47c6684 (bug 1022612)
2014-07-15 10:30:21 +02:00
Robert O'Callahan
dfb53acb63
Bug 1022612. Part 21: Remove DidComputeVisibility checking. r=mattwoodrow
2014-06-09 16:48:01 +12:00
Benoit Girard
d9593bb486
Bug 1035998 - Annotate painting with display item information. r=mattwoodrow
2014-07-09 15:11:51 -04:00
Benoit Jacob
553e5b2a13
Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron
2014-06-23 18:40:01 -04:00
Benoit Girard
c36e97ca50
Bug 1027496 - Stream display list and layers dump. r=mattwoodrow
2014-06-19 18:36:25 -04:00
Benoit Girard
45702bfe83
Bug 1024742 - show will-change on the display list dump. r=mattwoodrow
2014-06-13 11:32:15 -04:00
Birunthan Mohanathas
a575bd9831
Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
eeb9aaaa94
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
0d86a504e4
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
fe6152ac7a
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Timothy Nikkel
b1d7ca036c
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
7d745b8d28
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
f401e1b1bd
Bug 933264 - Add functions to print nsDisplayListSet instance. r=tn
2013-12-12 13:27:07 -05:00
Nicholas Cameron
1921e04d42
Bug 943110. Don't use fputc in display list/layers dumps. r=BenWa
2013-11-26 15:07:41 +13:00
Benoit Girard
6bbceb3263
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Robert O'Callahan
916cde3a75
Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow
2013-04-20 00:02:13 +12:00
Robert O'Callahan
29d310bf8a
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.
2013-03-04 22:56:02 +13:00
Robert O'Callahan
d38fd349ae
Bug 846901 - Support prerendering elements with animated transforms that are offscreen but only by a small amount. r=mattwoodrow
2013-03-19 09:08:29 -04:00
Ed Morley
7f3e7b6853
Backed out changeset e8ffcf4b8e22 (bug 846901)
2013-03-19 14:15:07 +00:00
Robert O'Callahan
ef08683fba
Bug 846901 - Support prerendering elements with animated transforms that are offscreen but only by a small amount. r=mattwoodrow
2013-03-19 09:08:29 -04:00
Matt Woodrow
ab9ffdd66a
Bug 836179 - Add WriteDebugInfo so that display items can add extra information when printing display lists. r=roc
2013-01-30 18:07:30 +13:00
Robert O'Callahan
bc3c026926
Bug 805331. Part 1: Refactor nsDisplayList::GetList
...
Renames GetList to GetSameCoordinateSystemChildren, and adds an assertion
to verify that the children have the same reference frame as the parent.
Adds nsDisplayList::GetChildren to return whatever children there are.
Obsoletes nsDisplayTransform::GetStoredList.
2012-11-03 01:59:03 +13:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00