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
+2 -2
View File
@@ -37,7 +37,7 @@ namespace wivrn
{
struct encoder_settings;
struct wivrn_vk_bundle;
struct vk_bundle;
class wivrn_session;
inline const char * encoder_nvenc = "nvenc";
@@ -111,7 +111,7 @@ protected:
public:
static std::unique_ptr<video_encoder> create(
wivrn_vk_bundle &,
wivrn::vk_bundle &,
const encoder_settings & settings,
uint8_t stream_idx);