42 std::function<void(
const std::shared_ptr<void>&, uint32_t, uint32_t)>
resize_surface;
114 std::function<
void*(
const std::shared_ptr<void>&)> get_current_image_view;
148 const std::shared_ptr<void>& window_handle,
152 uint32_t pixel_width,
153 uint32_t pixel_height,
175 std::function<
void*(
const std::shared_ptr<void>&)> get_depth_image_view;
196 std::function<std::shared_ptr<std::vector<uint8_t>>(
197 const std::shared_ptr<void>& window_handle)>
214 std::function<uint32_t(
215 const std::shared_ptr<void>& window_handle,
217 const std::shared_ptr<std::vector<uint8_t>>&,
218 uint32_t, uint32_t, uint32_t)>)>
229 std::function<void(
const std::shared_ptr<void>&, uint32_t)>
std::function< uint64_t(const std::shared_ptr< void > &)> get_completed_frame_count
Submitted frames of a window whose GPU work has finished.
std::function< bool(const std::shared_ptr< void > &window_handle, void *dst, uint32_t x_offset, uint32_t y_offset, uint32_t pixel_width, uint32_t pixel_height, size_t byte_count)> readback_swapchain_region
Copy a sub-rectangle of the last presented swapchain image into a caller-supplied host buffer.
std::function< void(const std::shared_ptr< void > &, uint32_t, uint32_t)> resize_surface
Resize rendering surface for a window.
std::function< int(const std::shared_ptr< void > &)> get_swapchain_format
Get actual swapchain format for a window.
std::function< uint64_t(const std::shared_ptr< void > &)> acquire_next_swapchain_image
Acquire the next swapchain image for a window.
std::function< void()> wait_idle
Wait for all GPU operations to complete.
std::function< void(const std::shared_ptr< void > &)> ensure_depth_attachment
Ensure a depth attachment image exists for the window.
std::function< void(const std::shared_ptr< void > &, uint32_t &, uint32_t &)> get_swapchain_extent
Get swapchain extent for a window.
std::function< uint32_t(const std::shared_ptr< void > &window_handle, std::function< void(const std::shared_ptr< std::vector< uint8_t > > &, uint32_t, uint32_t, uint32_t)>)> register_frame_observer
Register a per-frame observer for a window's captured frames.
std::function< uint64_t(const std::shared_ptr< void > &)> get_current_swapchain_image
Get the VkImage bits for the most recently acquired swapchain image.
std::function< uint64_t(const std::shared_ptr< void > &)> get_submitted_frame_count
Frames submitted for a window since it was registered.
std::function< void(const std::shared_ptr< void > &, uint32_t)> unregister_frame_observer
Unregister a previously registered per-frame observer.
std::function< uint32_t(const std::shared_ptr< void > &)> get_depth_format
Get depth image format for the window.
std::function< uint32_t(const std::shared_ptr< void > &)> get_swapchain_image_count
Get current swapchain image count.
std::function< void(const std::shared_ptr< void > &, uint64_t)> submit_and_present
Submit a primary command buffer and present the frame.
Backend display and presentation service interface.