Re: [PATCH weston 01/11] tests: introduce struct buffer for client-helper

2016-06-23 Thread Pekka Paalanen
On Thu, 23 Jun 2016 18:07:49 +1000 Daniel Stone wrote: > Hi, > > On 17 June 2016 at 00:13, Pekka Paalanen wrote: > > Create a new struct buffer to encapsulate the image representation, the > > wl_buffer, and enough information to tear it all down (munmap) so we > > don't have to leak everything

Re: [PATCH weston 01/11] tests: introduce struct buffer for client-helper

2016-06-23 Thread Daniel Stone
Hi, On 17 June 2016 at 00:13, Pekka Paalanen wrote: > Create a new struct buffer to encapsulate the image representation, the > wl_buffer, and enough information to tear it all down (munmap) so we > don't have to leak everything. Some tests might start doing things in > loops, and leaking would a

[PATCH weston 01/11] tests: introduce struct buffer for client-helper

2016-06-16 Thread Pekka Paalanen
From: Pekka Paalanen We are growing more tests that need to handle buffers, both just images and wl_buffers. Particularly the screenshooting facility needs these. Currently everything is in struct surface, which contains more than we need. It is a bit messy. Create a new struct buffer to encapsu