Ryan VanderMeulen
73463a4880
Merge inbound to m-c.
2013-11-19 20:43:15 -05:00
Bill McCloskey
26966ec5df
Bug 919878 - Improve failure handling for TabChild::InitRenderingState (r=mattwoodrow)
2013-11-19 13:20:28 -08:00
Botond Ballo
b75d9dd1de
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Robert O'Callahan
ac362be738
Bug 919144. Part 9: Move FrameLayerBuilder::ContainerParameters to mozilla::ContainerLayerParameters. r=mattwoodrow
...
This is to avoid having to #include FrameLayerBuilder.h in nsLayoutUtils.h in the next patch.
--HG--
extra : rebase_source : 5f3c3ae2785267949766ae094414781133d4ce44
2013-09-27 18:01:16 +12:00
Kartikaya Gupta
68ac5db5f0
Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond
2013-11-14 12:35:41 -05:00
Kartikaya Gupta
41c0e85fc0
Bug 937688 - Get the guid from ReceiveInputEvent and use it in the callback to ContentReceivedTouch. r=botond
2013-11-13 13:20:31 -05:00
Kartikaya Gupta
76d24cb5b9
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
Kartikaya Gupta
7820ef0ea2
Bug 937688 - Pass the presShellId and viewId from TabChild to RenderFrameParent when requesting a zoom. r=botond
2013-11-13 13:20:30 -05:00
Kartikaya Gupta
e56e0deec6
Bug 937688 - Pass the presShellId and viewId from TabChild to RenderFrameParent when updating zoom constraints. r=botond
2013-11-13 13:20:30 -05:00
Jim Mathies
1979aaa5df
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
843874866f
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
Birunthan Mohanathas
967e556c1c
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Masayuki Nakano
512bc33b30
Bug 920377 part.26 Get rid of nsInputEvent r=roc
2013-10-01 16:23:02 +09:00
Kartikaya Gupta
ab20124a57
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
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
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
Kan-Ru Chen (陳侃如)
3e594063f1
Bug 845169 - Add test case test_remote_passpointerevents.html r=roc
2013-08-08 15:43:59 +08:00
Kan-Ru Chen (陳侃如)
e2a7b7064f
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Kartikaya Gupta
e0f930eb52
Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa
2013-07-30 14:03:42 -04:00
Kartikaya Gupta
5c723f09e5
Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Matt Woodrow
49016db6ea
Bug 889515 - Get rid of static sCompositorParent. r=nical
2013-07-11 22:32:09 -04:00
Botond Ballo
2b006a3d48
Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats
2013-07-11 10:43:35 -04:00
David Zbarsky
9f2f477f41
Bug 885804: Renaming in js/layout/ipc r=roc
2013-07-08 11:48:39 -04:00
Benoit Girard
10760735b2
Bug 888622 - Root layer isn't always ContainerLayer, remove incorrect cast. r=kats
...
--HG--
extra : rebase_source : c3948e30b6fd05c896e1a773e520b8eecfdd05af
2013-07-02 00:17:23 -04:00
Kartikaya Gupta
e6d307eeca
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
89cd9674cd
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
bc7a93a250
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
35149c0bb7
Bug 880676 - Make the ViewTransform classes store the unscaled layer translation. r=BenWa
2013-06-14 16:11:30 -04:00
Kartikaya Gupta
d93f0bdac3
Bug 880676 - Convert some things in APZC::SampleContentTransformForFrame. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
aef5a03609
Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
1d2c4c97c5
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Joe Drew
db95b0ece7
Bug 881459 - Don't include nsView.h from nsLayoutUtils.h r=jrmuizel
2013-06-10 17:00:00 -04:00
Kartikaya Gupta
752fd9f999
Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
8eed7300fd
Bug 879004 - Convert the async scroll offset fields in APZC.h to CSSPoints. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
480d3251f0
Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
e1db212150
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Matt Woodrow
6ea227e7a6
Bug 865104 - Implement a BasicCompositor. r=nrc
2013-05-01 12:42:05 +12:00
Nicholas Cameron
99fe577cb6
Bug 861727. Refactor CompositorParent a bit. r=BenWa
...
--HG--
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/composite/AsyncCompositionManager.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/composite/AsyncCompositionManager.h
2013-04-28 18:46:30 +12:00
Nicolas Silva
09da7b8c04
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-25 18:25:33 -04:00
Ryan VanderMeulen
39bd320f11
Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
...
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
b614d323b6
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-24 15:40:26 -04:00
Nicolas Silva
391cf268bb
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Bas Schouten
341383c413
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
...
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Robert O'Callahan
68e0be54fa
Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
...
--HG--
extra : rebase_source : aa674d4fa93f1b7c2b4dd84ba8d888cc9f289265
2013-04-05 00:36:45 +13:00
Robert O'Callahan
7cbe6380ff
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Ryan VanderMeulen
9b5409dfc3
Backed out changeset 8a6cacf047a1 (bug 833795)to fix bug 856083.
2013-04-05 07:55:25 -04:00
Ms2ger
c89f422b19
Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange.
2013-04-05 09:40:13 +02:00
Anthony Jones
f696a62a20
Backout 8a6cacf047a1 (bug 833795) to fix bug 856083
2013-04-05 18:19:08 +13:00
Anthony Jones
06cdc516c8
Bug 833795 - Use screen relative co-ordinates for gestures; r=drs
2013-03-21 15:08:15 +13:00
Ed Morley
2e90a500bf
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00