Commit Graph

296 Commits

Author SHA1 Message Date
Kartikaya Gupta
fadc132229 Bug 1201581 - Hook up the syncFrameMetrics call to sync metrics info from the compositor to Java-land on each composite. r=rbarker 2015-09-11 21:58:16 -04:00
Kartikaya Gupta
54c1024407 Bug 1151102 - Add some diagnostic logging. r=snorp 2015-09-09 23:22:19 -04:00
Kartikaya Gupta
98048d8d16 Bug 1197233 - When fullscreening a video make sure we don't show garbage in the toolbar area. r=rbarker 2015-08-21 13:21:58 -04:00
Kartikaya Gupta
3aa2e96ea3 Bug 1180295 - Remove the margins information from ImmutableViewportMetrics. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
5d356ef82e Bug 1180295 - Update the ZoomedView calculations to account for the new dynamic toolbar model. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
f5ed3a019f Bug 1180295 - Implement seamless snapping to the stable state. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
7dc2112503 Bug 1180295 - Ensure we don't scroll past the end of the page. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
67894e890b Bug 1180295 - Ensure short pages are dealt with appropriately, so that the toolbar can be made visible but not hidden. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
a6ade81b8d Bug 1180295 - Ensure that on rotation/resize the CSS viewport is resized to the right size. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
b439835c3b Bug 1180295 - Delete the LayerMarginsAnimator class and its dangling entrails. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
b296cc12ff Bug 1180295 - Stop exposing the old LayerMarginsAnimator from LayerView. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
4ba0b0d26e Bug 1180295 - Hook up the fixed-position layer margins to the DynamicToolbarAnimator. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
ad9c5fec28 Bug 1180295 - Store the viewport width and height as integers instead of floats in ImmutableViewportMetrics. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
ed9de4a558 Bug 1180295 - Hook up toolbar show/hide animations to the DynamicToolbarAnimator. r=rbarker 2015-08-18 14:27:18 -04:00
Kartikaya Gupta
5e02f68e18 Bug 1180295 - Disconnect scrolling notifications going to LayerMarginsAnimator. r=rbarker 2015-08-18 14:27:18 -04:00
Kartikaya Gupta
d290ae8625 Bug 1180295 - Introduce the skeleton of a DynamicToolbarAnimator class alongside LayerMarginsAnimator. r=rbarker 2015-08-18 14:27:18 -04:00
Kartikaya Gupta
f8cac5f8c4 Bug 1180295 - Rip out the Fennec code to set the screen render offset. r=rbarker 2015-08-18 14:27:18 -04:00
Kartikaya Gupta
d6bfe53b6e Bug 1180295 - Rip out call to setContentDocumentFixedPositionMargins. r=rbarker 2015-08-18 14:27:18 -04:00
Mark Capella
7800d0949d Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen 2015-08-10 19:19:51 -04:00
Mark Capella
68e521a7af Bug 1191161 - p3 - Rename / Shorten WrapElementForJNI to WrapForJNI, r=jchen 2015-08-07 02:09:08 -04:00
Robert O'Callahan
a33364b916 Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.

This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.

The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.
2015-06-12 03:20:04 +12:00
Danilo Cesar Lemes de Paula
cdf60a9056 Bug 1162701 - Fix panning on Fennec built with C++ APZ. r=kats 2015-05-11 05:22:00 +02:00
Jim Chen
1e50dff8be Bug 1160349 - Fix NPE due to no selected tab; r=kats 2015-05-05 14:24:09 -04:00
Geoff Brown
ca1f172c61 Bug 982106 - Avoid intermittent NPE in Android x86 crashtests; r=kats 2015-02-18 16:16:19 -07:00
dominique vincent
8ae7eb9fdc Bug 1127909 - Nits in ZoomedView code r=kats 2015-02-01 12:19:48 +01:00
dominique vincent
40e211f525 Bug 663803 - Zoomed view implementation using render document r=mcomella,snorp 2015-01-21 05:59:23 +01:00
Chris Kitching
791227aa4f Bug 1081582: Fix spelling. r=rnewman 2014-10-12 00:28:29 +01:00
Chris Kitching
5d126e171c Bug 1081397: Finalise large numbers of fields. r=rnewman
* * *
Bug 1081397: Finalise large numbers of fields. r=rnewman
2014-10-11 00:17:01 +01:00
Kartikaya Gupta
9bf8f64ac0 Bug 1049887 - Ensure we properly restore the scissor rect state in the GL context after running Java code. r=snorp
The C++ GLContext wrapper doesn't know about the changes to the GL state that the
Java code does, so Java must be careful to restore the GL state to the way
it was. The ScopedGLState RAII code doesn't quite accomplish this because of caching
in the C++ GLContext wrapper, so we have to do this directly from Java code.
2014-08-20 10:38:51 -04:00
Kartikaya Gupta
29230db1be Bug 1046344 - Unbitrot and rearrange the old APZ glue code in Fennec. r=snorp 2014-08-08 17:42:20 -04:00
Chris Kitching
4ec9a79856 Bug 1047971: Delete redundant initialisers-to-default-values from constructors r=rnewman 2014-08-03 21:06:05 -07:00
Kartikaya Gupta
8944849735 Bug 859683 - Allow scrolling in full-screen mode if and only if the full-screen element is the document element. r=wesj 2014-05-07 15:22:14 -04:00
Ryan VanderMeulen
4802c512f2 Backed out changeset 14a43400007e (bug 859683) for robocop failures. 2014-05-06 15:38:28 -04:00
Kartikaya Gupta
8701d11f66 Bug 859683 - Allow scrolling in full-screen mode if and only if the full-screen element is the document element. r=wesj 2014-05-06 13:33:13 -04:00
Kartikaya Gupta
446fee130d Bug 995316 - Make GeckoLayerClient package-scoped. r=snorp 2014-04-11 20:49:46 -04:00
Kartikaya Gupta
bbc29c5e9e Bug 995316 - Expose the OnMetricsChangedListener via LayerView instead of GeckoLayerClient. r=snorp 2014-04-11 20:49:44 -04:00
Mark Capella
4107dabc82 Bug 895463 - (p2) Expose DrawListener in LayerView, r=kats 2014-04-11 10:38:14 -04:00
Kartikaya Gupta
99a3572c6c Bug 988800 - Catch and ignore situations where we try to composite on a destroyed LayerRenderer instance. r=Cwiiis 2014-04-03 11:01:07 -04:00
Chris Lord
a2533e8f75 Bug 960146. r=kats,wesj 2014-02-20 09:36:48 -05:00
Brian Nicholson
4e62725134 Backout ab25dcdc319b (bug 960146) for touch event regressions 2014-02-28 13:26:08 -08:00
Kartikaya Gupta
208f24056e Bug 960146. r=kats,wesj 2014-02-20 09:36:48 -05:00
Wes Johnston
c89afdba0a Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats 2014-02-11 09:16:00 -08:00
Kartikaya Gupta
195b0f54ed Bug 936008 - Avoid NPE when getting a zoom constraints update before the LayerView is fully initialized. r=wesj 2014-01-16 16:14:08 -05:00
Chris Lord
11b855470a Bug 956420 - Fix fixed margins on shorter-than-the-viewport pages. r=kats
If a page is shorter than the screen, but taller than the screen with margins,
and has a fixed position top or bottom bar, it would be offset incorrectly
when scrolling downwards.
2014-01-15 16:58:48 +00:00
Kartikaya Gupta
cadff49718 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
Chris Kitching
068964b99f Bug 709230 - Part 3: annotate the remaining Robocop entry points. r=gbrown,rnewman 2013-11-18 21:09:00 -08:00
Chris Kitching
6b5bb4eec2 Bug 913985: Part 2 - Add annotations to all remaining JNI entry points, marking them for generations. r=kats 2013-11-12 10:41:00 -08:00
Ryan VanderMeulen
4501219603 Backed out 7 changesets (bug 913985) for intermittent Android crashes.
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
2013-11-19 10:56:09 -05:00
Chris Kitching
e5b0e27ea8 Bug 913985 - Part 2: add annotations to all remaining JNI entry points, marking them for generations. r=kats 2013-11-12 10:41:00 -08:00
Benoit Jacob
d86aff61e5 Bug 925608 - 6/8: rename createCompositor to updateCompositor - r=kats 2013-11-15 11:28:57 -05:00