Re: [PATCH weston 17/68] compositor-drm: Refactor destroy drm_fb function

2017-02-27 Thread Daniel Stone
Hi, On 21 February 2017 at 13:58, Pekka Paalanen wrote: > On Fri, 9 Dec 2016 19:57:32 + Daniel Stone wrote: >> diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c >> index af43a15..7dbfc6b 100644 >> --- a/libweston/compositor-drm.c >> +++ b/libweston/compositor-drm.c >> @@

Re: [PATCH weston 17/68] compositor-drm: Refactor destroy drm_fb function

2017-02-21 Thread Pekka Paalanen
On Fri, 9 Dec 2016 19:57:32 + Daniel Stone wrote: > From: Tomohito Esaki > > The drm_fb destroy callback to mostly the same thing regardless of > whether the buffer is a dumb buffer or gbm buffer. This patch refactors > the common parts into a new function that can be called for both cases

[PATCH weston 17/68] compositor-drm: Refactor destroy drm_fb function

2016-12-09 Thread Daniel Stone
From: Tomohito Esaki The drm_fb destroy callback to mostly the same thing regardless of whether the buffer is a dumb buffer or gbm buffer. This patch refactors the common parts into a new function that can be called for both cases. [daniels: Rebased on top of fb->fd changes, cosmetic changes.]