Matt Woodrow ext:(%2C%20Botond%20Ballo%20%3Cbotond%40mozilla.com%3E)
8fdf6e51d8
Bug 1275694 - Use the local visible region to decide when to cull a layer in CalculateScissorRect(). r=kats
...
We still take care not to cull a layer if we need to draw a checkerboarding
background for it.
MozReview-Commit-ID: 3EuXEFB2wF9
--HG--
extra : rebase_source : 88e20d9c56be0e09056b7fc3d3e72addee1b1af4
extra : source : 1b8e6e22a983754ef967fe81c1d184a4a966d828
2016-06-09 16:36:12 +12:00
Kartikaya Gupta
95d204ffcd
Bug 1282957 - Add a visual indicator for pages affected by scroll-linked effects. r=mstange
...
MozReview-Commit-ID: KuAL2CUDCnj
--HG--
extra : rebase_source : 19ed84b06568a9dbca5d96aecb02161aa5535d42
2016-06-28 18:31:15 -04:00
Nicolas Silva
900ff3581c
Bug 1280110 - Ensure CompositingRenderTargetOGL is never created without a gl context. r=sotaro
2016-06-21 17:31:13 +02:00
Sotaro Ikeda
f731d220ed
Bug 1252835 - Make TextureHost recycling implicit r=nical
2016-06-15 04:28:10 -07:00
Jeff Muizelaar
7288d777c9
Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
...
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 19:58:43 -04:00
Wes Kocher
69ee17e2fb
Backed out changeset b15136f926ca (bug 1272778) for build bustage
2016-05-13 16:05:12 -07:00
Jeff Muizelaar
4ed215c5a2
Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
...
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 18:51:09 -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
Gregor Wagner
a870069721
Bug 1271749 - Followup for Remove LayerManagerComposite access to nsIWidget. r=dvander
2016-05-11 17:09:43 -07:00
Matt Woodrow
814c8dcc80
Bug 1260611 - Part 3: Hold on to TextureHosts until the following composite is done. r=sotaro
...
--HG--
extra : rebase_source : adfc1ae3f241a965b8df8035154e861449a7157e
2016-05-11 10:55:17 +12:00
Thomas Zimmermann
c2ec632f2d
Bug 1269422: Get Gonk widget with |CompositorWidgetProxy::RealWidget|. r=dvander
2016-05-05 11:27:38 +02: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
David Anderson
85576afa6e
Restrict SetDispAcquireFence's nsIWidget access to Gonk. (bug 1269653 part 2, r=kats)
2016-05-03 17:37:34 -07:00
David Anderson
0ea2b809d0
Don't use nsIWidget to check APZ in LayerManagerComposite. (bug 1269653 part 1, r=kats)
2016-05-03 17:37:34 -07: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
David Anderson
1c7b3ca999
Change Compositor::GetWidget to return a CompositorWidgetProxy. (bug 1264545 part 3, r=jimm)
2016-04-29 19:20:41 -04:00
Botond Ballo
0b5440e37a
Bug 1257288 - Move IntersectMaybeRects() to gfx/2d/Rect.h. r=kats
...
MozReview-Commit-ID: C99GwsLN7Zg
--HG--
extra : rebase_source : e12db0995ec0f1ffc30e0f01b8c85081236b405c
2016-04-20 17:16:09 -04:00
Nicolas Silva
2662119963
Bug 1258768 - Remove the remaining unsafe compositor casts. r=dvander
2016-04-14 12:38:42 +02:00
Sotaro Ikeda
0c6a8d0ef6
Bug 1262601 - Handle video content as opaque in PostProcessLayers() r=mattwoodrow
2016-04-10 19:51:21 -07:00
Sotaro Ikeda
0dcd939cf9
Bug 1259541 - Reduce clearing backbuffer in nsBaseWidget::CreateBackBufferDrawTarget() r=mattwoodrow
2016-04-04 18:25:04 -07:00
Matt Woodrow
b95fd6e721
Bug 1223736 - Part 3: Remove the distinction between 2d and 3d masks since it only adds complexity. r=Bas
2016-03-22 09:10:37 +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
Botond Ballo
40e28dfd6d
Bug 1248822 - In LayerManagerComposite::UpdateAndRender(), call PostProcessLayers() before LayerTreeInvalidation. r=mattwoodrow
...
The reason is that PostProcessLayers() can change the effective visible region,
and LayerTreeInvalidation needs the final effective visible region.
MozReview-Commit-ID: 1wLROyOTcIB
2016-02-08 19:01:45 -05:00
David Anderson
c00e9a5d93
Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow)
2016-02-29 01:53:15 -05:00
David Anderson
d4db86d05e
Factor compositor initialization out of LayerManagerComposite. (bug 1245765 part 6, r=mattwoodrow)
2016-02-29 01:53:14 -05:00
Lee Salzman
059ca6d6f5
Bug 1249813 - part 3 - tell the compositor if the root layer has opaque content so it can skip clears. r=mattwoodrow
2016-02-25 14:38:05 -05:00
Milan Sreckovic
c0c9e1c9f0
Bug 1249312: UseAcceleratedCanvas on Mac should really be UseAcceleratedSkiaCanvas. r=mchang
2016-02-18 14:00:53 -05:00
Thinker K.F. Li
4c328ff551
Bug 1244943 - Make PostProcessLayers aware of preserve-3d. r=mattwoodrow
...
--HG--
extra : commitid : S1u1kZ0sGV
2016-02-18 17:12:40 -08: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
Botond Ballo
9a2d7d1f30
Bug 1237827 - Be sure to clear LayerComposite::mLayerComposited between each composite. r=mattwoodrow
2016-02-08 20:26:54 -05: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
Nicholas Nethercote
bd2573b703
Bug 1239864 (part 6) - Use the new rect iterators in gfx/. r=nical.
...
--HG--
extra : rebase_source : 396d472f620fbbe65982da90ce66021382eaf324
2016-01-18 17:20:58 -08:00
Sotaro Ikeda
4f26117e33
Bug 1049296 - Handle Sideband stream compositing in HwcComposer2D r=mwu,nical
2016-01-18 20:52:32 -08:00
Matt Woodrow
0728cd334f
Bug 1231564 - Don't trigger new composites just to repaint debug overlays. r=BenWa
2016-01-11 15:12:05 +13:00
Matt Woodrow
e767cc440a
Bug 1231564 - Don't take the compositor side layer-tree snapshot until after compositing. r=dvander
2016-01-11 15:11:14 +13:00
Markus Stange
983842c663
Bug 1187322 - Fix bustage.
...
--HG--
extra : commitid : 8apW68WiB8L
2015-12-29 12:13:24 +01:00
Botond Ballo
79efe79201
Bug 1069417 - Fix an error introduced when rebasing across bug 1021845 to reopen a CLOSED TREE. r=bustage
2015-12-03 02:20:35 -05:00
Botond Ballo
ae1bdc7602
Bug 1069417 - Remove the explicit template argument of TransformTo() and related functions. r=kats
...
In this process, TransformTo() and UntransformTo() are renamed TransformedBy()
and UntransformBy() so calls to them continue to read sensibly.
--HG--
extra : rebase_source : a2a4b36514cc54533757c075fcf2c53ab3020939
extra : source : 826da3dc12baeb84b32be50f4b2c0591ca73ab37
2015-11-30 20:06:45 -05:00
Botond Ballo
70b749edea
Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
...
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.
--HG--
extra : rebase_source : 6f1cf33a5550987097fcd386c77765d046f5ec34
extra : source : 8f66bdc8e6e86f482a06b9c7a160740026cf24b4
2015-11-30 20:14:31 -05:00
Nicholas Nethercote
74e40cebb1
Bug 1229237 (part 2) - Make nsIWidget::DrawWindowUnderlay() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 0563312f21ea9bf88399377f977c6b21c60a07b6
2015-11-16 20:34:00 -08:00
Markus Stange
96c1739213
Bug 1021845 - Before compositing, clip the visible region of a layer to the layer's clip rect. r=mattwoodrow
...
--HG--
extra : commitid : BFuXYwxFvPI
extra : rebase_source : 2b034d8cfac20df565bea456f202573cca99d24d
2015-12-02 22:54:03 +01:00
Sunny Sidhu
cfa8942015
Bug 1220873
- Make Layer::mVisibleRegion a LayerIntRegion. r=botond
...
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
Botond Ballo
9c99ee0439
Bug 1208829 - Recompute visible regions during composition. r=mstange
...
--HG--
extra : source : 4d5fb60f53a1dbcaca2a2c914fa215635d987e9d
2015-11-23 14:45:53 -05:00
Botond Ballo
eec77ad4e8
Bug 1208829 - Rename LayerManagerComposite::ApplyOcclusionCulling to PostProcessLayers, and clean it up a bit. r=mstange
...
--HG--
extra : source : bca2641d815e46b5c529b6f84d22a7127773f784
extra : intermediate-source : 7efa96680e28076dcc52a07fd886a94603ca3370
2015-11-09 20:43:54 -05:00
Nicholas Nethercote
52b3d826da
Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : e4b3bb36c18822557f7724a58979eddd9d8cac62
2015-11-19 14:10:38 +11:00
Phil Ringnalda
87802cdbad
Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
...
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Nicholas Nethercote
ce671f3678
Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : ea132cb4a6eda3553682114f3a1a280acfaf0aa3
2015-11-19 14:10:38 +11:00
Nicholas Nethercote
26b0d282a5
Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE
2015-11-17 17:02:39 -08:00