-
- Downloads
present: Send PresentCompleteModeSuboptimalCopy appropriately
Add 'check_flip2' hook for driver to let know the core about why flipping is not possible ('reason'). If it is because of unsupported buffer format/modifier, a PresentCompleteNotify event is sent to the client with the PresentCompleteModeSuboptimalCopy mode. v2: Check for PresentOptionSuboptimal and check driver version before using 'check_flip2'. v3: Only require one of 'check_flip' or 'check_flip2' to be implemented by the driver. Refactor reasons list to enum Signed-off-by:Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by:
Daniel Stone <daniels@collabora.com> Acked-by:
Keith Packard <keithp@keithp.com> Reviewed-by:
Adam Jackson <ajax@redhat.com>
Showing
- configure.ac 1 addition, 1 deletionconfigure.ac
- include/protocol-versions.h 1 addition, 1 deletioninclude/protocol-versions.h
- present/meson.build 1 addition, 1 deletionpresent/meson.build
- present/present.c 34 additions, 16 deletionspresent/present.c
- present/present.h 11 additions, 1 deletionpresent/present.h
- present/present_priv.h 2 additions, 0 deletionspresent/present_priv.h
Loading
Please register or sign in to comment