summaryrefslogtreecommitdiff
path: root/Source/Android/res/xml/video_prefs.xml
blob: 311c6ce8a9ae1957770605e18f8dd28674c3d237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
    
    <!-- Video Settings -->


    <!-- Video Enhancements -->
    <PreferenceScreen android:title="@string/enhancements">

        <ListPreference
            android:entries="@array/internalResolutionEntries"
            android:entryValues="@array/internalResolutionValues"
            android:key="internalResolution"
            android:summary="@string/internal_resolution_descrip"
            android:title="@string/internal_resolution"/>

        <ListPreference 
            android:entries="@array/anisotropicFilteringEntries"
            android:entryValues="@array/anisotropicFilteringValues"
            android:key="anisotropicFiltering"
            android:summary="@string/anisotropic_filtering_descrip"
            android:title="@string/anisotropic_filtering"/>

        <CheckBoxPreference
            android:defaultValue="true"
            android:key="scaledEFBCopy"
            android:summary="@string/scaled_efb_copy_descrip"
            android:title="@string/scaled_efb_copy"/>

        <CheckBoxPreference
            android:defaultValue="false"
            android:key="perPixelLighting"
            android:summary="@string/per_pixel_lighting_descrip"
            android:title="@string/per_pixel_lighting"/>

        <CheckBoxPreference
            android:defaultValue="false"
            android:key="forceTextureFiltering"
            android:summary="@string/force_texture_filtering_descrip"
            android:title="@string/force_texture_filtering"/>

        <CheckBoxPreference
            android:defaultValue="false"
            android:key="disableFog"
            android:summary="@string/disable_fog_descrip"
            android:title="@string/disable_fog"/>

    </PreferenceScreen>

    <!-- Video Hacks -->
    <PreferenceScreen android:title="@string/hacks">
        <PreferenceCategory android:title="@string/embedded_frame_buffer">

         <CheckBoxPreference
             android:defaultValue="false"
             android:key="skipEFBAccess"
             android:summary="@string/skip_efb_access_descrip"
             android:title="@string/skip_efb_access"/>

         <CheckBoxPreference
             android:defaultValue="true"
             android:key="ignoreFormatChanges"
             android:summary="@string/ignore_format_changes_descrip" 
             android:title="@string/ignore_format_changes"/>

         <ListPreference
             android:defaultValue="Texture"
             android:entries="@array/efbCopyMethodEntries"
             android:entryValues="@array/efbCopyMethodValues"
             android:key="efbCopyMethod"
             android:summary="@string/efb_copy_method_descrip"
             android:title="@string/efb_copy_method"/>

     </PreferenceCategory>

        <!-- Texture Cache -->
        <PreferenceCategory android:title="@string/texture_cache">
         <ListPreference
             android:defaultValue="Low"
             android:entries="@array/textureCacheAccuracyEntries"
             android:entryValues="@array/textureCacheAccuracyValues"
             android:key="textureCacheAccuracy"
             android:summary="@string/texture_cache_accuracy_descrip"
             android:title="@string/texture_cache_accuracy"/>
        </PreferenceCategory>

        <!-- External Frame Buffer -->
        <PreferenceCategory android:title="@string/external_frame_buffer">
        <ListPreference
            android:defaultValue="Disabled"
            android:entries="@array/externalFrameBufferEntries"
            android:entryValues="@array/externalFrameBufferValues"
            android:key="externalFrameBuffer"
            android:summary="@string/external_frame_buffer_descrip"
            android:title="@string/external_frame_buffer"/>
        </PreferenceCategory>


        <!-- Other Hacks -->
        <PreferenceCategory android:title="@string/other">

            <CheckBoxPreference
                android:defaultValue="false"
                android:key="cacheDisplayLists"
                android:summary="@string/cache_display_lists_descrip"
                android:title="@string/cache_display_lists"/>

            <CheckBoxPreference
                android:defaultValue="false"
                android:key="disableDestinationAlpha"
                android:summary="@string/disable_destination_alpha_descrip"
                android:title="@string/disable_destination_alpha"/>

            <CheckBoxPreference 
                android:defaultValue="true"
                android:key="fastDepthCalculation"
                android:summary="@string/fast_depth_calculation_descrip"
                android:title="@string/fast_depth_calculation"/>

        </PreferenceCategory>
    </PreferenceScreen>

    <ListPreference
       android:key="gpuPref"
       android:summary="@string/video_backend_to_use"
       android:title="@string/video_backend" />

    <CheckBoxPreference
       android:key="showFPS"
       android:summary="@string/show_fps_descrip"
       android:title="@string/show_fps"/>
    <!--
    <CheckBoxPreference
        android:defaultValue="true"
        android:key="drawOnscreenControls"
        android:title="@string/draw_onscreen_controls"/>
        -->
</PreferenceScreen>