Android: Add texture filter options

This commit is contained in:
Connor McLaughlin 2020-09-13 14:35:58 +10:00
parent 2bed670144
commit 4a263e4ec1
2 changed files with 19 additions and 5 deletions

View file

@ -93,6 +93,18 @@
<item>1:1</item>
<item>PAR 1:1</item>
</string-array>
<string-array name="settings_gpu_texture_filter_names">
<item>Nearest-Neighbor</item>
<item>Bilinear</item>
<item>JINC2</item>
<item>xBR</item>
</string-array>
<string-array name="settings_gpu_texture_filter_values">
<item>Nearest</item>
<item>Bilinear</item>
<item>JINC2</item>
<item>xBR</item>
</string-array>
<string-array name="settings_controller_type_entries">
<item>Digital Controller (Gamepad)</item>
<item>Analog Controller (DualShock)</item>

View file

@ -124,11 +124,13 @@
app:defaultValue="true"
app:summary="Forces the rendering and display of frames to progressive mode. This removes the &quot;combing&quot; effect seen in 480i games by rendering them in 480p. Usually safe to enable." />
<SwitchPreferenceCompat
app:key="GPU/TextureFiltering"
app:title="Bilinear Texture Filtering"
app:defaultValue="false"
app:summary="Smooths out the blockyness of magnified textures on 3D object by using bilinear filtering. Will have a greater effect on higher resolution scales. Only applies to the hardware renderers." />
<ListPreference
app:key="GPU/TextureFilter"
app:title="Texture Filtering"
app:entries="@array/settings_gpu_texture_filter_names"
app:entryValues="@array/settings_gpu_texture_filter_values"
app:defaultValue="Nearest"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat
app:key="GPU/ForceNTSCTimings"