Re: [PATCH weston] clients/dmabuf-intel: use three buffers

2016-06-17 Thread Pekka Paalanen
On Mon, 13 Jun 2016 08:14:12 -0500 Yong Bakos wrote: > On Jun 13, 2016, at 6:17 AM, Pekka Paalanen wrote: > > > > From: Pekka Paalanen > > > > Use three buffers like simple-dmabuf-v4l instead of just two. > > > > This is required, because when a frame callback arrives, the just > > committed

Re: [PATCH weston] clients/dmabuf-intel: use three buffers

2016-06-13 Thread Pekka Paalanen
On Mon, 13 Jun 2016 08:14:12 -0500 Yong Bakos wrote: > On Jun 13, 2016, at 6:17 AM, Pekka Paalanen wrote: > > > > From: Pekka Paalanen > > > > Use three buffers like simple-dmabuf-v4l instead of just two. > > > > This is required, because when a frame callback arrives, the just > > committed

Re: [PATCH weston] clients/dmabuf-intel: use three buffers

2016-06-13 Thread Yong Bakos
On Jun 13, 2016, at 6:17 AM, Pekka Paalanen wrote: > > From: Pekka Paalanen > > Use three buffers like simple-dmabuf-v4l instead of just two. > > This is required, because when a frame callback arrives, the just > committed buffer is only on its way to the screen, while the previous > buffer i

[PATCH weston] clients/dmabuf-intel: use three buffers

2016-06-13 Thread Pekka Paalanen
From: Pekka Paalanen Use three buffers like simple-dmabuf-v4l instead of just two. This is required, because when a frame callback arrives, the just committed buffer is only on its way to the screen, while the previous buffer is still being scanned out. It will take for the page flip to complete