upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/xbox_present_test.cpp
diff options
context:
space:
mode:
authorTauwni <102470988+Tauwni@users.noreply.github.com>2026-11-26 12:19:12 +0100
committerTauwni <102470988+Tauwni@users.noreply.github.com>2026-11-26 12:19:12 +0100
commitbeffaa9a476ca1b3dfd9cfa55e39eafbb1f5eec6 (patch)
tree32877805bf4eb46d9a89d5753db6b5a2b06dc845 /runtime/test/xbox_present_test.cpp
parentf29ca7bacae9507f83e8c56abdb604bd4efb4cf1 (diff)
parenta73a57e1339be072baf5522351c8ec7f1482b56b (diff)
Merge main into fix/null-descriptor-generated-dir
Diffstat (limited to 'runtime/test/xbox_present_test.cpp')
-rw-r--r--runtime/test/xbox_present_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/test/xbox_present_test.cpp b/runtime/test/xbox_present_test.cpp
index bc311a87e..5f026a61e 100644
--- a/runtime/test/xbox_present_test.cpp
+++ b/runtime/test/xbox_present_test.cpp
@@ -540,8 +540,9 @@ int main() {
540 } 540 }
541 EXPECT(grab(frame)); 541 EXPECT(grab(frame));
542 EXPECT(region_is(frame, 0, 0, width, height, {0, 0, 0}, 0)); 542 EXPECT(region_is(frame, 0, 0, width, height, {0, 0, 0}, 0));
543 // (The blank frame is a frame in flight like any other: with latency 1 the next wait needs it shown first.) 543 // (The blank frame is a frame in flight like any other, but at most `latency` frames are: with latency 1 it
544 EXPECT(xbox.pacer().frames_in_flight() == 2); // the first frame and the blank one 544 // replaces the first frame, which still waits for its vblank, and the next wait needs it shown first.)
545 EXPECT(xbox.pacer().frames_in_flight() == 1);
545 clock.advance_us(period); 546 clock.advance_us(period);
546 std::printf("0 planes (blank): ok\n"); 547 std::printf("0 planes (blank): ok\n");
547 548