Commit Graph

1191 Commits

Author SHA1 Message Date
Kartikaya Gupta
697939ce56 Bug 947337 - Track the last metrics actually sent to Gecko after coming out of the throttler. r=botond 2014-01-21 16:26:57 -05:00
Kartikaya Gupta
7379651eb7 Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond 2014-01-21 16:24:18 -05:00
Ali Akhtarzada
edfd0e3e4d Bug 959526 - Implement PlanarYCrCbImage and derived classes GetAsSourceSurface. r=nical
Implement GetAsSourceSurface in:
* PlanarYCrCbImage
* BasicPlanarYCrCbImage
* SharedPlanarYCrCbImage
2014-01-21 11:49:53 -05:00
Kartikaya Gupta
5dd8d6490a Bug 961408 - Ensure all the APZC_LOG statements in APZC print the relevant instance. r=botond 2014-01-20 08:25:16 -05:00
Botond Ballo
10d824fffe Bug 961171 - Have APZ pick up on dynamic changes to 'scrollgrab' property. r=BenWa 2014-01-17 14:51:00 -05:00
Josh Aas
c6fbe9fc52 Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 2. r=bent 2014-01-17 13:49:39 -06:00
Botond Ballo
484926d2ef Bug 959198 - Have APZ hit testing respect mozpasspointerevents. r=kats
--HG--
extra : rebase_source : aafa0b5bf9839f583b84151afc4a3c805fabee0a
2014-01-16 15:19:59 -05:00
Ali Akhtarzada
06d9cc505a Bug 959527 - Implement SharedRGBImage::GetAsSourceSurface. r=nical 2014-01-17 11:22:56 -05:00
Ryan VanderMeulen
b6f0a2657c Merge inbound to m-c. 2014-01-15 14:34:05 -05:00
Kartikaya Gupta
a9c56bd2fe Bug 951113 - Trigger a repaint request when getting a scroll offset update to cover a race condition allowed by async IPC. r=botond 2014-01-14 16:43:43 -05:00
Ryan VanderMeulen
5b8b6a8f8d Merge inbound to m-c. 2014-01-13 17:44:24 -05:00
Solomon Chiu
b71033abcf Bug 958420 - Remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc. r=gal, r=pchang 2014-01-13 10:00:34 +08:00
Carsten "Tomcat" Book
1e7ba36e09 Merge mozilla-central to b2g-inbound 2014-01-13 14:44:08 +01:00
Carsten "Tomcat" Book
7e76dc4f1c Backed out changeset e9a7aaad1771 (bug 958420) for causing merge conflicts from m-c 2014-01-13 14:41:31 +01:00
Solomon Chiu
517e1fd1b3 Bug 946245 - Port GonkDisplay to KK, r=mwu,sotaro,pchang 2014-01-09 18:42:54 +08:00
Solomon Chiu
72760e2144 Bug 958420 - remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc, r=gal,pchang 2014-01-13 10:00:34 +08:00
Kartikaya Gupta
3844a8fa8e Bug 957790 - Initialize the APZC with zooming disabled until we know for sure if it is allowed. r=botond,jimm
On Metro we don't support the meta-viewport tag yet, so we need to re-enable
zooming there.
2014-01-13 12:35:00 -05:00
Kartikaya Gupta
ee3f541aaa Bug 957790 - Remove a no-longer-used pref to disable async zooming in the APZ. r=jimm 2014-01-13 12:35:00 -05:00
Kartikaya Gupta
46aae412e9 Bug 957188 - Increase touch start tolerance to more easily detect taps. r=botond 2014-01-09 15:45:41 -05:00
Ryan VanderMeulen
1621462741 Backed out changesets f0811650f2f7 and a67882c52c98 (bug 957790) for gtest failures.
CLOSED TREE
2014-01-13 11:22:47 -05:00
Kartikaya Gupta
16f0284ef7 Bug 957790 - Initialize the APZC with zooming disabled until we know for sure if it is allowed. r=botond,jimm
On Metro we don't support the meta-viewport tag yet, so we need to re-enable
zooming there.
2014-01-13 09:55:19 -05:00
Kartikaya Gupta
f7bc7922b6 Bug 957790 - Remove a no-longer-used pref to disable async zooming in the APZ. r=jimm 2014-01-13 09:55:19 -05:00
Ali Akhtarzada
d03468c1ae Bug 958489 - Implement base Image::GetAsSourceSurface. r=nical
Added an Image::GetAsSourceSurface to return a gfx::SourceSurface
and implemented in terms of gfxPlatform::GetSourceSurfaceForSurface.

Deprecated GetAsSurface.
2014-01-15 10:06:43 -05:00
Nick Lebedev
182400607b Bug 795567 - Part 5: Add zoom prevention based on the touch-action value. r=kats 2014-01-15 10:03:16 -05:00
Nick Lebedev
9658ee90e0 Bug 795567 - Part 4: Rework apzc to wait for touch-action value from content as it waits for preventDefault value from listeners. r=kats 2014-01-15 10:03:15 -05:00
Nick Lebedev
7ee05aa952 Bug 795567 - Part 3: Add panning restriction and retrieving of touch-action value to apzc. r=kats 2014-01-15 10:03:15 -05:00
Benoit Jacob
535a216635 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Daniel Holbert
dd642a8df5 Bug 957783: Drop unused variable 'compositable' from CompositableParentManager::ReceiveCompositableUpdate. r=nical 2014-01-09 06:26:19 -08:00
Kartikaya Gupta
518d47feb6 Bug 907179 - Rewrite the displayport calculation to be simpler and more effective. r=botond 2014-01-08 17:55:33 -05:00
Kartikaya Gupta
a3d5b19c53 Bug 907179 - Label the velocity vector as being in screen units. r=botond 2014-01-08 17:53:58 -05:00
Nicolas Silva
ad476e2176 Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
Kartikaya Gupta
73446f3e6c Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond 2014-01-06 13:26:44 -05:00
Anthony Jones
ffb3cc0bf2 Bug 951463 - Rename ClampRect to ForceInside; r=botond 2014-01-06 10:05:07 -05:00
Nicholas Nethercote
ed423fbdef Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Alessandro Decina
2704a7592d Bug 952769 - Add explicit strides to YCbCrImageDataSerializer. r=nical 2014-01-02 10:50:14 -05:00
Ms2ger
98586cdbc1 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Robert O'Callahan
273ddfc1ac Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats
--HG--
extra : rebase_source : baa695c0d6104f620a5b45a83e5b230ef584abd9
2013-12-16 23:47:06 +13:00
Tor Arvid Lund
ac7506b8fa Bug 950677 - Fix compile errors on Windows/FFOS builds. r=nical
The errors were discovered when running on the try server. Chose #include
in GrallocImages because there were problems with fwd declarations again.
2013-12-20 11:46:31 -05:00
Tor Arvid Lund
69a8d8666c Bug 950677 - gfxIntSize -> IntSize in ipc/Shadow* files. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
d44e391678 Bug 950677 - gfxIntSize -> IntSize in ipc/ directory. r=nical
(Detail: Chose to put an #include for Point.h in a header instead of a
forward declaration because a fwd decl caused an "Already defined" error
and having neither fwd decl or #include caused another compile failure
saying IntSize was undefined)
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
19ca402f3f Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
9d33e07888 Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
7b9c2a5b21 Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical 2013-12-20 11:46:28 -05:00
Anthony Jones
5d41ec019c Bug 952116 - Add mutex around APZC::CancelAnimation; r=kats 2013-12-20 09:58:24 +13:00
Randall Barker
bb2d67faf4 Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-19 12:19:25 -08:00
Vivien Nicolas
25a0f50881 Bug 951321 - [B2G][Messages] Create New Message button gets selected but does not open New Message page. r=kats 2013-12-19 01:12:47 +01:00
Vivien Nicolas
eb2ad7d573 Bug 951290 - [B2G] [Browser] The first swipe after zooming has no effect. r=kats 2013-12-19 01:12:47 +01:00
Kartikaya Gupta
d5750e38bc Bug 951256 - Dump the APZC guid in rendertrace output. r=Cwiiis 2013-12-17 15:20:21 -05:00
Kartikaya Gupta
89188d1d52 Bug 951256 - Add a GetGuid function with return value to APZC. r=Cwiiis 2013-12-17 15:20:20 -05:00
Kartikaya Gupta
38db1b6d37 Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis 2013-12-17 14:25:57 -05:00
Alessandro Decina
19a6d5698e Bug 928806 - Allow SharedPlanarYCbCrImage images to optionally have padding
Overload YCbCrImageDataSerializer.InitializeBufferInfo to take explicit plane
offsets. Make SharedPlanarYCbCrImage::SetDataNoCopy set the offsets based on the
Y, Cb and Cr plane pointers passed by the caller. r=nical
2013-12-16 17:33:47 -05:00
Chris Lord
1b4517798c Bug 943846 - Don't constrain generated display-ports to composition bounds. r=kats 2013-12-16 17:33:30 -05:00
Kartikaya Gupta
cede2efb3a Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis 2013-12-16 12:04:46 -05:00
Matt Woodrow
eb8c0db39a Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc 2013-12-16 18:38:42 +13:00
Phil Ringnalda
621c1f564f Back out e9ca04f323d0 (bug 928806) on suspicion of causing ASan and Linux debug gtest crashes
CLOSED TREE
2013-12-15 13:58:28 -08:00
Alessandro Decina
4cbb4e5bcc Bug 928806 - Allow SharedPlanarYCbCrImage images to optionally have padding. r=nical
Overload YCbCrImageDataSerializer.InitializeBufferInfo to take explicit plane
offsets. Make SharedPlanarYCbCrImage::SetDataNoCopy set the offsets based on the
Y, Cb and Cr plane pointers passed by the caller.
2013-12-15 14:06:14 -05:00
Ryan VanderMeulen
adf6ecbe13 Merge m-c to inbound. 2013-12-13 16:16:46 -05:00
Ryan VanderMeulen
c7ce80e17d Merge inbound to m-c. 2013-12-13 16:15:52 -05:00
Vivien Nicolas
239243f295 Bug 949404 - Applications are half repainted once the keyboard is closed. r=Cwiiis 2013-12-13 18:23:47 +01:00
Tor Arvid Lund
be32bf6ad2 Bug 929513 - Replace gfxIntSize in layers/AutoOpenSurface.h r=nical
This rippled into other replacements in layers and in gfx/gl.
2013-12-13 18:32:06 +01:00
Tor Arvid Lund
944f0d6f3b Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Chris Lord
a5acbd4394 Bug 936500 - Don't copy Axis when creating a FlingAnimation. r=kats
FlingAnimation was, likely accidentally, creating copies of the axes it was
animating and operating on those, which lead to problems when displayports
were calculated based on the original copies which housed old values.
2013-12-13 19:37:42 +00:00
Wes Kocher
3b7fc0a192 Merge inbound to m-c 2013-12-12 19:12:51 -08:00
Kartikaya Gupta
c140804ff3 Bug 949310. r=BenWa 2013-12-12 13:34:50 -05:00
Carsten "Tomcat" Book
55aa72e7a2 Merge mozilla-central to b2g-inbound 2013-12-12 16:17:29 +01:00
Ryan VanderMeulen
da7f948f87 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Dale Harvey
6ecc49a360 Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats 2013-12-12 00:39:06 +00:00
Ryan VanderMeulen
ea2a161036 Merge m-c to b-i. 2013-12-11 13:37:13 -05:00
Dale Harvey
723144bf9c Bug 946661 - Dont send tapconfirmed event when tapup was handled. r=kats 2013-12-11 17:19:42 +00:00
Kartikaya Gupta
833740acc1 Bug 947931 - Remove unnecessary locking now to avoid potential for deadlock. r=botond,BenWa 2013-12-11 12:15:10 -05:00
Nicholas Cameron
7bbc5b308c Bug 948555. Fix a bogus assert in CompositorParent. r=mattwoodrow 2013-12-11 16:51:00 +13:00
Nicolas Silva
1682796eb5 Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob 2013-12-11 20:44:49 -05:00
Nicolas Silva
3750f7b1c7 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 20:44:45 -05:00
Nicolas Silva
b16fe8751c Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Ryan VanderMeulen
c8bf34a922 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Nicholas Cameron
6517f3b849 Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
83ac5d30d9 Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
98ee79e6b1 Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Nicholas Cameron
daefac40cc Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Kartikaya Gupta
434cbb1f01 Bug 814435 - Prevent scrollbars from fading out while user is scrolling. r=botond 2013-12-09 22:14:55 -05:00
Kartikaya Gupta
cb968a6256 Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa 2013-12-09 22:14:53 -05:00
Ryan VanderMeulen
469134ec10 Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Nicolas Silva
32eb25d7ec Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob 2013-12-11 13:05:15 -05:00
Nicolas Silva
ad35a4ba98 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 13:05:11 -05:00
Nicolas Silva
e37fc0dc93 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 13:05:09 -05:00
Vivien Nicolas
150e335c3b Bug 946999 - [Homescreen] With APZ turned on the homescreen is not rendered until you touch the screen in certain conditions. r=kats 2013-12-12 11:41:47 +01:00
Ryan VanderMeulen
60ee2fe8a8 Merge b2g-inbound to m-c. 2013-12-06 15:56:46 -05:00
Vivien Nicolas
bc70edf375 Bug 946955 - Set the default friction of Axis.cpp to 0.002. r=kats 2013-12-06 18:51:10 +01:00
Nicolas Silva
acd8439101 Bug 943392 - Let MemoryTextureClient use a fallible allocation. r=BenWa 2013-12-06 16:30:50 +01:00
Chris Lord
e7a811b01a Bug 943846 - Make APZC's generated display port contain the composition bounds. r=kats
A bug in layout means that setting a displayport on an element that doesn't
contain its scroll frame may cause the display item to be optimised away
(bug 936500).
2013-12-06 13:15:58 +00:00
Anthony Jones
d86d36438d Bug 839911 - Separate animation out from layer code; r=kats 2013-12-06 16:21:39 +13:00
Benoit Girard
fbc0af88d6 Bug 940706 - Fix gesture detection transformation with APZC. r=kats,botond 2013-12-05 18:17:37 -05:00
Ryan VanderMeulen
402473c083 Merge m-c to inbound. 2013-12-05 17:56:44 -05:00
Ryan VanderMeulen
4c584f3f4a Merge b2g-inbound to m-c. 2013-12-05 17:53:41 -05:00
Botond Ballo
4c6324e47d Bug 942754 - Propagate zoom constraints from parent to child APZCs. r=kats
--HG--
extra : rebase_source : 92c3dcac3db2cd457d650ec08abfbab03c9517ce
2013-12-02 18:01:19 -05:00
Vivien Nicolas
edd1526fcb Bug 938312 - Wrong orientation when starting browser in landscape mode. r=kats 2013-12-05 16:15:39 +01:00
Nicholas Cameron
95b6653483 Bug 893301. Rollup patch - new textures content. r=nical,nrc 2013-12-06 07:39:22 +13:00
Jim Chen
9bac879d9e Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa 2013-12-04 21:24:28 -05:00
Benoit Jacob
b07c30f1d5 Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE 2013-12-04 12:19:50 -05:00
Nicholas Cameron
ec6049922f No bug. Remove an erroneous comment. r=me. DONTBUILD 2013-12-04 12:28:36 +13:00
Benoit Girard
5dae7b00ed Bug 944866 - Bustage Intermittent failure. r=bustage on a CLOSED TREE 2013-12-03 15:04:47 -05:00
Benoit Jacob
83397cfb49 Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
a55f35a092 Bug 944703 - Part 7: make DeprecatedSharedRGBImage hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
759b559e56 Bug 944703 - Part 6: make DeprecatedSharedPlanarYCbCrImage hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
0e4939b19e Bug 944703 - Part 5: make AllocShmemParams hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Girard
cb5d1145f7 Bug 944866 - Part 2: Add layers.scroll-graph. r=gal
--HG--
extra : rebase_source : b517f110b09056b3037f9bfae609ff14e6af3859
2013-12-03 10:49:46 -05:00
Nicholas Cameron
de8210f84b Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
f33fe5b3a9 Bug 893301. Reviewer changes. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
a637bdf7c0 Bug 893301. Content hosts. r=nical 2013-11-28 10:16:34 +13:00
Ryan VanderMeulen
e74bb8fe33 Merge m-c to inbound. 2013-12-02 16:58:15 -05:00
Edwin Flores
10b0f383a8 Bug 934412 - Add header offset in SharedRGBImage::GetBuffer r=nical 2013-12-03 10:25:27 +13:00
Botond Ballo
00053572e6 Bug 944521 - Scroll-grabbing elements shouldn't grab tap gestures. r=Cwiiis 2013-11-29 16:40:21 -05:00
Nicholas Nethercote
c82c609ac3 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
6220f98ec6 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Cameron
957ecba802 merge backout 2013-11-28 12:32:24 +13:00
Nicholas Cameron
a450c10d73 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron
56b50d3cc3 Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
ccd962044d Bug 893301. Reviewer changes. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
0fef92269d Bug 893301. Content hosts. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Nethercote
74e6ffe050 Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Anthony Jones
895c664218 Bug 888084 - Use RollingMean to calculate mean; r=BenWa 2013-09-25 12:13:33 +12:00
Benoit Jacob
406f766862 Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-27 10:19:34 -05:00
Benoit Jacob
8b7013b519 Bug 933082 - Part 3: let ShadowLayerForwarder hold a strong ref to its LayerTransactionChild - r=nical 2013-11-27 10:18:38 -05:00
Benoit Jacob
f83f2f5858 Bug 933082 - Part 2: propagate the mIPCOpen flag, avoid crashing in DestroySharedSurface on a dead channel - r=nical 2013-11-27 10:18:38 -05:00
Benoit Jacob
ca06bace5e Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical 2013-11-27 10:18:38 -05:00
Markus Stange
de91212dad Bug 943041 - Don't delay compositing on the compositor thread in ASAP mode (layout.frame_rate == 0). r=BenWa 2013-11-27 08:33:39 +01:00
Markus Stange
66dccf3af2 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Jim Mathies
06adfb766f Bug 940952 - Replace apzc GeckoContentController pan notifications with more general purpose transform notifications. r=botond 2013-11-26 14:14:39 -06:00
Carsten "Tomcat" Book
8f9ac16095 merge b2g-inbound to mozilla-central 2013-11-26 12:40:07 +01:00
Botond Ballo
7b0a4c5e9a Bug 942535 - Fix a compiler warning about signed/unsigned comparison in APZ. r=dholbert
--HG--
extra : rebase_source : 816fc31c43178e1b5841c3a49cd71d2c08751331
2013-11-25 14:29:41 -05:00
Matt Brubeck
ea61d6562d Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond] 2013-11-25 20:30:26 -08:00
Benoit Girard
74c90d1629 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Ryan VanderMeulen
14bce8a31f Merge b-i to m-c. 2013-11-22 15:35:31 -05:00
Botond Ballo
ed2ca112ae Bug 912666 - Implement scroll grabbing in APZ. r=kats,Cwiiis 2013-11-21 17:38:00 -05:00
Matt Brubeck
574c2b7015 Bug 941327 - Match scale to scroll offset during zoom animation [r=botond] 2013-11-21 14:12:28 -08:00
Matt Brubeck
0b097c42d2 Bug 941123 - Pre-render content before starting animated zoom [r=botond] 2013-11-21 14:12:25 -08:00
Nicholas Cameron
f93ee05073 Bug 900248. Rebuild the d3d9 device. r=Bas 2013-11-22 11:07:56 +13:00
David Anderson
51ca221b03 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Nicolas Silva
ad6579b6cd Bug 926558 - Remove a warning that is not used correctly. r=BenWa 2013-11-13 13:25:50 +01:00
Botond Ballo
c33a73dd59 Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis 2013-09-23 14:09:48 -05:00
Chris Peterson
223f9eb3e9 Bug 949360 - Check for Image AllocateBuffer() failures. r=nical
Relanded on a CLOSED TREE
2013-12-10 22:58:51 -08:00
Ehsan Akhgari
1aec92c6ff Backed out changeset 6d9cf51a012a (bug 949360) because of mochitest-3 timeouts on a CLOSED TREE 2013-12-12 11:26:24 -05:00
Chris Peterson
7bea49c784 Bug 949360 - Check for Image AllocateBuffer() failures. r=nical 2013-12-10 22:58:51 -08:00
Ed Morley
f11b71bada Merge mozilla-central and inbound 2013-11-20 12:44:07 +00:00
Botond Ballo
20adb2fb8e Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
Chris Lord
c97c1763cd Bug 869696 - Enable Gralloc on the Geeksphone Peak again. r=bjacob
The issues that caused it to be disabled initially have now been resolved.
2013-11-19 13:29:29 +00:00
Nicholas Cameron
f64740250c Bug 939598. Always call BeginTransaction before EndTransaction. r=mattwoodrow 2013-11-20 20:27:23 +13:00
Nicholas Cameron
5e244c94b1 merge 2013-11-19 17:39:24 +13:00
Anthony Jones
f4ae9d8faf Bug 899154 - Disable dropping resolution during fling; r=kats 2013-11-15 11:12:03 +13:00
Benoit Jacob
012417f2af Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Jacob
633e63c6ef Bug 938970 - 2/5. Add more namespace qualifiers in gfx/layers code to avoid ambiguous namespace resolution - r=mattwoodrow 2013-11-17 21:06:21 -05:00
Ehsan Akhgari
d5ce0b2339 Bug 938134 - Build widget/xpwidgets in unified mode; r=roc
--HG--
rename : widget/shared/WidgetUtils.cpp => widget/shared/SharedWidgetUtils.cpp
2013-11-17 14:03:55 -05:00
Nicholas Cameron
407c5f8c6b Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Phil Ringnalda
a1bcd56fe8 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
87cd3345ad Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
c9776c970e Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
cc8a96960a Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Nicholas Cameron
6c86bf2741 Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Ryan VanderMeulen
f90de9eccd Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
ab53bf3ef7 Merge b2g-inbound to m-c on a CLOSED TREE. 2013-11-14 20:57:32 -05:00
Nicholas Cameron
b7b3ca15bd Fix bustage from bug 915940 on a CLOSED TREE. r=me 2013-11-15 11:13:53 +13:00
Nicholas Cameron
d1aab0c912 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00
Botond Ballo
b158af9af4 Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats 2013-10-18 17:13:26 -04:00
Kartikaya Gupta
5911da4a8a Bug 934420 - Try to preserve the right APZC in the face of layer tree changes. r=botond 2013-11-14 15:35:30 -05:00
Botond Ballo
d48fdb5dd0 Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE 2013-11-14 15:11:53 -05:00
Botond Ballo
522b1cd18e Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats 2013-11-13 14:13:40 -05:00
Kartikaya Gupta
0aa34abca6 Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta
7458d8fad1 Bug 937688 - Make APZCTM::UpdateCompositionBounds explicitly operate on the root APZC for a layer tree. r=botond 2013-11-13 13:20:31 -05:00
Jim Mathies
18fbf3543f Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats 2013-11-10 10:43:17 -06:00
Kartikaya Gupta
6b0f142e83 Bug 902505 - Adjust the hit-test and input transformations in APZCTreeManager to be more correct. r=botond 2013-11-08 13:56:31 -05:00
Kartikaya Gupta
77617e3aff Bug 935624 - Update various properties on the FrameMetrics on a layers update. r=botond
In particular, in the case with nested APZCs, the parent APZC might request
a repaint at a different resolution, and the child APZC might only find out
about it when the call to NotifyLayersUpdated comes in. At this point the
child APZC must pick up the new values of various properties in order to
remain consistent with the state in gecko and the parent APZC
2013-11-08 11:23:47 -05:00
Kartikaya Gupta
1e20a9603e Bug 935624 - Kill SetZoomAndResolution because the APZC should not touch the mResolution or mCumulativeResolution. r=botond 2013-11-08 11:23:46 -05:00
Kartikaya Gupta
b96b82c875 Bug 927954 - Adding rendertrace logging to the APZ code. r=botond
To use this logging, enable the #define at the top of
AsyncPanZoomController.cpp, run through the scenario you wish
to trace and collect the logs, and then paste them into the
textarea on the page at github.com/staktrace/rendertrace/.
2013-11-12 19:03:27 -05:00
Botond Ballo
38553bd9e2 Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats 2013-11-11 12:06:33 -05:00
Matt Brubeck
cac3956706 Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats] 2013-11-07 13:10:29 -08:00
Matt Brubeck
acbe123ece Bug 934750 - Don't cancel content touch events unless APZC consumes them [r=jimm,kats]
This is necessary for our "cross-slide" hack to work.  We need to send
input to both content and APZC until the input passes the pan threshold, so
that the start page can use touch events without disabling async panning.

In the long run we hope to use "touch-action: pan-x" for this and no longer
rely on this hack.
2013-11-06 12:06:46 -08:00
Wes Kocher
d3d614d652 Merge m-c to inbound 2013-11-04 21:22:23 -08:00
Wes Kocher
32a09c5f75 Merge inbound to m-c 2013-11-04 21:09:17 -08:00
Wes Kocher
f0c23390fe Backed out changeset bad6c063b01f (bug 932274) for build bustage 2013-11-04 14:40:50 -08:00
Benoit Girard
96dd2833db Bug 930476 - Show paint markers for async frames. r=ehsan 2013-11-04 17:04:51 -05:00
David Zbarsky
906bff4c2b Bug 932274: Use Moz2D size classes in ipdl r=nical 2013-11-04 16:43:10 -05:00
Kartikaya Gupta
0114edf4cd Bug 934439 - Add an APZC_LOG line for UpdateScrollOffset. r=botond 2013-11-04 21:30:10 -05:00
Ryan VanderMeulen
742c6ee1dd Merge m-c to b2g-inbound. 2013-11-04 16:32:13 -05:00
Botond Ballo
fa777434ed Bug 932525 - Do APZC hit testing using the layer's screen coordinates rather than layer coordinates. r=kats 2013-10-30 15:58:25 -04:00
Nathan Froyd
0796aeb3b7 Bug 918651 - part 9 - remove useless includes from IPDL files; r=ehsan
These includes are no longer needed.  It's much easier to locate these
includes when they're not obscured by a bunch of other stuff.
2013-10-18 14:47:04 -04:00
Nathan Froyd
ccdd4fb35d Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
3a9ed362e7 Bug 918651 - part 7b - fix Layers{Surfaces,Messages}.ipdlh header bootlegging; rs=ehsan
LayersSurfaces.ipdlh declares itself as |using| a bunch of types that only
get used in LayersMessages.ipdlh.  Since intelligent include-placing
recognizes that these types are not used in LayersSurfaces.h, the necessary
header lines get left out of the generated LayersSurfaces.h, leading to
compilation problems on some platforms.  Fix this by moving the appropriate
lines to LayersMessages.ipdlh.
2013-10-19 12:09:59 -04:00
Nathan Froyd
e2ede970d2 Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Nathan Froyd
973f5e7322 Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan 2013-10-18 14:48:13 -04:00
Ed Morley
d1eeb9782e Merge mozilla-central and inbound 2013-11-01 13:18:19 +00:00
Ed Morley
641a5b27d4 Merge latest green b2g-inbound changeset and mozilla-central 2013-11-01 13:14:45 +00:00
Benoit Jacob
46729cad0c Bug 886219 - Avoid introducing a global constructor with the ImageBridgeParent singleton - r=nical 2013-11-01 07:34:40 -04:00
Fabrice Desré
e5095467d5 Bug 914843 - fix gfx issue on oop b2g linux. r=nrc 2013-10-31 23:36:02 -07:00
Kartikaya Gupta
78cc3658d4 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-10-30 17:06:15 -04:00
Chris Peterson
2942d66873 Bug 931669 - Fix -Wsign-compare warning in Axis.cpp. r=botond 2013-10-27 01:11:18 -07:00
Dale Harvey
b764e71eec Bug 915645 - Allow single taps to occur longer than MAX_TAP_TIME. r=kats 2013-10-28 15:46:40 +00:00
Phil Ringnalda
0f6fec1509 Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
645cba6965 Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical 2013-10-27 17:53:29 -04:00
David Zbarsky
94738173ba Bug 929513 Part 10: Convert ScreenSizeChanged to use gfx::IntSize r=nical 2013-10-27 17:53:28 -04:00
David Zbarsky
389f48f575 Bug 929513 Part 9: Convert AllocPGrallocBufferActor to use gfx::IntSize r=nical 2013-10-27 17:53:28 -04:00