bors-servo
7fa2b2c879
Auto merge of #21842 - jdm:android-extra-frame, r=paulrouget
...
Fix flickering on Android
This is particularly noticeable in debug builds on WebGL pages, but also appears during startup when loading normal pages. requestRender() causes Android to swap buffers under the assumption that the buffer contains a fully rendered frame, but when calling it from `doFrame` there are no guarantees that Servo has finished compositing yet. This causes stale buffers to be composited instead, leading to flickering at startup when there is no content, or general jerkiness on pages using animation callbacks as previous frames replace current frames.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21796
- [x] These changes do not require tests because no android integration tests.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21842 )
<!-- Reviewable:end -->
2018-10-03 05:00:48 -04:00
Josh Matthews
de8fae14b7
android: Do not trigger a composite before Servo has finished compositing.
2018-10-03 03:44:16 +02:00
Paul Rouget
54d7788698
Create a Maven repository
2018-10-02 18:16:44 +02:00
Paul Rouget
6d543dec28
com.mozilla to org.mozilla
2018-10-02 08:09:35 +02:00
Josh Matthews
4db25fe581
Remove unnecessary thread specification when flushing GL on Android.
2018-10-01 10:22:12 +02:00
Josh Matthews
5edf4e163e
Set android toolchain version correctly.
2018-09-25 12:14:50 -04:00
Josh Matthews
4fe41c69d3
Add mach command to setup remote debugging on Android devices.
2018-09-25 12:14:18 -04:00
Fernando Jiménez Moreno
c7d11b9a1e
Remove duplicated context param from Servo constructor
2018-09-25 11:53:27 +02:00
Fernando Jiménez Moreno
991fdbe5d4
Declare libgstreamer_android as prebuilt library
2018-09-24 15:50:45 +02:00
Fernando Jiménez Moreno
e3c98802eb
Move GStreamer initialization to a path shared by ServoSurface and ServoView
2018-09-24 15:50:06 +02:00
Fernando Jiménez Moreno
2854847c13
Do not copy gstreamer fonts or certs on Android
2018-09-24 15:14:47 +02:00
Fernando Jiménez Moreno
b27881523c
Enable GStreamer support on Android
2018-09-24 15:14:46 +02:00
Paul Rouget
96cf1e2da3
Get the right pixel density on Android
2018-09-24 07:45:15 +02:00
Josh Matthews
f7516f57a7
Enable use of RUST_LOG with mach run --android.
2018-09-20 14:14:41 -04:00
Paul Rouget
77f38a0789
Save initial URI for all loadUri methods
2018-09-10 10:45:10 +02:00
Carlo Abelli
9b4017e1e0
Fix Android back button behavior
...
Pressing the back button should call mServoView.goBack if possible.
2018-08-17 09:38:05 -04:00
Paul Rouget
6aa653a46d
Show animation status
2018-08-16 13:51:57 +02:00
Paul Rouget
296b76070c
pinch to zoom
2018-08-16 13:51:57 +02:00
bors-servo
e855973e2b
Auto merge of #21405 - paulrouget:suspend, r=jdm
...
Behave properly when app is suspended
Fix #21329
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21405 )
<!-- Reviewable:end -->
2018-08-15 02:07:05 -04:00
Paul Rouget
ae407e9a65
Behave properly when app is suspended
2018-08-14 16:52:36 +02:00
Paul Rouget
8106e5e9bf
Make it possible to use a custom AAR to build servoapp
2018-08-14 10:35:15 +02:00
Paul Rouget
b16b0b4a15
Execute callbacks in proper threads
2018-08-11 16:55:20 +08:00
Paul Rouget
927704b8a3
fix mGLLooperHandler null ref
2018-08-11 16:55:20 +08:00
Paul Rouget
f1a2862e65
Add asset to AAR
2018-08-11 16:55:19 +08:00
bors-servo
78fabb9110
Auto merge of #21361 - paulrouget:fasterBuild, r=MortimerGoro
...
Compile less
Fix #21332
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21361 )
<!-- Reviewable:end -->
2018-08-09 10:06:55 -04:00
Paul Rouget
b79f80d9e5
Compile less
2018-08-09 17:54:35 +08:00
Paul Rouget
7a14dbf5a1
Add more methods to ServoSurface and relabel the inner surface class name
2018-08-08 11:10:52 +02:00
Paul Rouget
c36b16546e
Introduce ServoSurface
2018-08-01 16:35:22 +08:00
Paul Rouget
e8af185a3d
Build a AAR archive alongside the APK
2018-08-01 16:15:47 +08:00
Paul Rouget
6a31864126
Update Gradle and SDK
2018-07-31 22:39:45 +08:00
Paul Rouget
be6b5f9aad
new android port: minimal Android app that relies on libsimpleservo
2018-07-31 22:39:44 +08:00
Josh Matthews
d6b8aaf576
Support i686-linux-android target.
2018-05-23 11:06:19 -04:00
Paul Rouget
9fb5795f37
delegate resource reading to embedder
2018-04-27 15:34:52 +08:00
Imanol Fernandez
e93130026a
Implement Gradle flavors
2017-09-30 14:31:22 +02:00
Imanol Fernandez
7a2a90959e
Android life cycle improvements and Gradle integration
2017-04-21 18:24:10 +02:00
Fabrice Desré
9f631b94ec
Cleanup of the Android specific code.
2017-02-16 21:17:39 -08:00
Zhuowei Zhang
f1019569bf
android: extract resources to external storage on first launch
2017-02-05 19:12:42 -08:00
Attila Dusnoki
ccc66d0c32
WebBluetooth Android support
2016-09-06 12:48:04 +02:00
bors-servo
2b32ec4301
Auto merge of #11691 - larsbergstrom:android_load, r=mbrubeck
...
Add very simple Android browser page load support
I've long had this set of private patches that enables actually demoing Servo on Android without having the device connected, but they're a bit hackish due to some current limitations in our windowing toolkit library. I'm considering committing them, though, as it makes the resulting APK *actually* somewhat usable.
Thoughts / r? @mbrubeck
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11691 )
<!-- Reviewable:end -->
2016-06-09 22:45:23 -05:00
Lars Bergstrom
6beed30524
Add very simple Android browser page load support
2016-06-09 15:36:55 -05:00
Lars Bergstrom
988cdf98eb
Update build.xml for new format from updated toolchains
2016-06-09 12:53:47 -05:00
Mitchell Hentges
619212abf3
Reduce 'android-18' duplication, as originally done by wenderen
...
Use android.platform (and $ANDROID_PLATFORM) for configuration, apply 'android-18' default
2016-05-20 22:23:28 +02:00
Matt Brubeck
96dc0eb889
Update .gitignore files
2015-12-08 11:14:09 -08:00
Lars Bergstrom
17a6cb5873
New Android suppport
2015-11-04 16:29:39 -06:00