mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-27 05:44:21 +01:00
nvdisp: End system frame after requesting to swap buffers
Fixes frametime reporting
This commit is contained in:
parent
11e1cbbdbd
commit
903705043d
@ -50,8 +50,8 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, android::PixelFormat form
|
|||||||
const Tegra::FramebufferConfig framebuffer{addr, offset, width, height,
|
const Tegra::FramebufferConfig framebuffer{addr, offset, width, height,
|
||||||
stride, format, transform, crop_rect};
|
stride, format, transform, crop_rect};
|
||||||
|
|
||||||
system.GetPerfStats().EndSystemFrame();
|
|
||||||
system.GPU().RequestSwapBuffers(&framebuffer, fences, num_fences);
|
system.GPU().RequestSwapBuffers(&framebuffer, fences, num_fences);
|
||||||
|
system.GetPerfStats().EndSystemFrame();
|
||||||
system.SpeedLimiter().DoSpeedLimiting(system.CoreTiming().GetGlobalTimeUs());
|
system.SpeedLimiter().DoSpeedLimiting(system.CoreTiming().GetGlobalTimeUs());
|
||||||
system.GetPerfStats().BeginSystemFrame();
|
system.GetPerfStats().BeginSystemFrame();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user