mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-16 22:43:24 +09:00
[Feature] (Present): buffer age and swap damage end to end on Espryt and Magma
This commit is contained in:
@@ -1186,6 +1186,7 @@ namespace MobileGL::MG_Remote::Client {
|
||||
// With run-ahead disarmed this is a counter and nothing else, and the record below
|
||||
// travels exactly as it did - the present row's own barrier is the pacing there.
|
||||
record.FrameSerial = session.AcquirePresentCredit();
|
||||
record.DamageCount = session.TakePendingPresentDamage(record.Damage);
|
||||
session.EmitAndWait(MG_Pipe::MGPWireOp::Present, &record, sizeof(record), nullptr, 0,
|
||||
nullptr, 0, nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user