Commit Graph

194 Commits

Author SHA1 Message Date
Corey Ford
5eef149568 Bug 897105 - Part 3: Keep sticky position layers fixed during async panning, within certain scroll ranges. r=roc 2013-09-11 21:24:32 -07:00
Corey Ford
69aaac73df Bug 897105 - Part 2: Add layer fields for sticky positioning. r=roc 2013-09-11 21:17:58 -07:00
Sotaro Ikeda
59015a6eb6 Bug 912134 - allocate texture per CompositableHost. r=jmuizelaar,bjacob
The fundamental change of approach in this patch is that now the temporary
texture is per-compositable.

Originally, the temporary texture was per-TextureHost. That was too many
temporary textures.  With Nical's work in bug 875211, that switched to having a
temporary texture per compositor only. That's what turned out to be too few.
Now we have one per compositable which is fewer than one per TextureHost,
because e.g. a ContentHost, which is a single Compositable, may have 2
TextureHosts to implement double-buffering.
2013-09-12 22:39:26 -04:00
Ryan VanderMeulen
e4754304bc Merge inbound to m-c. 2013-09-12 20:37:35 -04:00
Jerry Shih
f5df1aeb05 Bug 911730 - Only dump layer tree(using MOZ_LAYERS_HAVE_LOG). r=mattwoodrow 2013-09-12 11:08:50 -04:00
Nicolas Silva
1393f32821 Bug 913821 - Conservatively ensure that TextureClients/Hosts are removed at the end of a video. r=sotaro 2013-09-12 16:50:35 +02:00
Jim Mathies
20b0503b1d Bug 914829 - MetroInput should forward touch input to apz first, then to content. r=kats, tabraldes 2013-09-12 06:31:34 -05:00
Kartikaya Gupta
5f62aa5009 Bug 912144 - Use the composition bounds instead of the viewport for hit testing. r=BenWa 2013-09-11 18:17:27 -04:00
Botond Ballo
0f2c4e94ea Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats 2013-09-05 18:26:59 -04:00
Benoit Jacob
e77507fa87 Bug 912725 - Do the registration of the TextureHost with the mBuffer exactly when we overwrite *mBuffer, so that in particular we don't do a bogus registration in the single-buffered case - r=nical 2013-09-11 13:39:04 -04:00
Benoit Girard
f11fc41386 Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel 2013-09-10 15:56:49 -04:00
Ed Morley
832cd91616 Backed out changeset 6776e4836c04 (bug 907048) for marionette-webapi failures on a CLOSED TREE 2013-09-10 14:31:35 +01:00
Nicolas Silva
52456e1b28 Bug 913821 - Fix the TextureHost linked list. r=sotaro 2013-09-10 13:41:15 +02:00
Robert O'Callahan
daaeba9a4f Bug 907048 - Skip colorlayer if other opacity layer just covers the colorlayer region, r=roc 2013-09-10 15:06:13 +08:00
Peter Chang
508f75aed0 Backed out changeset 6776e4836c04 2013-09-10 15:04:26 +08:00
Robert O'Callahan
fff54dba41 Bug 907048 - Skip colorlayer if other opacity layer just covers the colorlayer region 2013-09-10 14:48:57 +08:00
Nicholas Cameron
f3efa82044 Bug 913298. Remove AddMaskEffect and RemoveMaskEffect declarations. r=nical 2013-09-09 09:06:57 +12:00
Nicholas Cameron
6bb0b5ed84 Don't include mozilla-config.h in gfx.layers. No bug. r=me 2013-09-09 08:55:48 +12:00
Benoit Jacob
4dbb3d0ca3 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Nicolas Silva
0b5271b13d Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Ryan VanderMeulen
374595fdca Backed out changeset 669d3fd3ea2b (bug 906877) for Mnw failures. 2013-09-03 17:22:14 -04:00
Kartikaya Gupta
ac06685b67 Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-09-03 13:04:21 -04:00
Nicholas Cameron
51fb5f5934 Bug 904073. Don't crash if we can't get a texture for a render target. r=Bas 2013-09-02 10:19:19 +12:00
Nicholas Cameron
31ac189fe3 Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Nicholas Cameron
0a69011226 Bug 909185. Use an RAII helper class for Add/RemoveMaskEffect. r=nical 2013-08-28 16:44:03 +12:00
Kartikaya Gupta
fd30fdc1ca Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Ryan VanderMeulen
bc2000a956 Merge b2g-inbound to m-c. 2013-08-23 10:50:14 -04:00
Jim Mathies
7e9f44a455 Bug 907243 - Move SetDPI to APZCTreeManager. r=kats 2013-08-22 19:28:02 -05:00
Kartikaya Gupta
f2cdfca4a6 Bug 907977 - Don't null out the mApzcForInputBlock prematurely. r=roc 2013-08-23 00:03:43 -04:00
Ryan VanderMeulen
8dfeba9208 Merge inbound to m-c. 2013-08-22 15:42:18 -04:00
Nicholas Cameron
ac95649e48 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Jan Beich
21390e1de4 Bug 907837 - Don't include SPS headers directly. r=nrc 2013-08-22 19:11:51 +12:00
Jan Beich
58aa335563 Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc 2013-08-22 19:11:47 +12:00
Kartikaya Gupta
9ab3d543fa Bug 898443 - Update loops to run forward and use a size_t variable. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
5e077ef19e Bug 898443 - Always use the innermost APZC containing all touch points for multi-touch inputs. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
0cfcca1de1 Bug 898443 - Completely extract the transformation calculation from GetTargetAPZC. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
cadc35ef37 Bug 898443 - Ensure that all multitouch events following a START go to the same APZC instance. r=BenWa 2013-08-21 12:03:02 -04:00
Kartikaya Gupta
3c5825b89f Bug 898443 - Extract input transform calculations from GetAPZCAtPoint. No functional changes. r=BenWa 2013-08-21 12:03:02 -04:00
Wes Kocher
5f8374e407 Backed out changeset 315c9f0af9bb (bug 902929) 2013-08-20 20:50:20 -07:00
Nicholas Cameron
01348ed72b Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Nicholas Cameron
73aeda1397 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Kartikaya Gupta
e20eec1804 Bug 906427 - When a touch event has multiple touch points, send it to the root APZC for the layer subtree. r=BenWa 2013-08-22 10:40:44 -04:00
Matt Woodrow
38ae2bdff7 Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical 2013-08-20 11:39:56 +12:00
Matt Woodrow
3b6adb72b1 Bug 900133 - Don't mark textures as being sent to the compositor until after we've drawn to them. r=nical 2013-08-20 11:39:55 +12:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
9bdf6932e4 Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Kartikaya Gupta
9dd2faacc5 Bug 890280 - Apply proper transformations when sending inputs to the APZC and back to the DOM. r=BenWa 2013-08-14 10:15:54 -04:00
Nicolas Silva
510cee9244 Bug 858914 - Various TextureClient/Host cleanups. r=nrc. 2013-08-08 14:53:12 +02:00
Kartikaya Gupta
61f8f7022b Bug 903460 - Back out cset 9813b854b713 because it regresses panning behaviour on Android. r=me 2013-08-12 08:32:11 -04:00
Phil Ringnalda
d2099e030b Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
CLOSED TREE
2013-08-11 19:21:17 -07:00
Matt Woodrow
b151a2e534 Bug 902339 - Null check mImageHost in ImageLayerComposite before trying to access it. r=nrc 2013-08-12 12:11:09 +12:00