[PR #512] [CLOSED] xbox_present: record measured Device (78-81) and Queue (23, 24, 32) vtable slots #561

Closed
opened 2026-11-26 20:18:18 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/512
Author: @kotekompotek
Created: 11/24/2026
Status: ❌ Closed

Base: main ← Head: work/xbox-present-measured-slots


📝 Commits (2)

  • af9baf0 xbox_present: record measured Device (78-81) and Queue (23, 24, 32) vtable slots
  • b9ffaa5 xbox_present: add 1.0.2.1 call-site provenance and align README/docs

📊 Changes

3 files changed (+28 additions, -18 deletions)

View changed files

📝 docs/d3d12_command_objects.md (+4 -4)
📝 runtime/README.md (+2 -3)
📝 runtime/shims/xbox_present.h (+22 -11)

📄 Description

Records the measured Xbox GDKX 0-based vtable slots in runtime/shims/xbox_present.h (both in the slot table comment and as inline constexpr unsigned constants in namespace rt::d3d12):

  • ID3D12Device (Xbox): SetFrameIntervalX = 78 (0x270), ScheduleFrameEventX = 79 (0x278), WaitFrameEventX = 80 (0x280), GetFrameStatisticsX = 81 (0x288)
  • ID3D12CommandQueue (Xbox): SuspendX = 23 (0x0b8), ResumeX = 24 (0x0c0), PresentX = 32 (0x100)

Verified locally with cmake --build ... --target xbox_present_test xbox_present_readback_size_test and ctest -R xbox_present (2/2 Passed).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/512 **Author:** [@kotekompotek](https://github.com/kotekompotek) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `work/xbox-present-measured-slots` --- ### 📝 Commits (2) - [`af9baf0`](https://github.com/ubiquitarianism/leonida/commit/af9baf0f7ce33e8226a4759b34d52a775bd9d7c0) xbox_present: record measured Device (78-81) and Queue (23, 24, 32) vtable slots - [`b9ffaa5`](https://github.com/ubiquitarianism/leonida/commit/b9ffaa5159a14ac22c851bd12931aa83769b3cd5) xbox_present: add 1.0.2.1 call-site provenance and align README/docs ### 📊 Changes **3 files changed** (+28 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `docs/d3d12_command_objects.md` (+4 -4) 📝 `runtime/README.md` (+2 -3) 📝 `runtime/shims/xbox_present.h` (+22 -11) </details> ### 📄 Description Records the measured Xbox GDKX 0-based vtable slots in `runtime/shims/xbox_present.h` (both in the slot table comment and as `inline constexpr unsigned` constants in `namespace rt::d3d12`): - `ID3D12Device` (Xbox): `SetFrameIntervalX = 78` (`0x270`), `ScheduleFrameEventX = 79` (`0x278`), `WaitFrameEventX = 80` (`0x280`), `GetFrameStatisticsX = 81` (`0x288`) - `ID3D12CommandQueue` (Xbox): `SuspendX = 23` (`0x0b8`), `ResumeX = 24` (`0x0c0`), `PresentX = 32` (`0x100`) Verified locally with `cmake --build ... --target xbox_present_test xbox_present_readback_size_test` and `ctest -R xbox_present` (`2/2 Passed`). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:18:18 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#561
No description provided.