Re: [PATCH weston v10 14/61] compositor-drm: Turn vblank_pending from bool to refcount

2017-04-07 Thread Pekka Paalanen
On Tue, 4 Apr 2017 17:54:32 +0100 Daniel Stone wrote: > vblank_pending is currently a bool, which is reset on every vblank > requests (i.e. sprite pageflip). This can occur more than once per > frame, so turn it into a callback, so we only fire frame-done when we've > collected all the events. >

[PATCH weston v10 14/61] compositor-drm: Turn vblank_pending from bool to refcount

2017-04-04 Thread Daniel Stone
vblank_pending is currently a bool, which is reset on every vblank requests (i.e. sprite pageflip). This can occur more than once per frame, so turn it into a callback, so we only fire frame-done when we've collected all the events. This fixes unexpected behaviour when multiple views per output ha