Commit Graph

424 Commits

Author SHA1 Message Date
Matt Woodrow
4f7d3bf72f Bug 1269321: Part 3 - Create a wrapper layer for masking when we can't support it on the normal layer. r=thinker
--HG--
extra : rebase_source : 2ad8ec40082c3cea7b811190a91b0324a4b0d8a2
2016-06-30 18:10:25 +02:00
Kartikaya Gupta
26e7e639be Bug 1283176 - Dump XMost and YMost values instead of width and height for sticky layers. r=nical
MozReview-Commit-ID: C9fJA03RamJ

--HG--
extra : rebase_source : a6d1c9cef47589642e6ca75b97c0619e76e6c0ab
2016-06-29 12:15:23 -04:00
Carsten "Tomcat" Book
ffd9e007e6 Backed out changeset 1b8e6e22a983 (bug 1275694) for test failures in checkerboard-3.html 2016-06-09 08:54:34 +02:00
Matt Woodrow
695c044db9 Bug 1275694 - Use the presence of checkerboarding to decide when to override the clip rect rather than always using the client side visible rect. r=botond
--HG--
extra : rebase_source : 3d1785095b265bc3e2b51cf6ebb18f2538e3e62c
2016-06-09 16:36:12 +12:00
Jonathan Watt
03036022ec 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
Nathan Froyd
ff4717e53a Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-24 18:17:27 -04:00
Daniel Holbert
ad862a27cb Backed out changeset 3d201ae294f8 (bug 1272398), on a hunch that it might have inadvertantly triggered a latent Win PGO crash in layers code
CLOSED TREE

MozReview-Commit-ID: 87w8DC3JEM8
2016-05-19 22:50:15 -07:00
Nathan Froyd
2431e47bfb Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-19 21:48:59 -04:00
Kevin Wern
7ae5cf1e52 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

--HG--
extra : rebase_source : 016d3c37e0679df7037dacd3366d3fa7748d0703
extra : amend_source : 089c4a62bd4716be087669742bb542c39a9f97c6
2016-03-10 01:20:40 -08:00
Botond Ballo
0c3f8a3e7d Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: LicG7zFHnX3

--HG--
extra : rebase_source : 1b39fcb34403dfa92f19100b3a59c3f550d52ff1
extra : source : 2bf1247f574319f27f570bb372a71d6a826ab1fb
extra : histedit_source : cc75a6e848225552adb9b3148ca4e2bb87b94f80
2016-05-04 20:07:42 -04:00
Botond Ballo
29ef36444d Bug 1267438 - Use the layer's scrolled clip during compositor hit testing. r=mstange
MozReview-Commit-ID: 2nodwaZHeWZ

--HG--
extra : rebase_source : 4a61e20fa5ea6de457132aa7e06c27e48286f28c
extra : source : 6618e805fce8e1b45241783d8ba3b5bec5ad182a
extra : histedit_source : 4b27d55d0f26de7a13ef741feef9df6f8e6c4f13
2016-05-04 17:30:26 -04:00
Botond Ballo
771407a83d Bug 1267438 - Give layers an optional scrolled clip that is scrolled by all scroll frames associated with the layer. r=mstange
MozReview-Commit-ID: EGqVZuISSZQ

--HG--
extra : rebase_source : cf1e70734524cb740cb0cb64190d5a780d2b692f
extra : amend_source : b91d3f887a78da248950289fa8917db5fa62910b
extra : source : 54cb97cee6810ec56308d1f2f66e5b8fda02da3e
extra : histedit_source : dc982f0a16e8c2c042c260bc56252425cc6f76c4
2016-04-29 17:32:53 -04:00
Botond Ballo
dde17de868 Bug 1267438 - Use IntersectMaybeRects() in Layer::GetCombinedClipRect(). r=mstange
MozReview-Commit-ID: 5DkpzyFrDQ0

--HG--
extra : rebase_source : 02074a9ea70bb33ded2cc592b4e29bd8f5e79969
extra : source : 1065434be718ec94d30480100f1c409cc446c6ac
extra : histedit_source : 8d9d4d7c203c20a73838c7bdbe8849dd5f23333a
2016-04-29 15:44:08 -04:00
Botond Ballo
810a495c93 Backed out 12 changesets (bug 1267438) for Android reftest failures on a CLOSED TREE. r=backout
MozReview-Commit-ID: LlibhRhbyVO

--HG--
extra : rebase_source : 6e2e52316ff4ef777b2a63ce5fb6ffc172623e40
2016-05-10 04:27:31 -04:00
Matt Woodrow
6811eb7ee7 Bug 1271058 - Use Layers effective opacity for determining if it is opaque. r=mstange 2016-05-10 12:42:57 +12:00
Botond Ballo
89c6c3b097 Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: LicG7zFHnX3

--HG--
extra : rebase_source : 0e4d3a86f2fbc4b88126a346c938c8f9fd67bf4b
extra : histedit_source : 0b785c0881d1bf4ed5f7c991574d8d7033b71bfc
2016-05-04 20:07:42 -04:00
Botond Ballo
ac2a58becc Bug 1267438 - Use the layer's scrolled clip during compositor hit testing. r=mstange
MozReview-Commit-ID: 2nodwaZHeWZ

--HG--
extra : rebase_source : cda1645407959eb39ff3e880078836d35686a8d8
extra : histedit_source : 4b27d55d0f26de7a13ef741feef9df6f8e6c4f13
2016-05-04 17:30:26 -04:00
Botond Ballo
ac37bcd416 Bug 1267438 - Give layers an optional scrolled clip that is scrolled by all scroll frames associated with the layer. r=mstange
MozReview-Commit-ID: EGqVZuISSZQ

--HG--
extra : rebase_source : e7f1ddd9ce664317247da1b9f569ac04e383ca47
extra : amend_source : b91d3f887a78da248950289fa8917db5fa62910b
extra : histedit_source : dc982f0a16e8c2c042c260bc56252425cc6f76c4
2016-04-29 17:32:53 -04:00
Botond Ballo
f9b1e198bb Bug 1267438 - Use IntersectMaybeRects() in Layer::GetCombinedClipRect(). r=mstange
MozReview-Commit-ID: 5DkpzyFrDQ0

--HG--
extra : rebase_source : 09606811c5005f956c2684062f2ffa919e99f329
extra : histedit_source : 8d9d4d7c203c20a73838c7bdbe8849dd5f23333a
2016-04-29 15:44:08 -04:00
bd339
6455e570f8 Bug 1249936 - Remove unnecessary const from the return type of Layer accessors that return matrices by value. r=botond
MozReview-Commit-ID: 4JKqUDtYN3P

--HG--
extra : rebase_source : 01243e54c9a40f335353071dc2d3785bd38a4cc0
extra : amend_source : 423ddc97a398303eef098375457b756edde0a0ae
2016-05-03 16:33:43 +02:00
bd339
1f362e61d3 Bug 1258758 - rename GetEffectiveClipRect to GetLocalClipRect. r=kats
MozReview-Commit-ID: HNErexDE1Xo
2016-05-02 17:27:35 +02:00
bd339
7a139afe3a Bug 1249936 - add a LayerComposite::GetShadowTransform method & simplify Layer::GetLocalTransform. r=botond
MozReview-Commit-ID: 80RNCyxAjtq

--HG--
extra : rebase_source : f567255ff3205da7419a5698b0d5ffa75dd30ad1
2016-05-01 12:54:26 +02:00
Kartikaya Gupta
987d948e55 Bug 1258851 - Propagate the isScrollbarContainer layer flag to the compositor. r=mattwoodrow
MozReview-Commit-ID: F0U0mNTI9i

--HG--
extra : rebase_source : 43edddd678e7c6d77ddb016c8c2313f1f491a16c
2016-04-14 16:42:18 -04:00
Kartikaya Gupta
a333c6e537 Bug 1257641 - Use empty transactions to carry scroll offset updates to APZ that don't require a repaint. r=mattwoodrow,mstange,botond
MozReview-Commit-ID: KNeGSKldmp7
2016-04-13 10:21:13 -04:00
Sotaro Ikeda
0c6a8d0ef6 Bug 1262601 - Handle video content as opaque in PostProcessLayers() r=mattwoodrow 2016-04-10 19:51:21 -07:00
Matt Woodrow
ba8efb79a8 Bug 1258313 - Allow snapping of 'pseudo' 3d transforms. r=jrmuizel
--HG--
extra : rebase_source : df64389373ed7e880642dd39c9afd44a92db2423
2016-04-06 15:29:32 +12:00
Botond Ballo
a74ec8c79b Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
MozReview-Commit-ID: DymHOSI6yYK

--HG--
extra : rebase_source : 1996bcb7f005c02b94031fe1c73d5136814b0296
2016-03-28 19:14:52 -04:00
Jim Mathies
8782966286 Bug 1241060 - Skip non-2d sibling layers when calculating plugin window clipping under e10s. r=mstange
MozReview-Commit-ID: 4R5h3DeIU0S

--HG--
extra : rebase_source : 9c3fe839afb77e200aaa8736646109675bdb7f3b
2016-03-21 09:52:21 -05:00
Matt Woodrow
4bbe4fd01d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-22 09:06:58 +13:00
Carsten "Tomcat" Book
df1c1cc556 Backed out changeset ceb8532131fb (bug 1223736) for reftest failures
--HG--
extra : rebase_source : 9c5aaf093345f7bfff7f305ceabcd5f04a237da4
2016-03-18 09:58:39 +01:00
Matt Woodrow
66a2278a0a Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Matt Woodrow
dbe7f4888a Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Matt Woodrow
8d2b64d662 Bug 1250718 - Improve layer logging for preserve-3d layers. r=thinker
--HG--
extra : rebase_source : 7405e30e0081bfa1b249ff6bd4f7bfd713110815
2016-03-18 09:18:10 +13:00
Jonathan Watt
2357eb85f9 Bug 1253094, part 2 - Stop using DebugOnly for class/struct members in gfx/. r=Bas
MozReview-Commit-ID: 7rDHRqNgQqL
2016-02-26 15:52:07 +00:00
Matthew S
f91b1ade98 Bug 1247450 - Rename LayerComposite::GetShadowTransform to GetShadowBaseTransform. r=botond
MozReview-Commit-ID: 4HkKFCDQW4l
2016-02-20 19:05:59 -05:00
kearwood
d2f423667c Bug 1237689 - Enable Oculus hardware latency tester r=daoshengmu
- Generate and pass sequential frame indexes into the ovr_GetTrackingState call and the corresponding call to ovr_SubmitFrame

MozReview-Commit-ID: 5tJl5YJt7Eo

--HG--
extra : rebase_source : 5dbb35ea1451a9f378e28d81a8704b63b1b72b4d
2016-01-08 18:50:10 -08:00
Botond Ballo
c5fb5cdd95 Bug 1247452 - Use the effective visible region rather than the visible region where appropriate in the compositor. r=mattwoodrow
MozReview-Commit-ID: 6wbe0kUWh9h

--HG--
extra : rebase_source : 1263fcf02beb41bd8f7c6d6556b629f772fd955a
2016-02-12 20:24:38 -05:00
Michelangelo De Simone
ebffe910b0 Bug 1247445 - Rename Layer::GetEffectiveVisibleRegion GetLocalVisibleRegion. r=botond
--HG--
extra : amend_source : 375eedb2c6f3e7aec206071a0be0e5fbc0367e76
2016-02-13 16:50:51 -08:00
Matt Woodrow
7cd754d8cf Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc 2016-02-07 23:51:11 +13:00
Phil Ringnalda
ec6b8aac53 Back out e751d638ab4b (bug 1229317) for reftest "Assertion failure: oldState < kReadMax" and crashes
CLOSED TREE
2016-02-05 22:42:55 -08:00
Matt Woodrow
8857b37db9 Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc 2016-02-06 17:57:34 +13:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Hiroyuki Ikezoe
409715935c Bug 1216842 - Part 2: Add LayerAnimationUtils. r=cam
This is also for compositor side.
we need a new class to share the function which converts TimingFunction
to ComputedTimingFunction for either keyframe's timing function or keyframe
effect's timing function.
2016-01-29 14:44:00 +01:00
Phil Ringnalda
d381b4bca6 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
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Nicholas Nethercote
74831ef786 Bug 1239864 (part 4) - Use the new rect iterators in gfx/. r=nical.
--HG--
extra : rebase_source : 633ae2a881c15ae14d08e9ea9289e2b8f079a4b9
2016-01-18 17:20:58 -08:00
Jeff Muizelaar
bb453ca522 Bug 1228641. Add a initializer_list constructor to nsTArray. r=froydnj
This also adds a couple of users of the new pattern.
2016-01-17 22:11:25 -05:00
Botond Ballo
b22e5adb20 Bug 1236750 - Add typed getters for layer transform matrices. r=kats
--HG--
extra : source : bf19963d10d6cc021092662176845192764f9cf0
2016-01-06 18:56:58 -05:00
Nicholas Nethercote
ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Bas Schouten
e41984d2c7 Bug 1220629 - Part 4: Allow gfxContext to use the native pushlayer implementations based on a pref. r=jrmuizel
--HG--
extra : rebase_source : 78f439fd806576f9c4cd55ea49f12a2994e46fc3
2016-01-06 00:04:42 +01:00