Louis-Francis Ratté-Boulianne
e2ef3b44fa
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 >
2018-03-05 13:27:32 -05:00
..
2009-11-11 21:40:20 -08:00
2013-11-11 15:16:07 -08:00
2014-07-17 10:19:52 -07:00
2012-03-21 13:54:42 -07:00
2014-01-12 10:24:11 -08:00
2014-11-12 10:25:00 +10:00
2015-07-08 16:40:57 -04:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2015-06-30 12:17:51 +10:00
2014-11-12 10:25:00 +10:00
2016-02-29 16:28:57 -05:00
2009-01-30 16:36:45 -08:00
2018-02-02 15:28:46 -05:00
2017-11-06 17:22:46 -05:00
2012-03-21 13:54:42 -07:00
2012-05-14 13:31:00 +01:00
2016-07-18 15:25:59 -04:00
2016-07-18 15:25:59 -04:00
2014-07-17 10:19:52 -07:00
2017-10-24 15:53:28 -04:00
2012-11-19 12:12:23 +10:00
2018-02-19 13:14:43 -05:00
2018-02-19 13:14:43 -05:00
2012-05-17 08:50:44 +10:00
2014-11-12 10:25:00 +10:00
2018-02-14 17:04:48 -05:00
2017-06-20 16:37:24 -04:00
2014-11-12 10:25:00 +10:00
2017-03-17 15:14:42 -04:00
2018-01-22 17:28:12 -05:00
2018-02-14 17:04:48 -05:00
2018-02-14 17:04:35 -05:00
2014-07-17 17:10:48 -07:00
2017-02-27 09:25:08 +10:00
2018-01-22 17:28:12 -05:00
2015-11-24 11:36:32 +10:00
2018-02-12 08:09:53 +10:00
2018-02-14 17:04:35 -05:00
2018-03-02 12:05:49 -05:00
2017-10-30 13:44:34 -04:00
2014-11-12 10:25:00 +10:00
2015-03-16 16:56:17 +00:00
2015-08-24 00:00:18 -07:00
2012-03-21 13:54:42 -07:00
2017-05-10 15:08:27 -04:00
2017-08-15 17:01:39 +09:00
2017-08-15 17:01:39 +09:00
2017-03-21 11:20:26 -04:00
2015-02-10 18:14:44 -08:00
2017-02-23 13:30:11 -05:00
2014-11-12 10:25:00 +10:00
2018-03-05 13:27:32 -05:00
2012-05-16 10:59:35 +10:00
2014-11-12 10:25:00 +10:00
2015-01-23 10:35:49 -08:00
2014-09-22 12:00:46 -07:00
2015-09-01 20:11:26 -07:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2017-08-15 17:01:39 +09:00
2014-11-12 10:25:00 +10:00
2015-05-07 14:03:50 -04:00
2014-11-12 10:25:00 +10:00
2015-07-08 16:40:57 -04:00
2015-07-08 16:40:57 -04:00
2014-05-05 07:26:33 +10:00
2012-03-21 13:54:42 -07:00
2009-04-14 10:35:44 -04:00
2016-03-01 11:25:59 -05:00
2016-02-22 13:26:31 -05:00
2015-07-08 16:41:28 -04:00
2012-03-21 13:54:42 -07:00
2011-12-05 14:32:45 -08:00
2014-11-12 10:25:00 +10:00
2014-02-04 10:53:59 +10:00
2017-10-24 15:53:28 -04:00
2014-11-12 10:25:00 +10:00
2017-05-03 15:44:06 -04:00
2017-04-26 15:25:27 -07:00
2017-11-06 17:22:46 -05:00
2012-05-03 14:59:23 +10:00
2017-04-26 17:30:12 -04:00
2012-10-30 15:11:10 +10:00
2014-11-12 10:25:00 +10:00
2014-06-02 13:07:46 +01:00
2017-06-02 09:32:35 -07:00