Commit Graph

1249 Commits

Author SHA1 Message Date
Tor Arvid Lund
0cb3c8eff8 Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical 2013-12-20 11:46:28 -05:00
Anthony Jones
702208df32 Bug 952116 - Add mutex around APZC::CancelAnimation; r=kats 2013-12-20 09:58:24 +13:00
Randall Barker
08972a99be Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-19 12:19:25 -08:00
Vivien Nicolas
d04b655956 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
6736a079bc Bug 951290 - [B2G] [Browser] The first swipe after zooming has no effect. r=kats 2013-12-19 01:12:47 +01:00
Kartikaya Gupta
0108acd121 Bug 951256 - Dump the APZC guid in rendertrace output. r=Cwiiis 2013-12-17 15:20:21 -05:00
Kartikaya Gupta
89d848b074 Bug 951256 - Add a GetGuid function with return value to APZC. r=Cwiiis 2013-12-17 15:20:20 -05:00
Kartikaya Gupta
0ea9aefa0c Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis 2013-12-17 14:25:57 -05:00
Alessandro Decina
ff3a24dd02 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
55dc07e248 Bug 943846 - Don't constrain generated display-ports to composition bounds. r=kats 2013-12-16 17:33:30 -05:00
Kartikaya Gupta
0b8bb93d3e 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
0b806c9170 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
1dfe73b536 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
69c8b117ce 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
cd364e9987 Merge m-c to inbound. 2013-12-13 16:16:46 -05:00
Ryan VanderMeulen
218cec4598 Merge inbound to m-c. 2013-12-13 16:15:52 -05:00
Vivien Nicolas
0fd36d97ed Bug 949404 - Applications are half repainted once the keyboard is closed. r=Cwiiis 2013-12-13 18:23:47 +01:00
Tor Arvid Lund
feefccfd0c 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
3d5f99f7f3 Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Chris Lord
8fa042c6ad 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
898b147d75 Merge inbound to m-c 2013-12-12 19:12:51 -08:00
Kartikaya Gupta
6c7c9a5200 Bug 949310. r=BenWa 2013-12-12 13:34:50 -05:00
Carsten "Tomcat" Book
3cb7c2ae44 Merge mozilla-central to b2g-inbound 2013-12-12 16:17:29 +01:00
Ryan VanderMeulen
8c7c4ef7ab Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Dale Harvey
543aa991a9 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
a00e00a3cc Merge m-c to b-i. 2013-12-11 13:37:13 -05:00
Dale Harvey
f90a83a007 Bug 946661 - Dont send tapconfirmed event when tapup was handled. r=kats 2013-12-11 17:19:42 +00:00
Kartikaya Gupta
39ddd2f726 Bug 947931 - Remove unnecessary locking now to avoid potential for deadlock. r=botond,BenWa 2013-12-11 12:15:10 -05:00
Nicholas Cameron
78340760ec Bug 948555. Fix a bogus assert in CompositorParent. r=mattwoodrow 2013-12-11 16:51:00 +13:00
Nicolas Silva
bffd72633e 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
21bd46b628 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 20:44:45 -05:00
Nicolas Silva
6d4b3e3b43 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Ryan VanderMeulen
2b53da578d Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Nicholas Cameron
9bfee51338 Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
c9131de1bb Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
5cac3eba12 Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Nicholas Cameron
7db768a889 Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Kartikaya Gupta
6a13913a77 Bug 814435 - Prevent scrollbars from fading out while user is scrolling. r=botond 2013-12-09 22:14:55 -05:00
Kartikaya Gupta
2b78585247 Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa 2013-12-09 22:14:53 -05:00
Ryan VanderMeulen
c269bf8ea6 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
c546c5862a 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
d624f90dd5 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 13:05:11 -05:00
Nicolas Silva
01cd073429 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 13:05:09 -05:00
Vivien Nicolas
f20d4af270 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
e837de97ec Merge b2g-inbound to m-c. 2013-12-06 15:56:46 -05:00
Vivien Nicolas
1fad3297b3 Bug 946955 - Set the default friction of Axis.cpp to 0.002. r=kats 2013-12-06 18:51:10 +01:00
Nicolas Silva
711566e4d8 Bug 943392 - Let MemoryTextureClient use a fallible allocation. r=BenWa 2013-12-06 16:30:50 +01:00
Chris Lord
57659368a9 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
dc434fe6a9 Bug 839911 - Separate animation out from layer code; r=kats 2013-12-06 16:21:39 +13:00
Benoit Girard
e437a282e0 Bug 940706 - Fix gesture detection transformation with APZC. r=kats,botond 2013-12-05 18:17:37 -05:00
Ryan VanderMeulen
92933e2af0 Merge m-c to inbound. 2013-12-05 17:56:44 -05:00
Ryan VanderMeulen
84787e77aa Merge b2g-inbound to m-c. 2013-12-05 17:53:41 -05:00
Botond Ballo
1576a91e09 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
dc2522ad94 Bug 938312 - Wrong orientation when starting browser in landscape mode. r=kats 2013-12-05 16:15:39 +01:00
Nicholas Cameron
6083fff067 Bug 893301. Rollup patch - new textures content. r=nical,nrc 2013-12-06 07:39:22 +13:00
Jim Chen
e72ffaed40 Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa 2013-12-04 21:24:28 -05:00
Benoit Jacob
12ae30d582 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
68f0c59c0c No bug. Remove an erroneous comment. r=me. DONTBUILD 2013-12-04 12:28:36 +13:00
Benoit Girard
8a7a10f03a Bug 944866 - Bustage Intermittent failure. r=bustage on a CLOSED TREE 2013-12-03 15:04:47 -05:00
Benoit Jacob
4513257f15 Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
ddb176c17b 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
172bcf7d70 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
449cdb54de 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
48786b9c7c 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
e310d54bf8 Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
22e967bd94 Bug 893301. Reviewer changes. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
26fc6718f4 Bug 893301. Content hosts. r=nical 2013-11-28 10:16:34 +13:00
Ryan VanderMeulen
4829857b56 Merge m-c to inbound. 2013-12-02 16:58:15 -05:00
Edwin Flores
0d6eeab31d Bug 934412 - Add header offset in SharedRGBImage::GetBuffer r=nical 2013-12-03 10:25:27 +13:00
Botond Ballo
a7a41dc53a Bug 944521 - Scroll-grabbing elements shouldn't grab tap gestures. r=Cwiiis 2013-11-29 16:40:21 -05:00
Nicholas Nethercote
39004db706 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
a903aefdc0 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
a92b7f186c merge backout 2013-11-28 12:32:24 +13:00
Nicholas Cameron
0a2a18e774 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron
5e6740776c Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
20930af1e8 Bug 893301. Reviewer changes. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
f670bda8f3 Bug 893301. Content hosts. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Nethercote
bc475c75df 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
6c22443aea Bug 888084 - Use RollingMean to calculate mean; r=BenWa 2013-09-25 12:13:33 +12:00
Benoit Jacob
50940bf209 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
922041ff3c 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
a1decdf354 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
927f3a5008 Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical 2013-11-27 10:18:38 -05:00
Markus Stange
3ba56fecc6 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
30aeb02de9 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
77bdf172ee 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
8fdb691147 merge b2g-inbound to mozilla-central 2013-11-26 12:40:07 +01:00
Botond Ballo
191d81b8c4 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
fa697d2df2 Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond] 2013-11-25 20:30:26 -08:00
Benoit Girard
a735170d84 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Ryan VanderMeulen
6789e60ca8 Merge b-i to m-c. 2013-11-22 15:35:31 -05:00
Botond Ballo
21a74823a2 Bug 912666 - Implement scroll grabbing in APZ. r=kats,Cwiiis 2013-11-21 17:38:00 -05:00
Matt Brubeck
18bad3aac6 Bug 941327 - Match scale to scroll offset during zoom animation [r=botond] 2013-11-21 14:12:28 -08:00
Matt Brubeck
3a3b0a0647 Bug 941123 - Pre-render content before starting animated zoom [r=botond] 2013-11-21 14:12:25 -08:00
Nicholas Cameron
d3441a90be Bug 900248. Rebuild the d3d9 device. r=Bas 2013-11-22 11:07:56 +13:00
David Anderson
54fffb1db4 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Nicolas Silva
0ae55e75e8 Bug 926558 - Remove a warning that is not used correctly. r=BenWa 2013-11-13 13:25:50 +01:00
Botond Ballo
830bab31c9 Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis 2013-09-23 14:09:48 -05:00
Chris Peterson
d7d012bff7 Bug 949360 - Check for Image AllocateBuffer() failures. r=nical
Relanded on a CLOSED TREE
2013-12-10 22:58:51 -08:00
Ehsan Akhgari
e9e9c7d188 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
8b72ea8324 Bug 949360 - Check for Image AllocateBuffer() failures. r=nical 2013-12-10 22:58:51 -08:00
Ed Morley
6c3a904be0 Merge mozilla-central and inbound 2013-11-20 12:44:07 +00:00
Botond Ballo
774451c530 Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
Chris Lord
31635f47cf 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
b6196ef8b0 Bug 939598. Always call BeginTransaction before EndTransaction. r=mattwoodrow 2013-11-20 20:27:23 +13:00
Nicholas Cameron
fcc7cf881b merge 2013-11-19 17:39:24 +13:00
Anthony Jones
8a491da0a2 Bug 899154 - Disable dropping resolution during fling; r=kats 2013-11-15 11:12:03 +13:00
Benoit Jacob
41b487f47a Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Jacob
07abcd7359 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
96c519ebd6 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
9928f8e67c Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Phil Ringnalda
74b2dea823 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
93ca5b4477 Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
8996a6fb5c Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
5c64631c6e Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Nicholas Cameron
9fbe01b722 Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Ryan VanderMeulen
98ea4dada0 Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
3af5f0a28a Merge b2g-inbound to m-c on a CLOSED TREE. 2013-11-14 20:57:32 -05:00
Nicholas Cameron
d77b6af4c9 Fix bustage from bug 915940 on a CLOSED TREE. r=me 2013-11-15 11:13:53 +13:00
Nicholas Cameron
69478b80a7 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
23f855d951 Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats 2013-10-18 17:13:26 -04:00
Kartikaya Gupta
82b3084a27 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
e60812cf66 Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE 2013-11-14 15:11:53 -05:00
Botond Ballo
493777b207 Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats 2013-11-13 14:13:40 -05:00
Kartikaya Gupta
9e421b8c64 Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta
f7fb4fa710 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
2974de401e 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
29923bcace 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
4be7ac01fb 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
c1a833fb30 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
0790196f1e 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
acc75156c8 Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats 2013-11-11 12:06:33 -05:00
Matt Brubeck
dc8d2c3cd9 Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats] 2013-11-07 13:10:29 -08:00
Matt Brubeck
ee433d829f 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
ce4f00fcbd Merge m-c to inbound 2013-11-04 21:22:23 -08:00
Wes Kocher
e400a12724 Merge inbound to m-c 2013-11-04 21:09:17 -08:00
Wes Kocher
df1cca0f0f Backed out changeset bad6c063b01f (bug 932274) for build bustage 2013-11-04 14:40:50 -08:00
Benoit Girard
559ab26c5e Bug 930476 - Show paint markers for async frames. r=ehsan 2013-11-04 17:04:51 -05:00
David Zbarsky
ec2becadee Bug 932274: Use Moz2D size classes in ipdl r=nical 2013-11-04 16:43:10 -05:00
Kartikaya Gupta
d865cd8f90 Bug 934439 - Add an APZC_LOG line for UpdateScrollOffset. r=botond 2013-11-04 21:30:10 -05:00
Ryan VanderMeulen
56251f8b65 Merge m-c to b2g-inbound. 2013-11-04 16:32:13 -05:00
Botond Ballo
7c0017a83e 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
61378e49b8 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
ec839c62b4 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
91725bfec2 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
ebcc1e1abf Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Nathan Froyd
c41a24510b Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan 2013-10-18 14:48:13 -04:00
Ed Morley
6122e59c73 Merge mozilla-central and inbound 2013-11-01 13:18:19 +00:00
Ed Morley
23e525166f Merge latest green b2g-inbound changeset and mozilla-central 2013-11-01 13:14:45 +00:00
Benoit Jacob
1f5b706ef5 Bug 886219 - Avoid introducing a global constructor with the ImageBridgeParent singleton - r=nical 2013-11-01 07:34:40 -04:00
Fabrice Desré
bd9859e505 Bug 914843 - fix gfx issue on oop b2g linux. r=nrc 2013-10-31 23:36:02 -07:00
Kartikaya Gupta
e08ba777b1 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
15fea8501b Bug 931669 - Fix -Wsign-compare warning in Axis.cpp. r=botond 2013-10-27 01:11:18 -07:00
Dale Harvey
9c58b66f63 Bug 915645 - Allow single taps to occur longer than MAX_TAP_TIME. r=kats 2013-10-28 15:46:40 +00:00
Phil Ringnalda
780e2a2c5f Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
94ea6c0df6 Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical 2013-10-27 17:53:29 -04:00
David Zbarsky
031da49889 Bug 929513 Part 10: Convert ScreenSizeChanged to use gfx::IntSize r=nical 2013-10-27 17:53:28 -04:00
David Zbarsky
31ff66f73b Bug 929513 Part 9: Convert AllocPGrallocBufferActor to use gfx::IntSize r=nical 2013-10-27 17:53:28 -04:00
David Zbarsky
4c129e947e Bug 929513 Part 3: Use some LayerIntSize in gfx/layers r=nical 2013-10-27 17:53:27 -04:00
David Zbarsky
b3c48c54a3 Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical 2013-10-27 17:53:26 -04:00
Gregor Wagner
54baf977db Backout Bug 907463 for causing bug 930575 2013-10-25 14:44:03 -07:00
Ed Morley
ae834488ea Merge mozilla-central and b2g-inbound 2013-10-25 12:12:23 +01:00
Kartikaya Gupta
2ba8a111d7 Bug 923482 - Fix an edge case where we might try to re-use a destroyed APZC instance. r=botond 2013-10-25 11:30:17 +02:00
Carsten "Tomcat" Book
0e4e01758c Merge mozilla-inbound to Mozilla-Central 2013-10-24 07:05:29 +02:00
Kartikaya Gupta
f0af958413 Bug 929367 - Rename all the prefs for the async pan/zoom code to be consistent. r=botond,mbrubeck 2013-10-24 00:07:50 +02:00
David Anderson
fc34a69277 Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow). 2013-10-21 13:14:47 -07:00
Nicholas Cameron
6d24fd2a5a Bug 925317. Check shmems are tracked whenever we send them across IPC. r=BenWa,bent 2013-10-21 16:23:42 +02:00
Chris Peterson
0a49e094bd Bug 925195 - Fix -Wsign-compare warning about GetProtocolId() enum return value. r=bent 2013-10-17 20:42:59 -07:00
Sotaro Ikeda
49db7bff2e Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec 2013-10-17 11:09:15 -04:00
Kartikaya Gupta
279d848121 Bug 925902 - Add a macro to APZC_LOG a FrameMetrics object as well. r=botond 2013-10-15 17:07:58 -04:00
Nicholas Cameron
e59c5a9ee9 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Matt Woodrow
858f960ea3 Bug 887791 - Add a TextureClient implementation for MacIOSurface. r=nical 2013-11-01 14:54:14 +13:00
Dale Harvey
33b0cd9459 Bug 922866 - Follow up: Fix error introduced in rebase. r=trivial 2013-10-14 18:56:04 +02:00
Dale Harvey
cc05a08fc0 Bug 922896 - Fire tap immediately if content is not zoomable. r=kats 2013-10-14 05:29:47 +01:00
Wes Kocher
6313f43c69 Merge inbound to m-c 2013-10-10 18:59:58 -07:00
Kartikaya Gupta
f346cf8889 Bug 915831 - Roll ScaleWillOverscroll into ScaleWillOverscrollAmount since it's simpler that way. r=botond 2013-10-10 17:02:25 -04:00
Kartikaya Gupta
b4efe2cba1 Bug 915831 - Remove some unnecessary rounding that allowed minor amounts of overzoom. r=botond 2013-10-10 17:00:30 -04:00
Kartikaya Gupta
368d1ced96 Bug 915831 - When clamping the async zoom amount, take into account the overzoom boundary. r=botond 2013-10-10 17:00:29 -04:00
Nicholas Cameron
574e1a5848 Bug 925324. For abnormal shutdowns, only abort on b2g. r=sotaro 2013-10-11 05:44:03 +13:00
Kartikaya Gupta
754d332a1a Bug 923431 - Kill ScreenToScreenScale. r=botond 2013-10-10 12:21:55 -04:00
Kartikaya Gupta
798021577b Bug 923431 - Fix the code that adjusts scroll offset while pinching; add tests to go with. r=botond 2013-10-10 12:21:50 -04:00
Nicolas Silva
546040be85 Bug 923917 - Make CompositableClient not crash when texture serialization fails. r=nrc 2013-10-09 16:18:29 -07:00
Benoit Girard
3696e2adc6 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Benoit Jacob
fc3178b1f8 Bug 914823 - Use a WeakPtr to the SurfaceAllocator - r=jgilbert,nical 2013-10-09 08:47:32 -04:00
Kartikaya Gupta
c8822d5aa7 Bug 924394 - Add some useful but default-disabled logging for APZC code. r=botond 2013-10-08 17:13:04 -04:00
Phil Ringnalda
e55ebbb920 Merge m-i to m-c 2013-10-03 07:58:59 -07:00
Matt Brubeck
d0f97c46f6 Merge fx-team to mozilla-central 2013-10-03 07:38:41 -07:00
Matt Brubeck
64a77f6a3f Bug 915328 - Add support for cross-slide gesture to APZC [r=kats] 2013-10-02 18:03:04 -07:00
Matt Brubeck
1403178461 Bug 892684 - Implement axis locking in AsyncPanZoomController [r=kats,botond] 2013-10-02 18:03:04 -07:00
Matt Brubeck
f58ece2dd9 Bug 892684 - Clean up some code in AsyncPanZoomController [r=kats] 2013-10-02 18:03:04 -07:00
Phil Ringnalda
a92d1ffb9b Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes 2013-10-01 22:46:48 -07:00
Masayuki Nakano
a4221a463f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Benoit Girard
43d7d6f444 Bug 918825 - Add frame duration marker. r=ehsan 2013-09-27 12:08:45 -04:00
Ed Morley
25e60eaf8c Merge latest green b2g-inbound changeset and mozilla-central 2013-10-01 10:56:53 +01:00
Kartikaya Gupta
20ceccd6f3 Bug 916379 - Remove a content repaint request that was clobbering the right frame metrics with the wrong one. r=BenWa 2013-09-30 20:58:36 -04:00
Ryan VanderMeulen
ad7d17c453 Merge m-c to b2g-inbound. 2013-09-30 16:30:26 -04:00
David Anderson
437f6053a9 Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Cervantes Yu
0a6a25b7c4 Bug 771765 - Support template content process, part 9: allocating a toplevel protocol should return itself. r=dzbarsky
Reverse the effect in bug 879475 part 14 since we need to keep track of open protocols in the Nuwa process.
2013-09-26 12:19:09 +08:00
Nicolas Silva
302198d77d Bug 916116 - Rename CompositableQuirks. r=bjacob 2013-09-30 14:14:38 +02:00
Nicolas Silva
fb7278e4bc Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc 2013-10-02 13:52:04 -07:00
Ehsan Akhgari
8b1e734ef4 Backed out changeset a73ffb0d0c97 because of build bustage 2013-09-29 17:20:07 -04:00
Ehsan Akhgari
f3d364af5a Remove a number of unused variables, no bug 2013-09-29 16:42:12 -04:00
David Anderson
fd2cf49aa1 Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Nicholas Cameron
009454da8e Bug 882113. Azurification of compositor classes. r=mattwoodrow 2013-09-27 12:37:19 +12:00
Nicolas Silva
e3ef6e63f3 Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE 2013-09-26 19:06:12 +02:00
Nicolas Silva
bc11135ff0 Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc 2013-09-26 18:00:23 +02:00
Masayuki Nakano
743fbc6e59 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Benoit Jacob
c566455dd4 Bug 919219 - fix the b2g build - no review, bustage, CLOSED TREE 2013-09-24 18:09:20 -04:00
Benoit Jacob
eb8b1d73bb Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob
42848d261c Bug 913872 - Take nested enums out of gfxASurface - 2/3 : manual changes - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob
55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley
f1a11dfd16 Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures 2013-09-24 16:49:11 +01:00
Masayuki Nakano
0fbfe07d7e Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Nicholas Cameron
d6482934be Bug 912766. DIB texture client/host. r=mattwoodrow,jrmuizel 2013-09-24 13:14:11 +12:00
Nicholas Cameron
abd5b28be1 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
David Zbarsky
9eca84e4d8 Bug 879475: Allocing an actor for a bridged or opened protocol should return bool r=jlebar
Conflicts:
	dom/ipc/ContentChild.cpp
	dom/ipc/ContentChild.h
2013-09-23 17:54:25 -04:00
Benoit Jacob
2dcf3bf15d 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
c37a134542 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
394397cc79 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
0d500136ea Bug 898478 - Have AsyncPanZoomController keep a pointer to the APZCTreeManager. r=kats 2013-08-20 18:10:47 -04:00
Nicolas Silva
5105ebac1e Bug 916116 - Move SetCompositableQuirks to AddTextureHost. r=sotaro 2013-09-17 15:28:35 +02:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f5213d3e66 Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
32bdb371af Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent 2013-06-03 18:14:37 +08:00
Matt Woodrow
fe6c3e297b Bug 921910 - Don't build TextureHosts for async video frames when there's no compositor. r=nical 2013-10-02 16:05:35 +13:00
Matt Woodrow
c00e35e764 Bug 886219 - Make sure we release ImageBridge compositables and textures from the ImageBridge thread. r=nical 2013-10-02 16:05:35 +13:00
Matt Woodrow
37ee84f25f Bug 886219 - Don't leak the static ImageBridgeParent. r=nical 2013-10-02 16:05:34 +13:00
Nicolas Silva
e422a66147 Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob 2013-10-01 17:57:50 -07:00
Wes Kocher
4218f48b71 Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage 2013-10-01 14:30:13 -07:00
Nicholas Cameron
a6633f8396 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Ryan VanderMeulen
fd45cb64f6 Merge m-c to b2g-inbound. 2013-09-13 16:11:28 -04:00
Kartikaya Gupta
0f52824527 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
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
Jim Mathies
1241a6a4cc Bug 915385 - Add a hidden pref for disabling apz zoom. r=kats 2013-09-12 12:30:05 -05: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
Nicolas Silva
f8616ba377 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
a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -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 Girard
f11fc41386 Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel 2013-09-10 15:56:49 -04:00
Nicolas Silva
d5fc397967 Bug 913821 - TextureID should be uint64 in the ipdl code. r=sotaro 2013-09-10 10:53:58 +02:00
Nicholas Nethercote
7983bb2a7f 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
f7bce95a91 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
cc604f4854 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
6bb0b5ed84 Don't include mozilla-config.h in gfx.layers. No bug. r=me 2013-09-09 08:55:48 +12: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
Nicolas Silva
afe16b3948 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
8ec75b058c 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
b37a2fa1ba Bug 910488 - XSync can hang indefinitely with OMTC enabled (r=bjacob) 2013-08-30 14:30:10 -07:00
Doug Turner
3de9e6a0cf Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Nicolas Silva
a9764d8417 Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob 2013-08-09 17:23:46 +02:00
Nicholas Nethercote
23e35ad8e1 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
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
Gabriele Svelto
91c1a25d52 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
47f9af7214 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
795d28ed67 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
7e9f44a455 Bug 907243 - Move SetDPI to APZCTreeManager. r=kats 2013-08-22 19:28:02 -05: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
Ryan VanderMeulen
78bcb8af18 Merge inbound to m-c. 2013-08-21 17:14:32 -04:00
Kartikaya Gupta
9a113e1a19 Bug 898443 - Add a parent pointer to the AsyncPanZoomController class. 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
Botond Ballo
0e5f86037c 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
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
David Zbarsky
9841925526 Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc 2013-08-20 15:45:30 -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
Ryan VanderMeulen
bb87caf4be Merge m-c to inbound on a CLOSED TREE. 2013-08-19 17:05:12 -04:00
Kartikaya Gupta
eeceed6abc 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
b1c2b07b0e 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)
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
Nicholas Cameron
d54a23dd47 Bug 903893. Backend fallback for OMTC. r=mattwoodrow 2013-08-18 18:46:16 +12:00
Jeff Muizelaar
5bfbf126a7 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
a62c3344f1 merge b2g-inbound to central 2013-08-16 15:30:59 -07:00
Arnaud Sourioux
25dd048448 Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame 2013-08-16 09:18:36 -04:00
Botond Ballo
f3c2ea43d5 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
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
Nicholas Cameron
5cd4425728 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Kartikaya Gupta
9a898e566b 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
11df259b10 Bug 897258 - Avoid wasted work in GestureEventListener::HandleInputEvent(). r=kentuckyfriedtakahe 2013-08-09 15:01:56 -04:00
Ed Morley
e4bcd96d08 Merge mozilla-central and inbound 2013-08-07 16:19:03 -07:00
Edwin Flores
803c0fbe47 Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow 2013-08-08 10:38:21 +12:00
Kartikaya Gupta
66fff2ca46 Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa 2013-08-06 16:20:14 -04:00
Ryan VanderMeulen
d3e2486217 Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures. 2013-08-06 12:50:36 -04:00
Kartikaya Gupta
405d81dc18 Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa 2013-08-06 10:39:19 -04:00
Kartikaya Gupta
4fe9002ec0 Bug 901339 - Fix the focal point when zooming in and out. r=BenWa 2013-08-07 12:34:16 -04:00
Nicolas Silva
8f66891960 Bug 900393 - Implement missing method in DeprecatedSharedRGBImage. r=eflores 2013-08-06 18:47:44 +02:00
Nicolas Silva
8d92d2210c Bug 899667 - Make layer borders more readable. r=BenWa 2013-08-03 00:50:17 +02:00
Kartikaya Gupta
6228032f7b 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
f742a26a6e Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Matt Woodrow
c297e37460 Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-03 13:30:28 -04:00
Wes Kocher
67614e96b8 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
49169f83fb Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-02 23:00:02 -04:00
Matt Woodrow
341fd56ab3 Bug 900133 - Remove unnecessary printf when adding textures. r=nical
--HG--
extra : rebase_source : 78b76ede5e23d445833a65fd18c7eb336709c1b4
2013-08-01 21:12:15 -04:00