diff options
Diffstat (limited to 'runtime/shims/xbox_present.cpp')
| -rw-r--r-- | runtime/shims/xbox_present.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/runtime/shims/xbox_present.cpp b/runtime/shims/xbox_present.cpp index 56299afe2..6fbed007d 100644 --- a/runtime/shims/xbox_present.cpp +++ b/runtime/shims/xbox_present.cpp | |||
| @@ -154,15 +154,6 @@ HRESULT XboxPresentation::present_x(UINT plane_count, const XboxPresentPlanePara | |||
| 154 | return result; | 154 | return result; |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | { // LOCAL DIAGNOSTIC: what the first presents show | ||
| 158 | static std::atomic<int> shown{0}; | ||
| 159 | if (shown.fetch_add(1, std::memory_order_relaxed) < 8) | ||
| 160 | for (UINT i = 0; i < plane_count; ++i) | ||
| 161 | std::fprintf(stderr, "[rt] localdbg: PresentX plane %u/%u resource=%p count=%u src=%p dest=%p cs=%d flags=0x%x\n", | ||
| 162 | i, plane_count, planes[i].ppResources ? static_cast<void*>(planes[i].ppResources[0]) : nullptr, | ||
| 163 | planes[i].ResourceCount, static_cast<const void*>(planes[i].pSrcViewRects), | ||
| 164 | static_cast<const void*>(planes[i].pDestPlacementBase), planes[i].ColorSpace, planes[i].Flags); | ||
| 165 | } | ||
| 166 | // All planes carry the token of one frame. | 157 | // All planes carry the token of one frame. |
| 167 | const std::uint64_t token = planes[0].Token; | 158 | const std::uint64_t token = planes[0].Token; |
| 168 | for (UINT i = 0; i < plane_count; ++i) { | 159 | for (UINT i = 0; i < plane_count; ++i) { |