upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/shims/xbox_present.cpp
diff options
context:
space:
mode:
authorAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 01:55:17 +0100
committerAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 05:28:06 +0100
commit4d62f48a5cd7f0133cccb83f55a763b587e64019 (patch)
tree4328b5bf677208acc1fd93e543ba91d10bf6f104 /runtime/shims/xbox_present.cpp
parent5ccbd36f3947feb39dc2095f071e82f9baa73022 (diff)
presenter: source rectangle, blank present, sRGB swapchain format, frame capture
VulkanPresenter::present takes an optional source rectangle (stretched to the window), present_blank clears the swapchain image, the swapchain format follows the source (an sRGB source gets an sRGB swapchain, every other a UNORM one), and enable_capture/read_back copy each presented frame to host memory for tests. Integer, block-compressed and multisampled sources are refused. WindowPresenter forwards all of it. Also renames the device-extension counters in create_vulkan_device_standalone that the merge left shadowing each other (C4456). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/xbox_present.cpp')
0 files changed, 0 insertions, 0 deletions