Skip to content

Commit

Permalink
Merge branch 'main' into dynamic-texture-atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcristici authored Feb 26, 2025
2 parents 9d51e87 + 2af1bb7 commit ac7228e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
8 changes: 8 additions & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@ bazel-bin
bazel-out
bazel-testlogs
node_modules
.git
.cache
.idea
.vscode
build
/build-*
node_modules
.cxx
13 changes: 2 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
/mapbox-gl-native-android/MapLibreAndroid/mapbox-gl-native
/mapbox-gl-native-android/MapLibreAndroidTestApp/mapbox-gl-native
/platform/android/MapLibreAndroidTestApp/src/main/res/values/developer-config.xml

/platform/android/gradle/configuration.gradle
/platform/android/arm64-v8a
/platform/android/armeabi-v7a
/platform/android/MapLibreAndroid/.cxx
/platform/android/MapLibreAndroid/build
/platform/android/MapLibrePlugin/build
/platform/android/MapLibreAndroidTestApp/.cxx
/platform/android/MapLibreAndroidTestApp/build
/platform/android/buildSrc/build
/platform/android/x86
/platform/android/x86_64
/cmake-build-debug
/platform/android/build
/platform/android/MapLibreAndroid/src/main/assets/sdk_versions/com.mapbox.mapboxsdk
/platform/ios/platform/ios/Mapbox.playground/build/
/platform/windows/vendor/mesa3d/
*.code-workspace

Expand All @@ -35,14 +30,11 @@ compile_commands.json
/platform/android/signing-key.text
/platform/android/.java-version
*.hprof
/platform/ios/platform/ios/benchmark/assets/tiles/tiles
/platform/ios/platform/ios/benchmark/assets/glyphs/Roboto Regular,Noto Sans Regular
/platform/ios/platform/ios/benchmark/assets/glyphs/Roboto Medium,Noto Sans Regular
/platform/ios/platform/ios/benchmark/assets/glyphs/Roboto Condensed Italic,Noto Sans Italic
/platform/ios/platform/ios/benchmark/assets/glyphs/Noto Sans Regular
/platform/android/key.json
/platform/android/site
node_modules
.cxx

# Node binaries.
/lib

Expand All @@ -59,5 +51,4 @@ __generated__
cache.sqlite
cache.sqlite-journal
out.png
/test/android/app/.cxx
/test/android/app/build
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ public VulkanTextureViewRenderThread(@NonNull TextureView textureView, @NonNull
super(textureView, mapRenderer);
}

void cleanup() {
if (surface == null) {
return;
}

mapRenderer.onSurfaceDestroyed();
surface.release();
surface = null;
}

// Thread implementation

@Override
Expand Down Expand Up @@ -121,6 +131,7 @@ public void run() {

// Signal we're done
synchronized (lock) {
cleanup();
this.exited = true;
lock.notifyAll();
}
Expand Down
1 change: 1 addition & 0 deletions platform/node/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/lib

0 comments on commit ac7228e

Please sign in to comment.