Commit Graph

226 Commits

Author SHA1 Message Date
Milan Sreckovic
e15e3face5 Bug 1048984.1: Utility methods for managing texture pool returns. Make sure tiles go back to the correct pool. r=nsilva 2014-09-16 10:07:46 -04:00
Nicolas Silva
47958f3a26 Bug 1041744 - Don't crash if tile allocation fails. r=Bas 2014-09-11 13:52:17 +02:00
Jonathan Watt
96a5f5b9b8 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Botond Ballo
7da8f0cf40 Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats 2014-08-27 19:25:53 -04:00
Carsten "Tomcat" Book
7f6ba270f8 merge mozilla-inbound to mozilla-central a=merge 2014-08-28 13:07:10 +02:00
Kartikaya Gupta
c11731dee2 Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
9d9e2ce30a Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Nicolas Silva
e91ea0c5b0 Bug 1016538 - Fix unbalanced locking logic in tiling. r=Bas 2014-08-27 16:50:25 +02:00
Matt Woodrow
dea60c4cc5 Bug 1057222 - Do partial tile uploads on desktop. r=BenWa 2014-08-27 18:51:37 +12:00
Matt Woodrow
051ba0c75d Bug 1059029 - Fix buffer invalidation logic when using DrawTargetTiled. r=nical 2014-08-28 15:37:01 +12:00
Matt Woodrow
9f53b87260 Bug 1051134 - Revert changes to padding out textures that will be resampled for mobile. r=Bas 2014-08-28 15:36:07 +12:00
Matt Woodrow
12db192662 Bug 1047945 - Delete the TileExpiry object at shutdown to avoid leak warnings. r=BenWa 2014-08-27 10:57:49 +12:00
Matt Woodrow
f56dbce850 Bug 1057211 - Use DrawTargetDual for component alpha layers when tiling so that we get correct PushGroupAndCopyBackground behaviour. r=nical 2014-08-27 10:18:55 +12:00
Kartikaya Gupta
8e34ec9f4e Bug 1057642 - Fix some printing call sites that try to print CoordTyped as floats. r=botond 2014-08-26 12:05:05 -04:00
Kartikaya Gupta
0797f2e6f4 Bug 1052063 - Reverse the order of transforms applied for layers during composition. r=botond 2014-08-19 21:17:09 -04:00
Botond Ballo
c87175a55f Bug 923512 - Transition the TransformTo<>() functions from gfx3DMatrix to Matrix4x4. r=kats 2014-08-06 12:52:04 -04:00
Kartikaya Gupta
18bbff8294 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Kartikaya Gupta
7e4f2afaf2 Bug 1046344 - Update some ifdefs to account for MOZ_ANDROID_APZ. r=snorp 2014-08-08 17:42:25 -04:00
Matt Woodrow
c1a4d80f90 Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Matt Woodrow
1fb6dcecf7 Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Wes Kocher
51087c3f21 Backed out 2 changesets (bug 1048110) for various Android mochitest failures on a CLOSED TREE
Backed out changeset 1cf6f4f27811 (bug 1048110)
Backed out changeset b89f54e21c0b (bug 1048110)
2014-08-06 18:32:52 -07:00
Matt Woodrow
8eab44258a Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Matt Woodrow
7d7314e136 Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Matt Woodrow
d60fcf9c67 Bug 1046025 - Add component alpha support to TiledContentClient/Host. r=nical 2014-07-29 17:21:02 +12:00
Wes Kocher
84b7885915 Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE
Backed out changeset f8720d81b74f (bug 923512)
Backed out changeset f431232084b7 (bug 923512)
Backed out changeset dff51863663c (bug 923512)
2014-08-06 16:36:35 -07:00
Botond Ballo
0f8941a401 Bug 923512 - Transition the TransformTo<>() functions from gfx3DMatrix to Matrix4x4. r=kats 2014-08-06 12:52:04 -04:00
Nicolas Silva
8235a2b538 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
David Zbarsky
37bec6718c Bug 952977: More gfx::Matrix cleanups r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky
c1608d5a18 Bug 952977: More gfx::Matrix cleanup in TiledContentClient r=nical 2014-08-01 08:31:48 -04:00
David Zbarsky
62f624f451 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-08-01 08:31:46 -04:00
Jeff Muizelaar
9d8eac9d0b Bug 1044241. Discard tile back buffers that haven't been recently used. r=nical
Tracks tiles that have a back buffer with a nsExpirationTracker and discards
them after a while. This should help us claim back tile memory for tiles
that have stopped changing.
2014-07-31 23:25:37 -04:00
Wes Kocher
e230d2b1cf Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
f1c024ef08 Bug 952977: More gfx::Matrix cleanups r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky
7d603978fe Bug 952977: More gfx::Matrix cleanup in TiledContentClient r=nical 2014-07-29 19:18:50 -04:00
David Zbarsky
4e72ae5005 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-07-29 19:18:49 -04:00
Benoit Girard
dd8c559920 Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis 2014-07-24 13:34:43 -04:00
Sotaro Ikeda
e8fd34c868 Bug 1042946 - Discard back buffer on error in ClientTiledLayerBuffer::ValidateTile() r=nical 2014-07-24 06:40:17 -07:00
Kartikaya Gupta
e480e44f68 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Jeff Muizelaar
543f2cc53b Bug 1023473. Pad out tile contents by one pixel. r=BenWa
This fixes reading unitialized data during texture filtering.
It's complicated because we can have regions of initialized data
and padding out a region is much harder than a rectangle.

We currently only take this path for tiled things because of
the artifacts that show up during the sampling that helps
in overscroll. It's also not a great long term solution because
it only works for software backends.
2014-07-18 14:25:34 -04:00
Sotaro Ikeda
e9f22928b0 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Wes Kocher
a38cfddcd3 Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures 2014-07-18 14:21:44 -07:00
Sotaro Ikeda
010ff9062f Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
dbc1e7e9d8 Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE 2014-07-18 16:09:15 +02:00
Sotaro Ikeda
493aa8441b Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 06:21:24 -07:00
Wes Kocher
818b6ecf28 Backed out changeset d5607eeaa106 (bug 1036654) for Windows build bustage on a CLOSED TREE 2014-07-16 13:16:40 -07:00
Benoit Girard
6a677ac722 Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis 2014-07-16 15:58:03 -04:00
Botond Ballo
bdc43e3024 Bug 1039593 - Clean up the TILING_LOG macros. r=kats 2014-07-16 12:42:35 -04:00
Kartikaya Gupta
8287e84642 Bug 1035801 - Switch the tiling logging code from NSPR logging to printf_stderr. r=Cwiiis 2014-07-08 12:38:49 -04:00
Kartikaya Gupta
57aaa1ac3b Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Kartikaya Gupta
ec430ec9b9 Bug 1027851 - Add some more logging for when we abort paints. r=Cwiiis 2014-07-03 18:26:03 -04:00