Implement main compositor

Replace the patches to Monado's main compositor with a local
implementation, reusing code when relevant.

The layer squasher is very close to comp_render_cs, while distortion is
completely replaced by foveation.
This commit is contained in:
Patrick Nicolas
2026-03-31 09:06:27 +02:00
parent b2f95938e6
commit 22a819b8c8
60 changed files with 3147 additions and 3680 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class video_encoder_raw : public video_encoder
std::array<buffer_allocation, num_slots> buffers;
public:
video_encoder_raw(wivrn_vk_bundle & vk, const encoder_settings & settings, uint8_t stream_idx);
video_encoder_raw(wivrn::vk_bundle & vk, const encoder_settings & settings, uint8_t stream_idx);
std::pair<bool, vk::Semaphore> present_image(vk::Image y_cbcr, bool transferred, vk::raii::CommandBuffer & cmd_buf, uint8_t slot, uint64_t frame_index) override;