Present and missed pageflips

2016-11-19 Thread davyaxel
Hi, I begun the discussion on irc, but thought it deserved to be on the mailing list. The discussion is also related to the FIFO extension that some are interested to add (for Vulkan for example). First to show the problem, lets describe a scenario with a problem currently: App rendering at 90

[RFC] DRI3/PRESENT Add a way to select whether to use scanout or not depending on needs

2016-06-06 Thread davyaxel
Hi, Currently when a buffer is presented with the Present extension, in case it meets all the criterias to be used for a flip, the Xserver asks the DDX to check the pixmap can be used for a flip (check_flip), and if yes, X schedules a flip. I guess *theoritically* (perhaps there may need a

Re: [PATCH] present: Fix Async swap logic

2015-11-04 Thread davyaxel
On 04/11/2015 11:01, Chris Wilson wrote: > On Wed, Nov 04, 2015 at 10:48:40AM +0100, Axel Davy wrote: >> >> >> Could you explain: >> . Why you increase target_msc when the Async option is requested ? > > It's the fallthrough path where the client requested an async swap but > we cannot perform one

Re: [PATCH 6/6] glamor: Add support for DRI3.

2014-02-24 Thread davyaxel
Hi, While for XWayland we want to provide our own dri3_open, we still want to have glamor enabling the dri3 support That is rather a GLAMOR_NO_DRI3_SETUP flag and +if (glamor_egl-dri3_capable !(glamor_priv-flags GLAMOR_NO_DRI3)) { +/* Tell the core that we have the interfaces

Re: [PATCH 00/10] xwayland ABI compat

2013-10-31 Thread davyaxel
Hi, the git diff between master + these ABI patches and xwayland branch, shows there are a few ABI changes remaining. This is due to recent patches on XWayland, that were pushed after these patches. They can be found here:

Re: Updates to the Present and DRI3 extension specifications

2013-10-20 Thread davyaxel
davya...@free.fr writes: I have a few comments to share. Thanks! In the context of XWayland, we may send the buffer to the Wayland compositor (when client asks Present Option Async), instead of doing a copy. I would like the specification to be clarified to include that the buffer may be

Re: Updates to the Present and DRI3 extension specifications

2013-10-20 Thread davyaxel
Here are some comments to complete my last message. and that the other layer also reports accurate MSC and UST times for the scanout process. Any PresentCompleteNotify events must be delayed until the scanout process has started for the indicated frame. For the moment it's not possible

Re: Updates to the Present and DRI3 extension specifications

2013-10-19 Thread davyaxel
Hi Keith, I have a few comments to share. ❄ ❄ ❄ ❄ ❄ ❄ ❄ 2.3 Capabilities Instead of requiring all drivers to support all Present features, I've added a set of per-CRTC capabilities. Here's the current set: PresentCapabilityAsync means that the target