diff --git a/build.gradle b/build.gradle index d37c5ff7..93a708df 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,7 @@ allprojects { ext.isReleaseVersion = !version.endsWith("SNAPSHOT") ext.androidBuildVersionTools = "27.0.0" - ext.gdxVersion = "1.9.6" + ext.gdxVersion = "1.9.7" ext.gwtVersion = "2.8.0" ext.slf4jVersion = "1.7.25" diff --git a/docs/Changelog.md b/docs/Changelog.md index 0ed08759..180f1504 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -22,6 +22,7 @@ - vtm-theme-comparator module [#387](https://github.com/mapsforge/vtm/issues/387) - Feature parameters [#403](https://github.com/mapsforge/vtm/issues/403) - Gradle 4 / Android plugin 3 support [#433](https://github.com/mapsforge/vtm/issues/433) +- libGDX 1.9.7 [#434](https://github.com/mapsforge/vtm/issues/434) - Internal render themes various improvements [#41](https://github.com/mapsforge/vtm/issues/41) - Many other minor improvements and bug fixes - [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.9.0) @@ -45,6 +46,8 @@ - Improve canvas DPI setting [#349](https://github.com/mapsforge/vtm/issues/349) - OSM indoor layer enhancements [#366](https://github.com/mapsforge/vtm/issues/366) - Gretty plugin at web modules [#338](https://github.com/mapsforge/vtm/issues/338) +- libGDX 1.9.6 [#333](https://github.com/mapsforge/vtm/issues/333) +- Internal render themes various improvements [#41](https://github.com/mapsforge/vtm/issues/41) - Many other minor improvements and bug fixes - [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.8.0) @@ -70,6 +73,7 @@ - Tile grid layer scaling [#238](https://github.com/mapsforge/vtm/issues/238) - Internal render themes new SVG resources [#251](https://github.com/mapsforge/vtm/issues/251) - Fix theme parsing in non-Latin locales [#297](https://github.com/mapsforge/vtm/issues/297) +- libGDX 1.9.5 [#270](https://github.com/mapsforge/vtm/issues/270) - Internal render themes various improvements [#41](https://github.com/mapsforge/vtm/issues/41) - Many other minor improvements and bug fixes - [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.7.0) @@ -92,9 +96,10 @@ - GeoPoint & BoundingBox improvements [#201](https://github.com/mapsforge/vtm/issues/201) [#200](https://github.com/mapsforge/vtm/issues/200) - vtm-jts module [#53](https://github.com/mapsforge/vtm/issues/53) - vtm-http module [#140](https://github.com/mapsforge/vtm/issues/140) -- Internal render themes various improvements [#41](https://github.com/mapsforge/vtm/issues/41) - LWJGL desktop libGDX backend [#129](https://github.com/mapsforge/vtm/issues/129) -- SNAPSHOT builds publish to Sonatype OSSRH [#165](https://github.com/mapsforge/vtm/issues/165) - Available on [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.mapsforge%22) +- SNAPSHOT builds publish to Sonatype OSSRH [#165](https://github.com/mapsforge/vtm/issues/165) +- libGDX 1.9.4 [#164](https://github.com/mapsforge/vtm/issues/164) +- Internal render themes various improvements [#41](https://github.com/mapsforge/vtm/issues/41) - Many other minor improvements and bug fixes - [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.6.0) diff --git a/docs/Integration.md b/docs/Integration.md index 945c599c..e985fc78 100644 --- a/docs/Integration.md +++ b/docs/Integration.md @@ -41,8 +41,8 @@ implementation 'org.mapsforge:vtm-android-gdx:[CURRENT-VERSION]:natives-armeabi' implementation 'org.mapsforge:vtm-android-gdx:[CURRENT-VERSION]:natives-armeabi-v7a' implementation 'org.mapsforge:vtm-android-gdx:[CURRENT-VERSION]:natives-x86' implementation 'org.mapsforge:vtm-android-gdx:[CURRENT-VERSION]:natives-x86_64' -implementation 'com.badlogicgames.gdx:gdx:1.9.6' -implementation 'com.badlogicgames.gdx:gdx-backend-android:1.9.6' +implementation 'com.badlogicgames.gdx:gdx:1.9.7' +implementation 'com.badlogicgames.gdx:gdx-backend-android:1.9.7' implementation 'com.caverock:androidsvg:1.2.2-beta-1' ``` @@ -57,9 +57,9 @@ implementation 'org.mapsforge:vtm-desktop:[CURRENT-VERSION]' implementation 'org.mapsforge:vtm-desktop:[CURRENT-VERSION]:natives-linux' implementation 'org.mapsforge:vtm-desktop:[CURRENT-VERSION]:natives-osx' implementation 'org.mapsforge:vtm-desktop:[CURRENT-VERSION]:natives-windows' -implementation 'com.badlogicgames.gdx:gdx:1.9.6' -implementation 'com.badlogicgames.gdx:gdx-platform:1.9.6:natives-desktop' -implementation 'com.badlogicgames.gdx:gdx-backend-lwjgl:1.9.6' +implementation 'com.badlogicgames.gdx:gdx:1.9.7' +implementation 'com.badlogicgames.gdx:gdx-platform:1.9.7:natives-desktop' +implementation 'com.badlogicgames.gdx:gdx-backend-lwjgl:1.9.7' implementation 'org.lwjgl.lwjgl:lwjgl:2.9.3' implementation 'org.lwjgl.lwjgl:lwjgl-platform:2.9.3:natives-linux' implementation 'org.lwjgl.lwjgl:lwjgl-platform:2.9.3:natives-osx' diff --git a/vtm-android-gdx/natives/arm64-v8a/lib/arm64-v8a/libgdx.so b/vtm-android-gdx/natives/arm64-v8a/lib/arm64-v8a/libgdx.so index 44b98659..24f4c996 100644 Binary files a/vtm-android-gdx/natives/arm64-v8a/lib/arm64-v8a/libgdx.so and b/vtm-android-gdx/natives/arm64-v8a/lib/arm64-v8a/libgdx.so differ diff --git a/vtm-android-gdx/natives/armeabi-v7a/lib/armeabi-v7a/libgdx.so b/vtm-android-gdx/natives/armeabi-v7a/lib/armeabi-v7a/libgdx.so index e55fc7d5..32664c48 100644 Binary files a/vtm-android-gdx/natives/armeabi-v7a/lib/armeabi-v7a/libgdx.so and b/vtm-android-gdx/natives/armeabi-v7a/lib/armeabi-v7a/libgdx.so differ diff --git a/vtm-android-gdx/natives/armeabi/lib/armeabi/libgdx.so b/vtm-android-gdx/natives/armeabi/lib/armeabi/libgdx.so index 2a0b568b..b7fcf3ff 100644 Binary files a/vtm-android-gdx/natives/armeabi/lib/armeabi/libgdx.so and b/vtm-android-gdx/natives/armeabi/lib/armeabi/libgdx.so differ diff --git a/vtm-android-gdx/natives/x86/lib/x86/libgdx.so b/vtm-android-gdx/natives/x86/lib/x86/libgdx.so index 1efadc99..f302aaae 100644 Binary files a/vtm-android-gdx/natives/x86/lib/x86/libgdx.so and b/vtm-android-gdx/natives/x86/lib/x86/libgdx.so differ diff --git a/vtm-android-gdx/natives/x86_64/lib/x86_64/libgdx.so b/vtm-android-gdx/natives/x86_64/lib/x86_64/libgdx.so index 41611f48..358f77cb 100644 Binary files a/vtm-android-gdx/natives/x86_64/lib/x86_64/libgdx.so and b/vtm-android-gdx/natives/x86_64/lib/x86_64/libgdx.so differ diff --git a/vtm-ios-example/build.gradle b/vtm-ios-example/build.gradle index 030137ae..31eaace6 100644 --- a/vtm-ios-example/build.gradle +++ b/vtm-ios-example/build.gradle @@ -4,7 +4,7 @@ buildscript { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { - classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.2' + classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.3' } } diff --git a/vtm-ios/build.gradle b/vtm-ios/build.gradle index 3b50056e..dc55e7bb 100644 --- a/vtm-ios/build.gradle +++ b/vtm-ios/build.gradle @@ -4,7 +4,7 @@ buildscript { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { - classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.2' + classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.3' } } diff --git a/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtGraphics.java b/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtGraphics.java index bb6df25d..e1538bdd 100644 --- a/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtGraphics.java +++ b/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtGraphics.java @@ -143,6 +143,27 @@ public class GwtGraphics implements Graphics { return gl; } + @Override + public void setGL20(GL20 gl20) { + this.gl = gl20; + Gdx.gl = gl20; + Gdx.gl20 = gl20; + } + + @Override + public boolean isGL30Available() { + return false; + } + + @Override + public GL30 getGL30() { + return null; + } + + @Override + public void setGL30(GL30 gl30) { + } + @Override public int getWidth() { return canvas.getWidth(); @@ -524,16 +545,6 @@ public class GwtGraphics implements Graphics { return isFullscreenJSNI(); } - @Override - public boolean isGL30Available() { - return false; - } - - @Override - public GL30 getGL30() { - return null; - } - @Override public Cursor newCursor(Pixmap pixmap, int xHotspot, int yHotspot) { return new GwtCursor(pixmap, xHotspot, yHotspot);