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>1:1</item>
<item>PAR 1:1</item> <item>PAR 1:1</item>
</string-array> </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"> <string-array name="settings_controller_type_entries">
<item>Digital Controller (Gamepad)</item> <item>Digital Controller (Gamepad)</item>
<item>Analog Controller (DualShock)</item> <item>Analog Controller (DualShock)</item>

View File

@ -124,11 +124,13 @@
app:defaultValue="true" 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." /> 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 <ListPreference
app:key="GPU/TextureFiltering" app:key="GPU/TextureFilter"
app:title="Bilinear Texture Filtering" app:title="Texture Filtering"
app:defaultValue="false" app:entries="@array/settings_gpu_texture_filter_names"
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." /> app:entryValues="@array/settings_gpu_texture_filter_values"
app:defaultValue="Nearest"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:key="GPU/ForceNTSCTimings" app:key="GPU/ForceNTSCTimings"