Re: [PATCH weston] Add calls to wl_shm_buffer_begin/end_access

2013-11-12 Thread Kristian Høgsberg
On Tue, Oct 01, 2013 at 12:52:28AM +0100, Neil Roberts wrote: > This wraps all accesses to an SHM buffer between wl_shm_buffer_begin > and end so that wayland-shm can install a handler for SIGBUS and catch > attempts to pass the compositor a buffer that is too small. > > Note, this patch doesn't d

[PATCH weston] Add calls to wl_shm_buffer_begin/end_access

2013-09-30 Thread Neil Roberts
This wraps all accesses to an SHM buffer between wl_shm_buffer_begin and end so that wayland-shm can install a handler for SIGBUS and catch attempts to pass the compositor a buffer that is too small. Note, this patch doesn't do anything to fix the pixman renderer. --- src/compositor-drm.c | 3 ++