f6f2f20...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
present: Drop flip_idler member from present_vblank_rec
It's redundant with the pixmap member of struct xwl_present_event.
Acked-by: Olivier Fourdan <email address hidden>
212cfbc...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
xwayland/present: Use present_vblank_ptr instead of xwl_present_event*
Where the latter isn't really needed.
Acked-by: Olivier Fourdan <email address hidden>
fe8c785...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
xwayland/present: Fold xwl_present_release_event into _free_event
The only difference was unhooking from the vblank.event_queue list,
which is already done by xwl_present_flip_notify_vblank in
xwl_present_msc_bump.
31d2ebc...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
xwayland/present: Drop target_msc member from struct xwl_present_event
Use present_vblank_rec::exec_msc instead.
Acked-by: Olivier Fourdan <email address hidden>
495ec59...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
xwayland/present: Drop pending member from struct xwl_present_event
We are handling two cases here: the active flip or the pending flip.
For the pending flip (event->pending == TRUE), we called
xwl_present_release_pixmap.
For the active flip (event->pending == FALSE), we called
xwl_present_release_event. However, xwl_present_flip_notify_vblank
already unhooked event->vblank.event_queue. So this was effectively the
same as calling xwl_present_release_pixmap.
Acked-by: Olivier Fourdan <email address hidden>
f733404...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
xwayland/present: Drop list member from struct xwl_present_event
Use present_vblank_rec::event_queue instead.
The changes in xwl_present_execute shouldn't really be needed, since
we should never hit queue_vblank in present_execute_wait. But let's be
safe rather than sorry, plus this simplifies the code.
Acked-by: Olivier Fourdan <email address hidden>
aac31d2...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
xwayland/present: Drop exec_queue member from struct xwl_present_window
Doesn't serve any purpose anymore.
Acked-by: Olivier Fourdan <email address hidden>
f8c086b...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
xwayland/present: Fold xwl_present_event_notify into its caller
Can just call xwl_present_execute directly.
This allows dropping the window member from struct xwl_present_window as
well.
Acked-by: Olivier Fourdan <email address hidden>
c30f3d0...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
xwayland/present: Use exec_queue for deferring completion events
We clear the vblank->pixmap field, so next time xwl_present_execute
falls through to present_execute_post.
Acked-by: Olivier Fourdan <email address hidden>
4503c8d...
by
=?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>
xwayland/present: Fold xwl_present_idle_notify into its caller