Commit Graph

1182 Commits

Author SHA1 Message Date
Bas Schouten
3c662b2e64 Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal 2014-03-13 06:17:05 +01:00
Kartikaya Gupta
67ddba5574 Bug 981029 - Fix the LD transform so that the translation component is in layer pixels. r=botond 2014-03-12 15:27:45 -04:00
Kartikaya Gupta
d655c3edd9 Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Oleg Romashin
030b5c8a06 Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kats
--HG--
extra : rebase_source : 18b7d36e512c8c1a6c0bc042a054aad5e7ee9801
2014-03-11 09:10:50 -07:00
Chris Lord
f1977b5d50 Bug 962629 - Respect max texture size when creating Gralloc textures. r=nical
Add a size hint parameter to CreateTextureClientForDrawing, and use said
parameter to not create Gralloc surfaces that are bigger than the maximum
texture size.
2014-03-12 12:16:37 +00:00
Nicolas Silva
68344fc7a2 Bug 981794 - Fix incorrect clipping of tiles. r=Bas 2014-03-11 23:19:01 +01:00
Botond Ballo
daffded693 Bug 965871 - Implement overscroll handoff for flings. r=kats 2014-03-10 20:04:44 -04:00
Botond Ballo
a631992b46 Bug 965871 - Introduce a mechanism for AsyncPanZoomAnimation::Sample() to schedule tasks to be performed after the APZC lock is released in SampleContentTransformForFrame(). r=kats 2014-03-10 15:52:09 -04:00
Botond Ballo
83ec115974 Bug 965871 - Document lock ordering in APZ. r=kats 2014-03-10 15:55:44 -04:00
Botond Ballo
e28393365f Bug 965871 - Minor cleanup and refactoring. r=kats 2014-03-10 19:17:23 -04:00
Ryan VanderMeulen
8ff258f0a1 Backed out changeset 3697a043583b (bug 982118) for bustage.
CLOSED TREE
2014-03-11 11:48:30 -04:00
Oleg Romashin
050cdf3c0a Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kgupta 2014-03-11 08:24:12 -07:00
Vladimir Vukicevic
7f43187552 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Vladimir Vukicevic
ef13b892db backout of rev 1a52e0063440 b=979489 2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
6f7082cd9f b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Matt Woodrow
4d57a12201 Bug 981393 - Crash the child process if we get invalid Compositable updates. r=nical 2014-03-11 11:12:49 +13:00
Matt Woodrow
919980c817 Bug 981393 - Check against correct compositable types for old-textures. r=nical 2014-03-11 11:12:48 +13:00
Botond Ballo
856fce75aa Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Robert O'Callahan
e5f6bfb587 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Brian Birtles
11b3c9a78c Bug 980207 - When the refresh driver is under test control, make compositor thread only update when a composite is scheduled; r=dzbarsky
In order to make test behavior better match real-world sampling behavior, this
patch updates the test code in CompositorParent so that it only updates the
layer when a composite is scheduled. This enables creating mochitests that
reproduce bugs observed in regular usage.
2014-03-10 13:47:12 +09:00
Brian Birtles
e40ff94f71 Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.

This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
08ad1c9e6f Bug 979658 part 3 - Make LayerTransactionParent::RecvGetTransform convert to CSS pixels; r=dzbarsky
LayerTransactionParent::RecvGetTransform takes care to reverse all the
transformations applied by AsyncCompositionManager::SampleValue to the CSS
values calculated so that it can return CSS values for testing. However, it
fails to revert the conversion from CSS pixels to device pixels applied to the
translation components of the transform by
nsStyleTransformMatrix::ProcessTranslatePart as called by
nsDisplayTransform::GetResultingTransformMatrix.

This patch converts the resulting transform's translation components from device
pixels back to CSS pixels. It also adds documentation for the other operations
in LayerTransactionParent::RecvGetTransform.
2014-03-10 13:47:12 +09:00
Bas Schouten
a0108bc8af Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Ed Morley
a21868703a Merge backout; CLOSED TREE 2014-03-07 15:53:02 +00:00
Ed Morley
6915f3f78a Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Matt Woodrow
887c38c308 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Kartikaya Gupta
1d942f014f Bug 975962 - Remove plumbing that is no longer needed. r=botond 2014-03-07 08:41:23 -05:00
Chris Lord
893c13f69d Bug 979084 - Enlarge displayport along one axis when the other is clipped. r=ajones
If a generated displayport expands beyond the scrollable rect on one axis,
redistribute that extra area to the other axis. Enabled by pref
apz.enlarge_displayport_when_clipped.
2014-03-07 09:26:23 +00:00
Ben Kelly
672e111b8e Bug 977975: Improve composition thread warning debug. r=benwa 2014-03-04 14:41:24 -05:00
Milan Sreckovic
d719a6c5a4 Bug 971943: 5. Add float support to gfxPrefs. apz.max_event_acceleration, apz.fling_friction, apz.fling_stopped_threshold, apz.max_velocity_queue_size, apz.max_velocity_pixels_per_ms preferences moved to gfxPrefs. r=kgupta. 2014-03-03 11:53:21 -05:00
Matt Woodrow
412ca024cc Bug 977891 - Move the ForceComposite message to PLayerTransaction so that we can identify the right compositor with e10s. r=nical 2014-03-03 13:59:58 +13:00
Ryan VanderMeulen
d8c7359358 Merge m-c to b2g-inbound. 2014-02-27 17:34:25 -05:00
Sotaro Ikeda
d4c5f44335 Bug 977596 - Fix build failure on flatfish r=jmuizelaar 2014-02-27 13:26:22 -08:00
Benjamin Bouvier
7a3e028e1e Bug 939843: Required changes in the rest of the tree; r=froydnj
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
Phil Ringnalda
30526870e0 Merge m-c to m-i 2014-02-26 21:28:10 -08:00
Sotaro Ikeda
3f742d24e6 Bug 977393 - Fix build failure on gonk KK r=pchang 2014-02-26 17:46:34 -08:00
Matt Woodrow
5a28db799a Bug 975592 - Make sure we find the correct composition manager when updating child process layer trees. r=nical
--HG--
extra : rebase_source : 5e1457117293c74a362a0570aca2673c90038334
2014-02-25 11:45:40 +13:00
Carsten "Tomcat" Book
60446c5e55 Merge mozilla-central to mozilla-inbound 2014-02-25 15:18:06 +01:00
Carsten "Tomcat" Book
3d4f8f1aaf merge b2g-inbound to mozilla-central 2014-02-25 14:30:13 +01:00
Benoit Jacob
5941604c55 Bug 974356 - 2/4 - add an IsSameProcess method to ISurfaceAllocator - r=nical 2014-02-25 08:12:49 -05:00
Phil Ringnalda
761929bf63 Back out b157f5d0c235 (bug 974197) for b2g reftest-4 and reftest-6 failures
CLOSED TREE
2014-02-24 21:06:18 -08:00
Sotaro Ikeda
c0ff94d478 Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00
Wes Kocher
e45e2f6185 Merge m-c to b2g-inbound 2014-02-24 18:28:37 -08:00
Ben Kelly
e97af6982f Bug 976035: Cap max fling velocity at pref'd limit. r=kats 2014-02-24 16:08:31 -05:00
Kartikaya Gupta
e8bce1378a Bug 898563. r=botond 2014-02-21 17:58:30 -05:00
Benoit Jacob
1b9fd6371f Bug 970747 - 6/6 - Make LayerTransactionParent::RecvUpdate error out if RepositionChild fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
52bcbbf9fd Bug 970747 - 4/6 - Make LayerTransactionParent::RecvUpdate error out if RemoveChild fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
cc2564fac3 Bug 970747 - 2/6 - Make LayerTransactionParent::RecvUpdate error out if InsertAfter fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
5a2a768330 Bug 968825 - Null pointer checks in LayerTransactionParent - r=jrmuizel 2014-02-21 16:50:25 -05:00
Robert O'Callahan
860f3a36ae Bug 973767. Put the compositor into test mode via an IPDL transaction. r=mattwoodrow
--HG--
extra : rebase_source : d40cf8624f93b85298cc501ff315522220522fb6
2014-02-12 17:41:57 +13:00