[QT]: Implement frame_interpolation to PC
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
This commit is contained in:
parent
15a9194785
commit
40df7e314b
3 changed files with 8 additions and 10 deletions
|
@ -70,9 +70,6 @@ enum class BooleanSetting(override val key: String) : AbstractBooleanSetting {
|
||||||
|
|
||||||
external fun isRaiiEnabled(): Boolean
|
external fun isRaiiEnabled(): Boolean
|
||||||
|
|
||||||
// external fun isFrameSkippingEnabled(): Boolean
|
|
||||||
external fun isFrameInterpolationEnabled(): Boolean
|
|
||||||
|
|
||||||
override fun getBoolean(needsGlobal: Boolean): Boolean =
|
override fun getBoolean(needsGlobal: Boolean): Boolean =
|
||||||
NativeConfig.getBoolean(key, needsGlobal)
|
NativeConfig.getBoolean(key, needsGlobal)
|
||||||
|
|
||||||
|
|
|
@ -910,7 +910,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
|
||||||
if (BooleanSetting.SHOW_FPS.getBoolean(needsGlobal)) {
|
if (BooleanSetting.SHOW_FPS.getBoolean(needsGlobal)) {
|
||||||
val enableFrameInterpolation =
|
val enableFrameInterpolation =
|
||||||
BooleanSetting.FRAME_INTERPOLATION.getBoolean()
|
BooleanSetting.FRAME_INTERPOLATION.getBoolean()
|
||||||
// val enableFrameSkipping = BooleanSetting.FRAME_SKIPPING.getBoolean()
|
|
||||||
|
|
||||||
var fpsText = String.format("FPS: %.1f", actualFps)
|
var fpsText = String.format("FPS: %.1f", actualFps)
|
||||||
|
|
||||||
|
@ -918,10 +917,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
|
||||||
fpsText += " " + getString(R.string.enhanced_fps_suffix)
|
fpsText += " " + getString(R.string.enhanced_fps_suffix)
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (enableFrameSkipping) {
|
|
||||||
// fpsText += " " + getString(R.string.skipping_fps_suffix)
|
|
||||||
// }
|
|
||||||
|
|
||||||
sb.append(fpsText)
|
sb.append(fpsText)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -252,6 +252,12 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent)
|
||||||
"of available video memory for performance.\nHas no effect on integrated graphics. "
|
"of available video memory for performance.\nHas no effect on integrated graphics. "
|
||||||
"Aggressive mode may severely impact the performance of other applications such as "
|
"Aggressive mode may severely impact the performance of other applications such as "
|
||||||
"recording software."));
|
"recording software."));
|
||||||
|
INSERT(Settings,
|
||||||
|
frame_interpolation,
|
||||||
|
tr("Enhanced Frame Pacing"),
|
||||||
|
tr("Ensures smooth and consistent frame delivery by synchronizing the timing between frames, "
|
||||||
|
"reducing stuttering and uneven animation. Ideal for games that experience frame timing "
|
||||||
|
"instability or micro-stutters during gameplay."));
|
||||||
INSERT(Settings,
|
INSERT(Settings,
|
||||||
skip_cpu_inner_invalidation,
|
skip_cpu_inner_invalidation,
|
||||||
tr("Skip CPU Inner Invalidation"),
|
tr("Skip CPU Inner Invalidation"),
|
||||||
|
@ -341,14 +347,14 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent)
|
||||||
barrier_feedback_loops,
|
barrier_feedback_loops,
|
||||||
tr("Barrier feedback loops"),
|
tr("Barrier feedback loops"),
|
||||||
tr("Improves rendering of transparency effects in specific games."));
|
tr("Improves rendering of transparency effects in specific games."));
|
||||||
|
|
||||||
// Renderer (Extensions)
|
|
||||||
INSERT(Settings,
|
INSERT(Settings,
|
||||||
enable_raii,
|
enable_raii,
|
||||||
tr("RAII"),
|
tr("RAII"),
|
||||||
tr("A method of automatic resource management in Vulkan "
|
tr("A method of automatic resource management in Vulkan "
|
||||||
"that ensures proper release of resources "
|
"that ensures proper release of resources "
|
||||||
"when they are no longer needed, but may cause crashes in bundled games."));
|
"when they are no longer needed, but may cause crashes in bundled games."));
|
||||||
|
|
||||||
|
// Renderer (Extensions)
|
||||||
INSERT(Settings,
|
INSERT(Settings,
|
||||||
dyna_state,
|
dyna_state,
|
||||||
tr("Extended Dynamic State"),
|
tr("Extended Dynamic State"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue