Commit Graph

774 Commits

Author SHA1 Message Date
Benoit Jacob
24afddf9d1 Bug 915869 - Let the GrallocBufferActor keep an _array_ of backrefs to TextureHosts referencing it - r=nical 2013-09-17 14:48:08 -04:00
Benoit Jacob
21762ea6b2 Bug 915869 - Let the GrallocBufferActor inform its old TextureHost when it's switching to another TextureHost - r=jrmuizel 2013-09-17 14:47:27 -04:00
Botond Ballo
d7fd790cd6 Bug 898478 - Have AsyncPanZoomControllers pass overscroll caused by panning on to their parents. r=kats 2013-08-20 19:00:57 -04:00
Botond Ballo
e77231ff49 Bug 898478 - Have AsyncPanZoomController keep a pointer to the APZCTreeManager. r=kats 2013-08-20 18:10:47 -04:00
Nicolas Silva
e7f445dcba Bug 916116 - Move SetCompositableQuirks to AddTextureHost. r=sotaro 2013-09-17 15:28:35 +02:00
Ryan VanderMeulen
8dcb23387e Merge m-c to b2g-inbound. 2013-09-13 16:11:28 -04:00
Kartikaya Gupta
ca1a8f5181 Bug 909881 - Save the zoom constraints in RenderFrameParent so that TabChild can send them before the APZC is created and they don't get lost. r=botond 2013-09-13 10:18:33 -04:00
Corey Ford
f01a1f674f Bug 897105 - Part 2: Add layer fields for sticky positioning. r=roc 2013-09-11 21:17:58 -07:00
Sotaro Ikeda
4bf6f5d219 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
6f4ced18e9 Merge inbound to m-c. 2013-09-12 20:37:35 -04:00
Jim Mathies
cf11506223 Bug 915385 - Add a hidden pref for disabling apz zoom. r=kats 2013-09-12 12:30:05 -05:00
Nicolas Silva
f2973f89d7 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
Nicolas Silva
d196d86d68 Bug 901224 - Postpone deallocation of shared data to the end of the next transaction. r=sotaro 2013-09-12 16:50:28 +02:00
Ryan VanderMeulen
9283daa4fd Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Botond Ballo
13d4e37c9e 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 Girard
dd193089ea Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel 2013-09-10 15:56:49 -04:00
Nicolas Silva
0c3ba6dc34 Bug 913821 - TextureID should be uint64 in the ipdl code. r=sotaro 2013-09-10 10:53:58 +02:00
Nicholas Nethercote
fd238cabbe Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Ed Morley
50ba829a39 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
9d7bc3d7f1 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Nicholas Cameron
cca4ba2d92 Don't include mozilla-config.h in gfx.layers. No bug. r=me 2013-09-09 08:55:48 +12:00
Nicolas Silva
4f81e6d0f1 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
Nicolas Silva
a8cd16012b Bug 912040 - Make sure deallocating shared texture data doesn't race with TextureClient access. r=sotaro 2013-09-06 11:04:50 +02:00
Benoit Jacob
94f74c705d Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Bill McCloskey
14949db0b2 Bug 910488 - XSync can hang indefinitely with OMTC enabled (r=bjacob) 2013-08-30 14:30:10 -07:00
Doug Turner
5dc544505a Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Nicolas Silva
17e512124b Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob 2013-08-09 17:23:46 +02:00
Nicholas Nethercote
56844b8076 Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
--HG--
extra : rebase_source : 433b12748c8562b384a02fbee6d98e3bc991802d
2013-01-17 16:45:11 -08:00
Kartikaya Gupta
55c123d4d6 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
Gabriele Svelto
619cc7ccf1 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger
b5df99e7e3 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Jim Mathies
e6ba4d9285 Bug 907243 - Move SetDPI to APZCTreeManager. r=kats 2013-08-22 19:28:02 -05:00
Ryan VanderMeulen
1ef4f3befe Merge inbound to m-c. 2013-08-22 15:42:18 -04:00
Nicholas Cameron
01b99f2af9 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Jan Beich
66c4b90185 Bug 907837 - Don't include SPS headers directly. r=nrc 2013-08-22 19:11:51 +12:00
Jan Beich
de6b591a26 Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc 2013-08-22 19:11:47 +12:00
Ryan VanderMeulen
908be1856b Merge inbound to m-c. 2013-08-21 17:14:32 -04:00
Kartikaya Gupta
438bcc477f Bug 898443 - Add a parent pointer to the AsyncPanZoomController class. r=BenWa 2013-08-21 12:03:02 -04:00
Wes Kocher
2a9e21a70f Backed out changeset 315c9f0af9bb (bug 902929) 2013-08-20 20:50:20 -07:00
Nicholas Cameron
8acfeaece0 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Botond Ballo
fe4f404898 Bug 898580 - Remove updating of scroll offset in AsyncPanZoomController::NotifyLayersUpdated. It is now no longer needed by any platform. r=bbondy, r=kats 2013-08-15 11:30:27 -04:00
Nicholas Cameron
b5c77aec19 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Kartikaya Gupta
ee4d416a21 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
David Zbarsky
826b4c099f Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc 2013-08-20 15:45:30 -04:00
Matt Woodrow
b58cfaa3e8 Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical 2013-08-20 11:39:56 +12:00
Ryan VanderMeulen
fc58488cf2 Merge m-c to inbound on a CLOSED TREE. 2013-08-19 17:05:12 -04:00
Kartikaya Gupta
19cd81339f Bug 906109 - Make the GestureEventListener realize when a touch point disappears. r=k17e
When receiving a touch event arrives that is missing previously-known
touch points, remove them from the list. This makes the GestureEventListener
more robust so that it doesn't keeping doing pinches when there should
be pans.
2013-08-19 09:38:43 -04:00
Chris Lord
ce468943a9 Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
1b95e41dd6 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