[Refactor] (Android plugin): unify renderer APK with Plugin V2 DSL

This commit is contained in:
2026-07-14 23:37:21 -04:00
parent 15580ff6a6
commit 7ebaf43282
11 changed files with 425 additions and 253 deletions
@@ -22,6 +22,31 @@
android:exported="true"
android:theme="@style/Theme.MobileGLPlugin.NoDisplay" />
<meta-data
android:name="fclPlugin_V2"
android:resource="@string/config" />
<meta-data
android:name="mobilegl_backend_type_title"
android:resource="@string/mobilegl_backend_type_title" />
<meta-data
android:name="mobilegl_disable_timerquery_title"
android:resource="@string/mobilegl_disable_timerquery_title" />
<meta-data
android:name="mobilegl_disable_subgroup_title"
android:resource="@string/mobilegl_disable_subgroup_title" />
<meta-data
android:name="mobilegl_magma_r11g11b10f_fallback_title"
android:resource="@string/mobilegl_magma_r11g11b10f_fallback_title" />
<meta-data
android:name="mobilegl_magma_frames_inflight_title"
android:resource="@string/mobilegl_magma_frames_inflight_title" />
<meta-data
android:name="mobilegl_avoid_sampler_mipmap_min_filter_title"
android:resource="@string/mobilegl_avoid_sampler_mipmap_min_filter_title" />
<meta-data
android:name="mobilegl_use_angle_title"
android:resource="@string/mobilegl_use_angle_title" />
<meta-data
android:name="fclPlugin"
android:value="true" />
@@ -1,4 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">MobileGL</string>
<string name="mobilegl_backend_type_title">Rendering backend</string>
<string name="mobilegl_disable_timerquery_title">Disable GPU timer queries</string>
<string name="mobilegl_disable_subgroup_title">Disable Vulkan shader subgroups</string>
<string name="mobilegl_magma_r11g11b10f_fallback_title">Use Magma R11G11B10F fallback</string>
<string name="mobilegl_magma_frames_inflight_title">Magma frames in flight (1-64)</string>
<string name="mobilegl_avoid_sampler_mipmap_min_filter_title">Avoid sampler mipmap minification filters</string>
<string name="mobilegl_use_angle_title">Use ANGLE GLES libraries</string>
<string name="mobilegl_default_backend" translatable="false">DirectGLES</string>
</resources>
@@ -1,7 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<application>
<activity
android:name=".PluginActivity"
tools:node="remove" />
<activity
android:name=".PostActivity"
tools:node="remove" />
<meta-data
android:name="fclPlugin"
tools:node="remove" />
<meta-data
android:name="fclPlugin_V2"
tools:node="remove" />
<meta-data
android:name="mobilegl_backend_type_title"
tools:node="remove" />
<meta-data
android:name="mobilegl_disable_timerquery_title"
tools:node="remove" />
<meta-data
android:name="mobilegl_disable_subgroup_title"
tools:node="remove" />
<meta-data
android:name="mobilegl_magma_r11g11b10f_fallback_title"
tools:node="remove" />
<meta-data
android:name="mobilegl_magma_frames_inflight_title"
tools:node="remove" />
<meta-data
android:name="mobilegl_avoid_sampler_mipmap_min_filter_title"
tools:node="remove" />
<meta-data
android:name="mobilegl_use_angle_title"
tools:node="remove" />
<meta-data
android:name="des"
tools:node="remove" />
<meta-data
android:name="renderer"
tools:node="remove" />
<meta-data
android:name="boatEnv"
tools:node="remove" />
<meta-data
android:name="pojavEnv"
tools:node="remove" />
<activity
android:name=".trace.TraceReplayActivity"
android:exported="true"