Commit Graph

124 Commits

Author SHA1 Message Date
David Anderson
5cbc12627e Change the subdoc invalidation callback to handle overflow. (bug 1345891 part 5, r=mattwoodrow) 2017-08-03 21:22:49 -07:00
David Anderson
6b1a9d7a48 Handle 3d context bounds overflow in LayerTreeInvalidation. (bug 1345891 part 4, r=mattwoodrow) 2017-08-03 21:22:49 -07:00
David Anderson
25fa1bd01e Handle invalidation bounds overflow in ContainerLayerMLGPU. (bug 1345891 part 3, r=mattwoodrow) 2017-08-03 21:22:49 -07:00
David Anderson
5b30fd2693 Handle bounds overflow in consumers of LayerTreeInvalidation. (bug 1345891 part 2, r=mattwoodrow) 2017-08-03 21:22:48 -07:00
David Anderson
4bf76ed059 Refactor LayerTreeInvalidation::ComputeChangeInternal's signature to handle overflow. (bug 1345891 part 1, r=mattwoodrow) 2017-08-03 21:22:48 -07:00
David Anderson
f4915f1030 Include visible region changes in the cached invalid region for ContainerLayers. (bug 1381666 part 4, r=mattwoodrow) 2017-07-31 12:29:18 -07:00
David Anderson
af21dfb2af Allow ContainerLayers to track their invalid regions. (bug 1365879 part 16, r=mattwoodrow) 2017-06-20 01:17:21 -07:00
David Anderson
a2be43fa2b Remove LayerManagerComposite's geometry changed flag. (bug 1363249, r=mattwoodrow) 2017-05-10 10:49:31 -07:00
Kartikaya Gupta
4979fd659f Merge m-c to graphics
MozReview-Commit-ID: IN2hMCjMHLL
2017-02-17 23:33:24 -05:00
Mason Chang
e98ed22835 Bug 1337130 - Create a DisplayItemLayer type. r=mattwoodrow 2017-02-14 13:49:27 -08:00
Ethan Lin
847fa1b6d1 Bug 1332978 - Add TextLayerProperties for TextLayer. r=mattwoodrow 2017-01-22 19:57:00 -05:00
Sylvestre Ledru
62c6242f05 Bug 1338086 - Remove useless else blocks in order to reduce complexity in gfx/ r=nical
MozReview-Commit-ID: H9zZd19V4Ww
2017-02-09 13:39:27 +01:00
Ethan Lin
b8cb035cd7 Bug 1331538 - Add BorderLayerProperties for border layer. r=mattwoodrow 2017-01-18 21:48:00 +08:00
Kartikaya Gupta
b7ce2e14a6 Bug 1323291 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow
MozReview-Commit-ID: 8V5SPiRA8FO
2016-12-13 15:56:26 -05:00
Matt Woodrow
26fae296aa Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00
Carsten "Tomcat" Book
c5a85de12f Backed out changeset 4909935f8081 (bug 1319626) 2016-11-24 17:02:32 +01:00
Matt Woodrow
ce171e59c7 Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow
268a08de7a Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange 2016-11-24 18:11:29 +13:00
Bas Schouten
cd0155b68f Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel 2016-11-24 18:11:27 +13:00
Andi-Bogdan Postelnicu
700be71ad9 Bug 1317637 - Use C++11's override and remove virtual where applicable in gfx/. r=jrmuizel
MozReview-Commit-ID: 2nzBWEAu2wt
2016-11-15 11:16:29 +02:00
Benoit Girard
6ebfb1f1b9 Bug 1251615 - Disallow Copy/Assignment to LayerProperties. r=mstange
MozReview-Commit-ID: KsT3FVXHwQK
2016-09-07 15:21:20 -04:00
Benoit Girard
b1bada32c9 Bug 1251615 - Add more safety checks for ComputeChange crash. r=mstange
MozReview-Commit-ID: 2zdycnmRA8u
2016-08-03 17:08:40 -04:00
Benoit Girard
711fcdd45c Bug 1251615 - Add poison values to Layer to check for errors. r=mstange
MozReview-Commit-ID: l22oL5b9oB
2016-04-27 18:57:44 -04:00
Jonathan Watt
9c5b8de022 Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Jonathan Watt
356d59cd2f Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas 2016-05-25 17:01:18 +01:00
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
bd339
4856f3472f Bug 1258758 - rename GetEffectiveClipRect to GetLocalClipRect. r=kats
MozReview-Commit-ID: HNErexDE1Xo
2016-05-02 17:27:35 +02:00
Markus Stange
c648c7322b Bug 1236043 - Use TiledRegion for the invalid region of a layer. r=jrmuizel
MozReview-Commit-ID: BNUyUPbrnU1
2016-04-18 13:49:14 -04:00
Ryan VanderMeulen
8689bd2c92 Backed out 4 changesets (bug 1254134) for causing bug 1259645.
Backed out changeset bc443e4eaeca (bug 1254134)
Backed out changeset 49b1c3749ae6 (bug 1254134)
Backed out changeset 24789e0f5331 (bug 1254134)
Backed out changeset 0c191e03195d (bug 1254134)

CLOSED TREE
2016-03-24 23:49:00 -04:00
Kartikaya Gupta
cbbacc2ec2 Bug 1254134 - Follow-up to take care of clang Winconsistent-missing-override warning. r=me 2016-03-23 21:12:05 -04:00
Kartikaya Gupta
07b2933ffd Bug 1254134 - Remove unused mask flag. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Kartikaya Gupta
31ca899580 Bug 1254134 - Use the full image size as the bounds for image layers during layer tree invalidation. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Kartikaya Gupta
a1cd07b4e8 Bug 1254134 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Wes Kocher
7b9164f0b3 Backed out 3 changesets (bug 1254134) for build failures in LayerTreeInvalidation.cpp, entirely unrelated to the current CLOSED TREE
Backed out changeset 5a0d2c853e13 (bug 1254134)
Backed out changeset f650dd293a4b (bug 1254134)
Backed out changeset 3b6b646ea0e2 (bug 1254134)

MozReview-Commit-ID: 2iQvX8NsARG
2016-03-23 15:55:20 -07:00
Kartikaya Gupta
87cc0160c2 Bug 1254134 - Remove unused mask flag. r=mattwoodrow
MozReview-Commit-ID: BmUyzuxDg0M
2016-03-23 11:05:42 -04:00
Kartikaya Gupta
5082f994c0 Bug 1254134 - Use the full image size as the bounds for image layers during layer tree invalidation. r=mattwoodrow
MozReview-Commit-ID: DBF3H3I4rbS
2016-03-23 11:05:42 -04:00
Kartikaya Gupta
6ad3c28334 Bug 1254134 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow
MozReview-Commit-ID: F6BBwjjx9eP
2016-03-23 11:05:41 -04:00
Markus Stange
0d57201020 Bug 1209100 - Back out bug 1165185 on inbound.
MozReview-Commit-ID: JqohyXNvjiU
2016-03-21 16:16:52 -04:00
Botond Ballo
cf3eefd9e4 Bug 1247452 - Use the effective visible region rather than the visible region where appropriate in the compositor. r=mattwoodrow
MozReview-Commit-ID: 6wbe0kUWh9h
2016-02-12 20:24:38 -05:00
Michelangelo De Simone
3c44cb010c Bug 1247445 - Rename Layer::GetEffectiveVisibleRegion GetLocalVisibleRegion. r=botond 2016-02-13 16:50:51 -08:00
Matt Woodrow
01edf7a40b Bug 1224433 - Part 3: Compute the invalidation area for preserve-3d layers by accumulating the leaves. r=roc 2016-02-12 11:35:35 +13:00
Sotaro Ikeda
de454a62a3 Bug 1161978 - Use GetEffectiveVisibleRegion() for Layer invalidation r=matt.woodrow 2016-02-07 16:43:16 -08:00
Birunthan Mohanathas
bfee0fb40c Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Nicholas Nethercote
241b89e77e Bug 1239864 (part 4) - Use the new rect iterators in gfx/. r=nical. 2016-01-18 17:20:58 -08:00
Sunny Sidhu
2ba69faae0 Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond 2015-11-29 02:07:55 -05:00
Botond Ballo
db5d15db66 Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical 2015-11-06 22:13:40 -05:00
Thinker K.F. Li
d017721a47 Bug 1210784 - Layer tree invalidation with Preserves3D. r=roc 2015-11-02 18:28:00 +01:00
David Anderson
03e7f4a98d Use compositor clip rects, not client clip rects, when computing the compositor's backbuffer damage region. (bug 1189159, r=mattwoodrow) 2015-10-28 10:22:16 -07:00