[PATCH v2 wayland 1/3] shm: Deprecate wl_shm_buffer_create()

Pekka Paalanen ppaalanen at gmail.com
Fri Nov 6 04:10:36 PST 2015


On Fri, 6 Nov 2015 10:29:56 +0200
Giulio Camuffo <giuliocamuffo at gmail.com> wrote:

> For the whole series:
> Reviewed-by: Giulio Camuffo <giuliocamuffo at gmail.com>
> 
> 2015-11-05 21:57 GMT+02:00 Derek Foreman <derekf at osg.samsung.com>:
> > From irc:
> > <pq> it creates a wl_buffer object in a way that no client can ever
> >      access the storage.
> >
> > So, let's replace it with return NULL; and mark it with attribute
> > deprecated in the header.
> >
> > Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> > Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
> > ---
> >
> > Change from v1: return NULL instead of abort()ing
> >
> >  src/wayland-server-core.h |  2 +-
> >  src/wayland-shm.c         | 29 +----------------------------
> >  2 files changed, 2 insertions(+), 29 deletions(-)

Hi,

I was going to complain that patch 2 doesn't work, but it does work - I
just needed to 'make clean' to see the effect.

All three pushed:
   4a97cb3..8bc42fb  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151106/6ede058c/attachment.sig>


More information about the wayland-devel mailing list