Commit Graph

19 Commits

Author SHA1 Message Date
Kevin Wern
4d07bc92ea Bug 1227231: Use generic tree traversal algorithms for loops over Layer trees. r=botond
Create an Iterator type with classes ForwardIterator and ReverseIterator,
having GetFirstChild/GetNextSibling and GetLastChild/GetPrevSibling
methods, respectively. Specify the iterator type for each call to
ForEachNode. With this, we can support trees with forward and reverse
sibling structures.

Additionally, apply these algorithms to all Layer recursive traversals,
where applicable. Update tests to ensure both directions yield expected
results.

MozReview-Commit-ID: iYpX22XHTa
2016-03-10 01:20:40 -08:00
Michelangelo De Simone
3c44cb010c Bug 1247445 - Rename Layer::GetEffectiveVisibleRegion GetLocalVisibleRegion. r=botond 2016-02-13 16:50:51 -08:00
Thibaud Backenstrass
93145c402c Bug 1158122 - Remove the remaining occurences of nsIntRect in gfx/layers. r=nical 2015-05-07 11:07:53 +02:00
David Zbarsky
37bec6718c Bug 952977: More gfx::Matrix cleanups r=nical 2014-08-01 08:31:49 -04:00
Wes Kocher
e230d2b1cf 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
f1c024ef08 Bug 952977: More gfx::Matrix cleanups r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky
d52bc5c9a4 Fix MOZ_RENDERTRACE bustage from bug 952977 r=me 2014-07-21 21:37:57 -04:00
Nicholas Cameron
6ff5d55180 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Birunthan Mohanathas
1be02d8d34 Bug 784739 - Switch from NULL to nullptr in gfx/layers/; r=ehsan 2013-07-20 11:48:55 +03:00
Nicolas Silva
76c25a1b0a Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-25 18:25:33 -04:00
Ryan VanderMeulen
6c68f704b3 Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
f653739991 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-24 15:40:26 -04:00
Dave Hylands
dae6a78433 Bug 759169 - Fix for compile error when MOZ_RENDERTRACE is enabled. r=bgirard 2012-05-29 13:56:44 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benoit Girard
43d9d4733f Merge mc->Maple 2012-03-07 11:10:45 -05:00
Benoit Girard
0feddc8aae Improve RenderTrace. r=debug 2012-02-24 17:41:16 -05:00
Benoit Girard
e8983883c4 Rendertrace improvements. r=runtime_config_only 2012-02-24 11:35:04 -05:00
Benoit Girard
0a8a885a47 Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow 2012-03-05 15:17:13 -05:00
Benoit Girard
fa00e4fe45 Preliminary render trace 2012-02-17 17:05:03 -05:00