fix mali gpu crash, optimize gpu and PCM buffer boundries, reduce gpu memory pressure by 100mb

This commit is contained in:
Boof2015
2026-07-30 18:08:51 -04:00
parent e2934dbf5c
commit 54732c8b85
7 changed files with 411 additions and 77 deletions
+8
View File
@@ -16,6 +16,7 @@ android {
defaultConfig {
versionCode 1
versionName "0.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
cppFlags "-O3 -std=c++17 -fexceptions -frtti"
@@ -24,6 +25,11 @@ android {
}
}
}
packagingOptions {
jniLibs {
pickFirsts += ["**/libc++_shared.so"]
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
@@ -36,4 +42,6 @@ android {
dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test:runner:1.6.2'
}