[TEST] Miscellaneous changes on Vsycing

This commit is contained in:
CamilleLaVey
2026-08-05 18:35:11 -04:00
committed by crueter
parent 63e33f37f6
commit 13f48a56ad
3 changed files with 3 additions and 2 deletions
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<game-mode-config
xmlns:android="http://schemas.android.com/apk/res/android"
android:supportsBatteryGameMode="true"
android:supportsBatteryGameMode="false"
android:supportsPerformanceGameMode="true"
android:allowGameDownscaling="false"
android:allowGameFpsOverride="false"/>
@@ -91,7 +91,6 @@ void nvdisp_disp0::Composite(std::span<const Nvnflinger::HwcLayer> sorted_layers
system.SpeedLimiter().DoSpeedLimiting(system.CoreTiming().GetGlobalTimeUs());
system.GetPerfStats().EndSystemFrame();
system.GetPerfStats().BeginSystemFrame();
Common::ADPF::BeginFrameWork();
}
void nvdisp_disp0::WaitForComposite() {
+2
View File
@@ -70,6 +70,8 @@ void Conductor::UnlinkVsyncEvent(u64 display_id, Event* event) {
}
void Conductor::ProcessVsync() {
Common::ADPF::BeginFrameWork();
Common::PollThreadPolicies();
Common::ADPF::SetTargetWorkDuration(std::chrono::nanoseconds{this->GetNextTicks()});