gecko-dev/mobile/android/base/gfx
Robert O'Callahan 84a1b0dd5a 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.

--HG--
extra : commitid : 3t3xqRdZs24
extra : rebase_source : b23749613663ca805484776ccf5e36b4ff00e3fe
2015-06-12 03:20:04 +12:00
..
Axis.java Bug 1100315 - Implemented fling curving by mapping physical velocity to a value using the bezier curve. r=kats 2015-01-12 11:27:41 -05:00
BitmapUtils.java Bug 1166309 - Make GeckoJarReader load mozglue if necessary; r=mfinkle r=rnewman 2015-06-10 00:25:01 -04:00
BufferedImage.java Bug 1166309 - Move gfx mozglue dependency to after Gecko starts; r=snorp 2015-06-10 00:25:01 -04:00
BufferedImageGLInfo.java Bug 1127005. Rename CairoImage to BufferedImage. r=kats 2015-01-28 17:04:50 -05:00
DisplayPortCalculator.java Bug 1169427 - Replace FloatMath.*() calls with calls to Math.*(). r=snorp 2015-06-02 18:53:59 -07:00
DisplayPortMetrics.java
DrawTimingQueue.java Bug 1047971: Delete redundant initialisers-to-default-values from constructors r=rnewman 2014-08-03 21:06:05 -07:00
FloatSize.java
FullScreenState.java 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
GeckoLayerClient.java Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical 2015-06-12 03:20:04 +12:00
GLController.java Bug 1163841 - Always call eglInitialize(), but kill the preloading hack (which was crashing before) r=nchen 2015-05-14 14:52:10 -05:00
ImmutableViewportMetrics.java Bug 1121268 - Back out bug 1120244 for making it impossible to scroll to the bottom of some pages. r=me 2015-01-14 11:12:12 -05:00
InputConnectionHandler.java
IntSize.java Bug 1169427 - Replace FloatMath.*() calls with calls to Math.*(). r=snorp 2015-06-02 18:53:59 -07:00
JavaPanZoomController.java Bug 1169427 - Replace FloatMath.*() calls with calls to Math.*(). r=snorp 2015-06-02 18:53:59 -07:00
Layer.java Bug 1127005. Rename CairoImage to BufferedImage. r=kats 2015-01-28 17:04:50 -05:00
LayerMarginsAnimator.java Bug 1168497 - Only run LayerMarginsAnimationTask when there is work to do. r?snorp 2015-06-09 16:15:28 -07:00
LayerRenderer.java Bug 1172831 - Use static scrollbar resource reference. r=liuche 2015-06-23 17:17:02 -07:00
LayerView.java Bug 1172831 - Use static scrollbar resource reference. r=liuche 2015-06-23 17:17:02 -07:00
NativePanZoomController.java Bug 1081388: Add missing @Override annotations. r=rnewman 2014-10-10 23:58:19 +01:00
Overscroll.java
OverscrollEdgeEffect.java Bug 1098096 - Add a hack to make overscroll effect work on Android 5.0 r=lucasr 2014-11-20 10:40:50 -06:00
PanningPerfAPI.java Bug 1151910 - Guard against ArrayIndexOutOfBoundsException in testCheck2; r=kats 2015-04-10 14:41:37 -06:00
PanZoomController.java Bug 1046344 - Add a build option to enable the C++ APZ code. r=snorp 2014-08-08 17:41:51 -04:00
PanZoomTarget.java Bug 1046344 - Unbitrot and rearrange the old APZ glue code in Fennec. r=snorp 2014-08-08 17:42:20 -04:00
PluginLayer.java Bug 1136749. Remove @override to fix build bustage 2015-04-13 12:49:44 -04:00
PointUtils.java
ProgressiveUpdateData.java Bug 1021085 - Fix up the Fennec code path as well. r=Cwiiis 2014-06-23 08:42:53 -04:00
RectUtils.java
RenderTask.java
ScrollbarLayer.java Bug 1168497 - Change scrollbar fade to be time-based (250ms). r?snorp 2015-06-08 12:12:43 -07:00
SimpleScaleGestureDetector.java Bug 1081397: Finalise large numbers of fields. r=rnewman 2014-10-11 00:17:01 +01:00
SubdocumentScrollHelper.java Bug 1081397: Finalise large numbers of fields. r=rnewman 2014-10-11 00:17:01 +01:00
TextureGenerator.java Bug 1081397: Finalise large numbers of fields. r=rnewman 2014-10-11 00:17:01 +01:00
TextureReaper.java Bug 1081397: Finalise large numbers of fields. r=rnewman 2014-10-11 00:17:01 +01:00
TouchEventHandler.java Bug 999750 - Recycle MotionEvents. r=kats 2014-04-23 18:04:51 -07:00
ViewTransform.java Bug 1047971: Delete redundant initialisers-to-default-values from constructors r=rnewman 2014-08-03 21:06:05 -07:00
VirtualLayer.java