[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 isFrameSkippingEnabled(): Boolean
|
||||
external fun isFrameInterpolationEnabled(): Boolean
|
||||
|
||||
override fun getBoolean(needsGlobal: Boolean): Boolean =
|
||||
NativeConfig.getBoolean(key, needsGlobal)
|
||||
|
||||
|
|
|
@ -910,7 +910,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
|
|||
if (BooleanSetting.SHOW_FPS.getBoolean(needsGlobal)) {
|
||||
val enableFrameInterpolation =
|
||||
BooleanSetting.FRAME_INTERPOLATION.getBoolean()
|
||||
// val enableFrameSkipping = BooleanSetting.FRAME_SKIPPING.getBoolean()
|
||||
|
||||
var fpsText = String.format("FPS: %.1f", actualFps)
|
||||
|
||||
|
@ -918,10 +917,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
|
|||
fpsText += " " + getString(R.string.enhanced_fps_suffix)
|
||||
}
|
||||
|
||||
// if (enableFrameSkipping) {
|
||||
// fpsText += " " + getString(R.string.skipping_fps_suffix)
|
||||
// }
|
||||
|
||||
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. "
|
||||
"Aggressive mode may severely impact the performance of other applications such as "
|
||||
"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,
|
||||
skip_cpu_inner_invalidation,
|
||||
tr("Skip CPU Inner Invalidation"),
|
||||
|
@ -341,14 +347,14 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent)
|
|||
barrier_feedback_loops,
|
||||
tr("Barrier feedback loops"),
|
||||
tr("Improves rendering of transparency effects in specific games."));
|
||||
|
||||
// Renderer (Extensions)
|
||||
INSERT(Settings,
|
||||
enable_raii,
|
||||
tr("RAII"),
|
||||
tr("A method of automatic resource management in Vulkan "
|
||||
"that ensures proper release of resources "
|
||||
"when they are no longer needed, but may cause crashes in bundled games."));
|
||||
|
||||
// Renderer (Extensions)
|
||||
INSERT(Settings,
|
||||
dyna_state,
|
||||
tr("Extended Dynamic State"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue