Skip to content

Commit

Permalink
Merge pull request #5 from SolDev69/freedreno
Browse files Browse the repository at this point in the history
idk how to do this outside of pr
  • Loading branch information
SolDev69 authored Nov 23, 2023
2 parents efd4c53 + 054adf4 commit 38d0b09
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app_pojavlauncher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ android {

buildTypes {
debug {
applicationIdSuffix '.debug'
applicationIdSuffix '.debug.freedreno'
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.customDebug
resValue 'string', 'application_package', 'net.kdt.pojavlaunch.debug'
resValue 'string', 'storageProviderAuthorities', 'net.kdt.pojavlaunch.scoped.gamefolder.debug'
resValue 'string', 'shareProviderAuthority', 'net.kdt.pojavlaunch.scoped.controlfolder.debug'
resValue 'string', 'application_package', 'net.kdt.pojavlaunch.debug.freedreno'
resValue 'string', 'storageProviderAuthorities', 'net.kdt.pojavlaunch.scoped.gamefolder.debug.freedreno'
resValue 'string', 'shareProviderAuthority', 'net.kdt.pojavlaunch.scoped.controlfolder.debug.freedreno'
}
proguard {
initWith debug
Expand Down
1 change: 1 addition & 0 deletions app_pojavlauncher/src/main/jni/egl_bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ int pojavInitOpenGL() {
} else if (strcmp(renderer, "adrhw_freedreno") == 0) {
pojav_environ->config_renderer = RENDERER_VK_ZINK;
setenv("GALLIUM_DRIVER", "freedreno", 1);
setenv("MESA_LOADER_DRIVER_OVERRIDE", "kgsl", 1);
set_osm_bridge_tbl();
}
if(br_init()) {
Expand Down
Binary file modified app_pojavlauncher/src/main/jniLibs/arm64-v8a/libOSMesa_fd.so
Binary file not shown.

0 comments on commit 38d0b09

Please sign in to comment.