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
Tom Tromey
c924c51529
Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell
2015-06-16 22:28:00 -04:00
Shu-yu Guo
eca2c2d5bb
Bug 1166492 - Return UniquePtr<char[]> from profiler_get_profile to avoid double copying. (r=mstange)
2015-05-26 22:58:40 -07:00
Jim Chen
e4389169ce
Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp
2015-04-27 20:52:52 -04:00
Kartikaya Gupta
3a9fe61cf2
Bug 1077559 - Rename APZCCallbackHandler to AndroidContentController. r=botond
...
--HG--
rename : widget/android/APZCCallbackHandler.cpp => widget/android/AndroidContentController.cpp
rename : widget/android/APZCCallbackHandler.h => widget/android/AndroidContentController.h
2015-04-24 22:26:51 -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
Danilo Cesar Lemes de Paula
d7e8379673
Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
...
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -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
Danilo Cesar Lemes de Paula
0e1c236091
Bug 1146020 - Make APZCCallbackHandler extend from ChromeProcessController. r=kats
...
This is one of the first steps to implement use APZC on Fennec.
2015-03-27 15:18:19 -04:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Kartikaya Gupta
fe23988edf
Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond
2014-10-24 13:29:30 -04:00
James Willcox
a8cc145afb
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
Wes Kocher
36939bc3c8
Backed out 9 changesets (bug 1014614
) for Android mochitest bustage on a CLOSED TREE
...
Backed out changeset 40f99ba7f616 (bug 1014614
)
Backed out changeset 8fbc3c85adfc (bug 1014614
)
Backed out changeset 40dbd7c6ce65 (bug 1014614
)
Backed out changeset f2b504bdd7c5 (bug 1014614
)
Backed out changeset c878e29fbef9 (bug 1014614
)
Backed out changeset 511dcc817f5d (bug 1014614
)
Backed out changeset 2b72e71f1fdf (bug 1014614
)
Backed out changeset 8b530a9a2f99 (bug 1014614
)
Backed out changeset 7fa1b78de684 (bug 1014614
)
2014-10-17 16:34:01 -07:00
James Willcox
9450484c06
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jim Chen
f2a45bdf0d
Bug 1013004 - Allow more time for ANR reports; r=snorp
2014-10-16 15:46:41 -04:00
Jim Chen
f6e00ce7f5
Bug 888482 - Send event to set layer client; r=snorp
2014-09-30 18:20:58 -04:00
Jim Chen
51ce13793a
Bug 1066175 - Only crash when crash reporting annotation succeeds; r=snorp
2014-09-17 12:59:21 -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
12716cb65b
Bug 1048500 - Wait longer to get native stack for ANR; r=blassey
2014-08-05 12:41:10 -04:00
Kartikaya Gupta
d2bd117d55
Bug 1035356 - Make ReceiveInputEvent(InputData...) do in-place modifications of the event to DOM space. r=mstange r=botond
2014-07-08 14:55:52 -04:00
snigdha
9cc482da68
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Ryan VanderMeulen
0d7b59001e
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
a441998156
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Jim Chen
8cc0f19e61
Bug 959214 - Use unwinder when getting ANR native stack; r=blassey
2014-02-05 12:37:54 -06:00
Jim Chen
9305d633e9
Bug 959237 - Define GetVM, GetJNIEnv, and GetJNIForThread as infallible; r=blassey
...
Currently when either of these methods fail, we log something and rely on the calling code to null check. Since these failures are serious and likely unrecoverable, it's better to define these methods as infallible and just crash if they do fail.
2014-01-17 23:32:24 -06:00
Birunthan Mohanathas
d05644b6b3
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
...
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -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
Chris Kitching
36c7d139c0
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Botond Ballo
774451c530
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Jim Mathies
2974de401e
Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats
2013-11-10 10:43:17 -06:00
Birunthan Mohanathas
ffe5416a8e
Bug 784739 - Switch from NULL to nullptr in widget/android/; r=ehsan
2013-10-10 16:42:52 -04:00
Benoit Jacob
0bda204d81
Bug 919219 - Trim gfxASurface more - r=jrmuizel
2013-09-24 16:45:13 -04:00
Chris Kitching
e4cf82a28f
Bug 794981 - Part 2: Don't pass GeckoAppShell class to Init as a parameter - find it in the usual way. r=kats
2013-09-09 08:57:36 -04:00
Kartikaya Gupta
215476e2eb
Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:43 -04:00
Kartikaya Gupta
2c0ffd470e
Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Chris Kitching
349b02b241
Bug 897123 - Make GeckoAppShell.pumpMessageLoop waste less CPU time r=jchen
...
--HG--
extra : rebase_source : 7d5ffa3f2b9d29ff245886c40f4083e7451daec1
2013-07-26 12:02:00 -07: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
Jim Chen
ab6dffe101
Bug 889881 - Use IdleHandler to make MessageQueue.next() not block; r=blassey
2013-07-09 16:25:55 -04:00
Benoit Girard
9a2569ecb3
Bug 873914 - Allow selecting profiled thread. r=snorp
...
--HG--
extra : rebase_source : 6623126a111b23f8871af1a2e64d077b67cb0930
2013-05-16 16:31:50 -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