Skip to content

Commit 47427cc

Browse files
ci: rebuild pinned Vulkan renderer
1 parent b591d1a commit 47427cc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/virglrenderer-android/0016-pin-android-vulkan-load-group.patch.beforehostbuild‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
- lib->handle = dlopen("libvulkan.so.1", RTLD_NOW | RTLD_LOCAL);
88
+ int flags = RTLD_NOW | RTLD_LOCAL;
99
+#ifdef __ANDROID__
10-
+ /* Android Vulkan dependencies may own pthread-key destructors. Keep the
11-
+ * worker's load group mapped until process exit so those callbacks remain valid.
10+
+ /* Android's libvulkan load group may own pthread-key destructors. Keep it
11+
+ * mapped until worker process exit so those callbacks remain valid.
1212
+ */
1313
+ flags |= RTLD_NODELETE;
1414
+#endif

‎scripts/setup-android-sdk.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Rebuild the fork image when Android renderer toolchain inputs change.
3+
# Rebuild the fork image for Android renderer NDK 29 toolchain changes.
44

55
set -e -u
66

0 commit comments

Comments
 (0)