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:
@@ -48,7 +48,7 @@ class video_encoder_vulkan_h264 : public video_encoder_vulkan
|
||||
vk::VideoEncodeH264RateControlInfoKHR rate_control_h264;
|
||||
vk::VideoEncodeH264RateControlLayerInfoKHR rate_control_layer_h264;
|
||||
|
||||
video_encoder_vulkan_h264(wivrn_vk_bundle & vk,
|
||||
video_encoder_vulkan_h264(wivrn::vk_bundle & vk,
|
||||
const vk::VideoCapabilitiesKHR & video_caps,
|
||||
const vk::VideoEncodeCapabilitiesKHR & encode_caps,
|
||||
uint8_t stream_idx,
|
||||
@@ -63,7 +63,7 @@ protected:
|
||||
void send_idr_data() override;
|
||||
|
||||
public:
|
||||
static std::unique_ptr<video_encoder_vulkan_h264> create(wivrn_vk_bundle & vk,
|
||||
static std::unique_ptr<video_encoder_vulkan_h264> create(wivrn::vk_bundle & vk,
|
||||
const encoder_settings & settings,
|
||||
uint8_t stream_idx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user