|
|
|
@ -339,6 +339,17 @@ static bool add_connector(drmModeAtomicReq *req,
|
|
|
|
|
liftoff_layer_set_property(crtc->liftoff_composition_layer,
|
|
|
|
|
"FB_DAMAGE_CLIPS", state->fb_damage_clips);
|
|
|
|
|
|
|
|
|
|
if (state->primary_in_fence_fd >= 0) {
|
|
|
|
|
liftoff_layer_set_property(crtc->primary->liftoff_layer,
|
|
|
|
|
"IN_FENCE_FD", state->primary_in_fence_fd);
|
|
|
|
|
liftoff_layer_set_property(crtc->liftoff_composition_layer,
|
|
|
|
|
"IN_FENCE_FD", state->primary_in_fence_fd);
|
|
|
|
|
}
|
|
|
|
|
if (state->base->committed & WLR_OUTPUT_STATE_SIGNAL_TIMELINE) {
|
|
|
|
|
ok = ok && add_prop(req, crtc->id, crtc->props.out_fence_ptr,
|
|
|
|
|
(uintptr_t)&state->out_fence_fd);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (state->base->committed & WLR_OUTPUT_STATE_LAYERS) {
|
|
|
|
|
for (size_t i = 0; i < state->base->layers_len; i++) {
|
|
|
|
|
const struct wlr_output_layer_state *layer_state = &state->base->layers[i];
|
|
|
|
|