mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Android: Add Performance Sample Window slider
This commit is contained in:
parent
f4f94396e9
commit
27e64e6855
@ -67,6 +67,8 @@ public enum IntSetting implements AbstractIntSetting
|
||||
GFX_STEREO_CONVERGENCE_PERCENTAGE(Settings.FILE_GFX, Settings.SECTION_STEREOSCOPY,
|
||||
"StereoConvergencePercentage", 100),
|
||||
|
||||
GFX_PERF_SAMP_WINDOW(Settings.FILE_GFX, Settings.SECTION_GFX_SETTINGS, "PerfSampWindowMS", 1000),
|
||||
|
||||
LOGGER_VERBOSITY(Settings.FILE_LOGGER, Settings.SECTION_LOGGER_OPTIONS, "Verbosity", 1),
|
||||
|
||||
WIIMOTE_1_SOURCE(Settings.FILE_WIIMOTE, "Wiimote1", "Source", 1),
|
||||
|
@ -905,6 +905,9 @@ public final class SettingsFragmentPresenter
|
||||
sl.add(new SwitchSetting(mContext, BooleanSetting.GFX_LOG_RENDER_TIME_TO_FILE,
|
||||
R.string.log_render_time_to_file,
|
||||
R.string.log_render_time_to_file_description));
|
||||
sl.add(new IntSliderSetting(mContext, IntSetting.GFX_PERF_SAMP_WINDOW,
|
||||
R.string.performance_sample_window, R.string.performance_sample_window_description, 0,
|
||||
10000, "ms"));
|
||||
}
|
||||
|
||||
private void addAdvancedGraphicsSettings(ArrayList<SettingsItem> sl)
|
||||
|
@ -328,6 +328,8 @@
|
||||
<string name="show_vtimes_description">Shows the average time in ms between each rendered frame alongside the standard deviation.</string>
|
||||
<string name="show_graphs">Show Performance Graphs</string>
|
||||
<string name="show_graphs_description">Shows frametime graph along with statistics as a representation of emulation performance.</string>
|
||||
<string name="performance_sample_window">Performance Sample Window</string>
|
||||
<string name="performance_sample_window_description">The amount of time the FPS and VPS counters will sample over. The higher the value, the more stable the FPS/VPS counter will be, but the slower it will be to update.</string>
|
||||
<string name="show_speed">Show % Speed</string>
|
||||
<string name="show_speed_description">Shows the % speed of emulation compared to full speed.</string>
|
||||
<string name="show_speed_colors">Show Speed Color</string>
|
||||
|
Loading…
Reference in New Issue
Block a user