Skip to content

Commit

Permalink
initial panfrost update testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Dec 21, 2023
1 parent 98f59cd commit cad42af
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,7 @@ public static void setJavaEnvironment(Activity activity, String jreHome) throws
envMap.put("LIBGL_ES", "3");
envMap.put("POJAVEXEC_EGL","libEGL_angle.so"); // Use ANGLE EGL
}
if(LOCAL_RENDERER.equals("malihw_panfrost")) {
envMap.put("POJAVEXEC_OSMESA", "libOSMesa_pan.so");
}
if(LOCAL_RENDERER.equals("adrhw_freedreno") || LOCAL_RENDERER.equals("swrast")) {
if(LOCAL_RENDERER.equals("malihw_panfrost") || LOCAL_RENDERER.equals("adrhw_freedreno") || LOCAL_RENDERER.equals("swrast")) {
envMap.put("POJAVEXEC_OSMESA", "libOSMesa.so");
}
}
Expand Down Expand Up @@ -454,7 +451,7 @@ public static String loadGraphicsLibrary(){
case "opengles2_5":
case "opengles3":
renderLibrary = "libgl4es_114.so"; break;
case "malihw_panfrost": renderLibrary = "libOSMesa_pan.so"; break;
case "malihw_panfrost":
case "swrast":
case "vulkan_zink":
case "adrhw_freedreno":
Expand Down
Binary file modified app_pojavlauncher/src/main/jniLibs/arm64-v8a/libOSMesa.so
Binary file not shown.
Binary file not shown.

0 comments on commit cad42af

Please sign in to comment.