Commit Graph

293 Commits

Author SHA1 Message Date
Markus Stange
f510a8a0ad Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats 2017-04-10 17:01:53 +12:00
David Anderson
452e7295e6 Don't access mCompositor from CompositeToTarget. (bug 1339688 part 2, r=mattwoodrow) 2017-02-15 19:03:20 -08:00
David Anderson
dfedfb6a67 Move composition time from Compositor to HostLayerManager. (bug 1339688 part 1, r=mattwoodrow) 2017-02-15 19:03:20 -08:00
Ryan Hunt
dfd65a890e Bug 1337387 - Fix unified build bustage r=kats? 2017-02-07 09:37:57 +00:00
Randall Barker
2894886e99 Bug 1329362 - part 8, Convert LayerManagerComposite::RenderToPresentationSurface to use CompositorWidget instead of nsIWidget r=kats 2017-01-27 09:32:24 -08:00
Kartikaya Gupta
7fad4e88c5 Bug 1330037 - Propagate the CompositorOptions over to TabChild and keep a copy there. r=dvander
MozReview-Commit-ID: IQSm5cHkW4z
2017-01-12 17:29:41 -05:00
Miko Mynttinen
45fcf4cf9c Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 3: Use BSPTree for layer sorting r=jrmuizel,mattwoodrow
MozReview-Commit-ID: 3Hy4IRDFgaP
2016-12-06 13:39:01 -10:00
Tomislav Jurin
9ff3007b90 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Mason Chang
839dda4b98 Bug 1319374. Fix --disable-skia builds. r=lsalzman 2016-11-30 10:13:54 -08: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
142a4dd27a Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2016-11-24 17:05:00 +01: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
Nicolas Silva
813f2c8ffc Bug 1300121 - Flush the D3D11 immediate context if a composition is cancelled to avoid resources queing up in the driver. r=Bas 2016-10-11 14:10:22 +02:00
Sotaro Ikeda
babd939cf1 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
Kartikaya Gupta
0c8045c0a3 Bug 1315706 - Pass a wrapper struct to various CompositorWidget functions. r=dvander
This is the first step in using these functions without having a
LayerManagerComposite at all.

MozReview-Commit-ID: 2zkuB7Ox4Ut
2016-11-07 21:16:52 -05:00
Edwin Flores
b7165d33ad Bug 1309277 - Allow D3D9 without component alphaa - r=mattwoodrow 2016-11-02 10:55:07 +00:00
David Anderson
5feb03aaa4 Do not paint if a BeginTransaction fails. (bug 1313770 part 1, r=mattwoodrow) 2016-10-28 15:48:34 -07:00
Matt Woodrow
16f8a8bdeb Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
Nicolas Silva
1ff5cca5f9 Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond 2016-09-16 17:49:39 +02:00
Randall Barker
073f710cca Bug 1297853 - White flash when creating a private browsing tab r=jchen,kats 2016-09-06 18:01:36 -07:00
Hiroyuki Ikezoe
065f63bf9a Bug 1279071 - Change GetOpacity to GetAnimationOpacity to return opacity value applied by animation. r=birtles,mstange
MozReview-Commit-ID: 6rMUlnppOeK
2016-08-25 09:07:56 +09:00
Jim Chen
a1b7da4a5e Bug 1294479 - Remove ANativeWindow methods from AndroidBridge; r=snorp
The ANativeWindow methods in AndroidBridge are just wrappers around
ANativeWindow calls in the NDK. We should just use those calls instead
of going through the wrappers.
2016-08-19 17:17:24 -04:00
Jim Chen
785255eac9 Bug 1294479 - Remove presentation methods from nsWindow/AndroidBridge; r=snorp
Remove the presentation methods from nsWindow/AndroidBridge now that
they are not used. This also eliminates gGeckoViewWindow from nsWindow.
NS_PRESENTATION_WINDOW and NS_PRESENTATION_SURFACE constants are added
for GetNativeData/SetNativeData to provide replacements that support
multiple GeckoViews/nsWindows.
2016-08-19 17:17:24 -04:00
Randall Barker
3a5ff2bf21 Bug 1294857 - Compositor uses page's background color to clear in Fennec r=kats 2016-08-18 14:03:26 -07:00
Mason Chang
127139a011 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Mason Chang
768d97be3e Bug 1294121 - Backed out changeset 635d266614ad for windows build failures. r=me. CLOSED TREE 2016-08-16 09:17:25 -07:00
Mason Chang
1d9aabb4aa Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Mason Chang
ca5b51516e Backed out changeset aaaab9a073a4 for build failures. r=me 2016-08-15 20:38:40 -07:00
Mason Chang
4eda31bf6b Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-15 19:59:26 -07:00
Kartikaya Gupta
699100d029 Bug 1273356 - Remove the unused and incorrect ComputeRenderIntegrity codepath for computing checkerboard. r=rbarker
MozReview-Commit-ID: 4i1rmeqrkZ1
2016-08-03 11:59:08 -04:00
Nicolas Silva
fff99d452b Bug 1284837 - Add conversions methods from Point and Size to IntPoint and IntSize for consistency. r=botond 2016-07-26 16:48:34 +02:00
Matt Woodrow
2efcb49f2e 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
2016-06-09 16:36:12 +12:00
Kartikaya Gupta
61f5605777 Bug 1282957 - Add a visual indicator for pages affected by scroll-linked effects. r=mstange
MozReview-Commit-ID: KuAL2CUDCnj
2016-06-28 18:31:15 -04:00
Nicolas Silva
bcf7968671 Bug 1280110 - Ensure CompositingRenderTargetOGL is never created without a gl context. r=sotaro 2016-06-21 17:31:13 +02:00
Sotaro Ikeda
cc18201e0b Bug 1252835 - Make TextureHost recycling implicit r=nical 2016-06-15 04:28:10 -07:00
Jeff Muizelaar
69909eb9c0 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
4e66096f2c Backed out changeset b15136f926ca (bug 1272778) for build bustage 2016-05-13 16:05:12 -07:00
Jeff Muizelaar
1e05ef0499 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
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
Gregor Wagner
806dcf8b7e Bug 1271749 - Followup for Remove LayerManagerComposite access to nsIWidget. r=dvander 2016-05-11 17:09:43 -07:00
Matt Woodrow
10fe7d3518 Bug 1260611 - Part 3: Hold on to TextureHosts until the following composite is done. r=sotaro 2016-05-11 10:55:17 +12:00
Thomas Zimmermann
926082980f Bug 1269422: Get Gonk widget with |CompositorWidgetProxy::RealWidget|. r=dvander 2016-05-05 11:27:38 +02:00
bd339
3dd8241cb8 Bug 1249936 - Remove unnecessary const from the return type of Layer accessors that return matrices by value. r=botond
MozReview-Commit-ID: 4JKqUDtYN3P
2016-05-03 16:33:43 +02:00
David Anderson
7ece2d231a Restrict SetDispAcquireFence's nsIWidget access to Gonk. (bug 1269653 part 2, r=kats) 2016-05-03 17:37:34 -07:00
David Anderson
6763a01012 Don't use nsIWidget to check APZ in LayerManagerComposite. (bug 1269653 part 1, r=kats) 2016-05-03 17:37:34 -07:00
bd339
d013441203 Bug 1249936 - add a LayerComposite::GetShadowTransform method & simplify Layer::GetLocalTransform. r=botond
MozReview-Commit-ID: 80RNCyxAjtq
2016-05-01 12:54:26 +02:00
David Anderson
117773f3a6 Change Compositor::GetWidget to return a CompositorWidgetProxy. (bug 1264545 part 3, r=jimm) 2016-04-29 19:20:41 -04:00