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
Jim Chen
e4389169ce
Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp
2015-04-27 20:52:52 -04:00
Ryan VanderMeulen
b350674885
Backed out changesets a486dcc9c233 and 7164a2488b28 (bug 1157908) for various Android test failures.
...
CLOSED TREE
2015-04-24 16:01:17 -04:00
Jim Chen
d34c3d89e6
Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp
2015-04-24 14:40:55 -04:00
Randall Barker
6c5b7174eb
Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert
2015-04-10 22:14:00 -04:00
Ryan VanderMeulen
7e5bbc6f5c
Backed out changeset 9271d92ee0e2 (bug 1148149) for robocop crashes.
2015-04-10 14:52:50 -04:00
Randall Barker
332d8f545d
Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert
2015-04-08 16:00:00 -04:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Jim Chen
f6e00ce7f5
Bug 888482 - Send event to set layer client; r=snorp
2014-09-30 18:20:58 -04:00
Jim Chen
905fc241fa
Bug 1063120 - Add synchronous method to notify Gecko observer; r=snorp
2014-09-11 18:31:32 -04:00
Kartikaya Gupta
c604d4ad5a
Bug 1049136 - Add native-code awareness of the Java UI thread so we can do thread assertions. r=snorp
2014-08-08 18:15:38 -04:00
Kartikaya Gupta
80b3b6bf72
Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp
2014-08-08 18:15:37 -04:00
Kartikaya Gupta
96362eb56b
Bug 1046344 - Unbitrot and rearrange the old APZ glue code in Fennec. r=snorp
2014-08-08 17:42:20 -04:00
Jim Chen
c0baa0f500
Bug 992357 - b. Add array support stubs; r=blassey
2014-05-16 18:25:29 -04:00
Jim Chen
3a91fe28bb
Bug 992359 - b. Add skeletal NativeJSObject.toBundle; r=blassey
2014-05-12 12:50:46 -04:00
Jim Chen
a19a03d507
Bug 984458 - f. Add NativeJSObject opt getters; r=blassey
2014-04-01 15:16:56 -04:00
Jim Chen
a829ab70bd
Bug 984458 - e. Add NativeJSObject object getter; r=blassey
2014-04-01 15:16:55 -04:00
Jim Chen
5e4de5d8fb
Bug 984458 - d. Add NativeJSObject property getters; r=blassey
2014-04-01 15:16:55 -04:00
Jim Chen
cdc7a228c1
Bug 984458 - c. Add skeletal NativeJSObject implementation; r=blassey
2014-04-01 15:16:54 -04:00
Jim Chen
1447ea535f
Bug 984458 - b. Add threading support to NativeJSContainer; r=blassey
2014-04-01 15:16:53 -04:00
Jim Chen
d291d3bec4
Bug 984458 - a. Add NativeJSContainer implementation; r=blassey
2014-04-01 15:16:52 -04:00
Wes Johnston
c1bd2f002f
Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats
...
--HG--
rename : mobile/android/base/util/EventDispatcher.java => mobile/android/base/EventDispatcher.java
2014-02-11 09:16:00 -08:00
Jim Chen
8cc0f19e61
Bug 959214 - Use unwinder when getting ANR native stack; r=blassey
2014-02-05 12:37:54 -06:00
Ehsan Akhgari
b6f3a348f0
Bug 956783 - Stop using NULL in Fennec's JNI code; r=jchen
2014-01-06 15:21:27 -05:00
Kartikaya Gupta
0b8bb93d3e
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
Brad Lassey
c830fe558b
bug 744519 - mplement memory-pressure flag to react quicker to memory pressure, without waiting for event loop r=gsvelto
2013-11-27 06:52:05 -05:00
Botond Ballo
d689c3581c
Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats
2013-07-23 16:41:22 -04:00
Botond Ballo
1cdb67fea9
Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats
2013-07-22 22:33:05 -04:00
Brad Lassey
fbe796c4d5
bug 884792 - crash in nsXPCWrappedJS::Release, removeObserver being called off main thread r=kats
2013-06-19 13:55:35 -04:00
Brad Lassey
c08786522e
bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::NotifyObservers r=kats
2013-06-17 17:09:09 -04:00
Brad Lassey
bf0cb53536
bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::CallObservers r=snorp
2013-06-15 17:40:27 -04:00
Jim Chen
3f9f3d0dd5
Bug 863777 - Add native stack JNI method definitions; r=kats
2013-06-14 12:42:10 -04:00
Jim Chen
a37934c572
Bug 860879 - Make GeckoAppShell.processNextNativeEvent waitable; r=blassey
2013-05-09 21:48:00 -04:00
Kartikaya Gupta
c4ff270851
Bug 839641 - Implement the PostDelayedTask callback for APZC in AndroidBridge. r=Cwiiis, blassey
2013-04-26 13:26:46 -04:00
Kartikaya Gupta
909ef092fe
Bug 839641 - Add a stub NativePanZoomController class to start Java bindings to APZC. r=Cwiiis
2013-04-26 13:24:28 -04:00
Benoit Girard
c18ef0a706
Bug 788022 - Add support for dalvik profiling. r=snorp,kats
...
--HG--
extra : rebase_source : 3eb56af40018a546586fd0fb33e343589ddcf207
2013-04-23 13:10:29 -04:00
Kartikaya Gupta
3f5fb0e92f
Bug 839622 - Move websms backend JNI bindings so that they are not built if websms is not enabled. r=blassey
2013-02-08 16:42:14 -05:00
Kartikaya Gupta
1a7aa53322
Bug 839622 - Remove a native function that hasn't been used since bug 735230, and the unneeded setSurfaceView implementation. r=cpeterson
2013-02-08 16:42:13 -05:00
Kartikaya Gupta
eaa9a5510b
Bug 837821 - When calling a JNI function from a library that hasn't been loaded yet, throw a Java exception. r=glandium
2013-02-07 10:17:27 -05:00
Kartikaya Gupta
00928b8a5e
Bug 794982 - Autogenerate libxul JNI stubs and fail build if they change. r=glandium
2013-02-07 09:37:06 -05:00