gecko/widget/android
Robert O'Callahan 972aedb76b 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
..
android
bindings Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
jni
AndroidBridge.cpp 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
AndroidBridge.h 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
AndroidBridgeUtilities.h
AndroidContentController.cpp
AndroidContentController.h
AndroidDirectTexture.cpp
AndroidDirectTexture.h
AndroidGraphicBuffer.cpp
AndroidGraphicBuffer.h
AndroidJavaWrappers.cpp
AndroidJavaWrappers.h
AndroidJNI.cpp 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
AndroidJNIWrapper.cpp
AndroidJNIWrapper.h
GeneratedJNIWrappers.cpp
GeneratedJNIWrappers.h
GfxInfo.cpp
GfxInfo.h
moz.build
NativeJSContainer.cpp
NativeJSContainer.h
nsAndroidProtocolHandler.cpp
nsAndroidProtocolHandler.h
nsAppShell.cpp Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
nsAppShell.h
nsClipboard.cpp
nsClipboard.h
nsDeviceContextAndroid.cpp
nsDeviceContextAndroid.h
nsIAndroidBridge.idl
nsIdleServiceAndroid.cpp
nsIdleServiceAndroid.h
nsIMEPicker.cpp
nsIMEPicker.h
nsLookAndFeel.cpp Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
nsLookAndFeel.h
nsPrintOptionsAndroid.cpp
nsPrintOptionsAndroid.h
nsScreenManagerAndroid.cpp
nsScreenManagerAndroid.h
nsWidgetFactory.cpp
nsWindow.cpp 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
nsWindow.h 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