<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <application
        android:hasCode="true"
        android:label="${appLabel}"
        android:theme="@style/Theme.MobileGLPlugin">

        <activity
            android:name=".PostActivity"
            android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
            android:exported="true"
            android:theme="@style/Theme.MobileGLPlugin">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name=".PluginActivity"
            android:exported="true"
            android:theme="@style/Theme.MobileGLPlugin.NoDisplay" />

        <!-- One benchmark run per process: the backend is latched at MobileGL
             init and Espryt teardown kills the process-default EGL display, so
             the bench must never share a process with the POST UI. The service
             exits after each run. -->
        <service
            android:name=".BenchService"
            android:exported="false"
            android:process=":bench" />

        <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_coherent_as_flush_title"
            android:resource="@string/mobilegl_coherent_as_flush_title" />
        <meta-data
            android:name="mobilegl_use_angle_title"
            android:resource="@string/mobilegl_use_angle_title" />

        <meta-data
            android:name="fclPlugin"
            android:value="true" />
        <meta-data
            android:name="des"
            android:value="${des}" />
        <meta-data
            android:name="renderer"
            android:value="${renderer}" />
        <meta-data
            android:name="boatEnv"
            android:value="${boatEnv}" />
        <meta-data
            android:name="pojavEnv"
            android:value="${pojavEnv}" />
    </application>

</manifest>
