Tobrun
aedbdc21d0
[androd] - add weak references checks to all jni callbacks
2018-12-13 19:08:12 +01:00
John Firebaugh
79bf0e8af6
[android] jni.hpp 4.0.0
2018-09-07 09:44:12 -07:00
John Firebaugh
53c3c327f0
[android] Upgrade to latest jni.hpp
2018-09-07 09:44:12 -07:00
Łukasz Paczos
cf4b4e728c
[android] - checking is renderer is not destroyed before delivering the snapshot
2018-05-02 12:20:45 +02:00
Tobrun
c2a78d0d72
[android] - add paused state to map renderer, don't render snapshot when paused ( #11358 )
2018-04-10 11:10:14 +02:00
Asheem Mamoowala
bee60130d3
[android] Add Configuration hook for local ideograph font family and demo activity
2017-12-11 10:43:00 -08:00
Ivo van Dongen
c30161e4c8
[android] MapRendererRunnable - avoid weak reference table overflow
...
Apparently on some devices the weak reference table is limited (numbers around 52000). Even though we don't use that many weak references, when GC is not called for a while they can stack up and a crash will occur before the GC has had the time to clear the references. The C++ peer now holds on to a global ref (strong) which can be obtained to queue the java peer and then release automatically so that the GC can take over after the runnable has been executed.
2017-11-09 15:24:34 +02:00
Ivo van Dongen
18bb6da109
[android] reset renderer on the GL thread when map is destroyed
...
- ensures cleanup of resources on the right thread
2017-09-22 23:33:56 +03:00
Ivo van Dongen
c17be060fd
[android] map snapshots
2017-09-22 23:33:56 +03:00
Ivo van Dongen
8182b26dfe
[android] signal renderer when gl surface is re-initialized that gl context is lost
2017-09-22 23:33:56 +03:00
Ivo van Dongen
67285f3a95
[android] Re-initialise renderer, backend and context when the android system destroyed the underlying gl resources
2017-09-22 23:33:56 +03:00
Ivo van Dongen
5d12503302
[android] self-contained map renderer
...
- Isolates the GL thread in a MapRenderer class with a native peer
2017-09-22 23:33:56 +03:00