42 std::function<void(
const std::shared_ptr<void>&, uint32_t, uint32_t)>
resize_surface;
93 std::function<
void*(
const std::shared_ptr<void>&)> get_current_image_view;
127 const std::shared_ptr<void>& window_handle,
131 uint32_t pixel_width,
132 uint32_t pixel_height,
154 std::function<
void*(
const std::shared_ptr<void>&)> get_depth_image_view;
175 std::function<std::shared_ptr<std::vector<uint8_t>>(
176 const std::shared_ptr<void>& window_handle)>
193 std::function<uint32_t(
194 const std::shared_ptr<void>& window_handle,
196 const std::shared_ptr<std::vector<uint8_t>>&,
197 uint32_t, uint32_t, uint32_t)>)>
208 std::function<void(
const std::shared_ptr<void>&, uint32_t)>
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< 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.