Nicholas Nethercote
febbe1a12f
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
c9052e6e85
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
c8251ce6f3
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
944d17423c
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d
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
553fb50f74
Bug 907243 - Move SetDPI to APZCTreeManager. r=kats
2013-08-22 19:28:02 -05:00
Ryan VanderMeulen
7726245c4e
Merge inbound to m-c.
2013-08-22 15:42:18 -04:00
Nicholas Cameron
c9afa4094d
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Jan Beich
1ee7a97749
Bug 907837 - Don't include SPS headers directly. r=nrc
2013-08-22 19:11:51 +12:00
Jan Beich
2b97d404b2
Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc
2013-08-22 19:11:47 +12:00
Ryan VanderMeulen
11b14acefd
Merge inbound to m-c.
2013-08-21 17:14:32 -04:00
Kartikaya Gupta
6065102f13
Bug 898443 - Add a parent pointer to the AsyncPanZoomController class. r=BenWa
2013-08-21 12:03:02 -04:00
Wes Kocher
536fb11a9d
Backed out changeset 315c9f0af9bb (bug 902929)
2013-08-20 20:50:20 -07:00
Nicholas Cameron
a6ed5e965c
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Botond Ballo
c635f7144e
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
8628de1017
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
aff688614b
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
04ff4c97fa
Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc
2013-08-20 15:45:30 -04:00
Matt Woodrow
3775b9315e
Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical
2013-08-20 11:39:56 +12:00
Ryan VanderMeulen
3675ef846a
Merge m-c to inbound on a CLOSED TREE.
2013-08-19 17:05:12 -04:00
Kartikaya Gupta
79a03a6747
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
6fb6b73907
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)
5158b05590
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
Nicholas Cameron
4e3c5a82da
Bug 903893. Backend fallback for OMTC. r=mattwoodrow
2013-08-18 18:46:16 +12:00
Jeff Muizelaar
925e64dd68
Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
...
This helps us include less.
--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Wes Kocher
b94abb1abc
merge b2g-inbound to central
2013-08-16 15:30:59 -07:00
Arnaud Sourioux
61cd54d7d7
Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame
2013-08-16 09:18:36 -04:00
Botond Ballo
d9ebfce749
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
Kartikaya Gupta
0e2d856f7e
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
2b57ec93b8
Bug 858914 - Various TextureClient/Host cleanups. r=nrc.
2013-08-08 14:53:12 +02:00
Kartikaya Gupta
6bf3464260
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
be5f1b23e0
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
59f7f45c1b
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
8792f2231a
Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
...
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Po-Chun Chang
0a4275cc10
Bug 897258 - Avoid wasted work in GestureEventListener::HandleInputEvent(). r=kentuckyfriedtakahe
2013-08-09 15:01:56 -04:00
Ed Morley
8ed777a5a6
Merge mozilla-central and inbound
2013-08-07 16:19:03 -07:00
Edwin Flores
c80309e9c2
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Kartikaya Gupta
fcf357b7f1
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 16:20:14 -04:00
Ryan VanderMeulen
426e61090b
Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures.
2013-08-06 12:50:36 -04:00
Kartikaya Gupta
a44a912056
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 10:39:19 -04:00
Kartikaya Gupta
93d2d86777
Bug 901339 - Fix the focal point when zooming in and out. r=BenWa
2013-08-07 12:34:16 -04:00
Nicolas Silva
12be64f32d
Bug 900393 - Implement missing method in DeprecatedSharedRGBImage. r=eflores
2013-08-06 18:47:44 +02:00
Nicolas Silva
9953dba9ff
Bug 899667 - Make layer borders more readable. r=BenWa
2013-08-03 00:50:17 +02:00
Kartikaya Gupta
0ca2b25eb0
Bug 899810 - Ensure that mFrameMetrics is updated properly in NotifyLayersUpdated. r=bbondy
...
In some cases the mScrollOffset was getting updated on the mFrameMetrics
before the IsDefault() check, so the IsDefault() check would return false
when it should have returned true. Calling IsDefault() on the
mFrameMetrics before writing stuff into it fixes this.
2013-08-04 12:26:54 -04:00
Nicholas Cameron
beb04c20b9
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Matt Woodrow
4ba95200f3
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-03 13:30:28 -04:00
Wes Kocher
c62360f0a2
Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
...
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
dc6d8d865a
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-02 23:00:02 -04:00
Matt Woodrow
65d7a5e5b2
Bug 900133 - Remove unnecessary printf when adding textures. r=nical
...
--HG--
extra : rebase_source : 78b76ede5e23d445833a65fd18c7eb336709c1b4
2013-08-01 21:12:15 -04:00
Ms2ger
8c0b92ef87
Bug 900096 - Cleanup Touch some; r=dzbarsky
2013-08-02 09:06:35 +02:00