gecko-dev/mozglue/android
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
..
APKOpen.cpp Bug 858928 - Switch XRE_StartupTimelineRecord() from PRTime to TimeStamp. r=froydnj 2015-07-06 18:01:09 +02:00
APKOpen.h Bug 1066760 - Redirect mozalloc_abort through Java exception handling; r=snorp 2014-09-24 14:12:54 -04:00
Makefile.in
NSSBridge.cpp
NSSBridge.h
NativeCrypto.cpp Bug 915312 - Followup: Replace NULL with nullptr. r=glandium 2014-09-23 13:47:35 -07:00
NativeCrypto.h Bug 915312 - Part 2: Build native crypto into mozglue. r=glandium,kats,rnewman 2014-03-06 12:10:54 -08:00
SQLiteBridge.cpp
SQLiteBridge.h
jni-stubs.inc 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
moz.build Bug 976699 - Place architecture specific assets in assets/$(ANDROID_CPU_ARCH). r=glandium 2014-11-03 20:04:20 -08:00
nsGeckoUtils.cpp
pbkdf2_sha256.c Bug 915312 - Part 1: Import sha files. r=rnewman 2014-03-06 12:10:54 -08:00
pbkdf2_sha256.h Bug 915312 - Part 1: Import sha files. r=rnewman 2014-03-06 12:10:54 -08:00