aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-02-09 16:03:48 -0600
committerBryce Harrington <bryce@osg.samsung.com>2016-03-08 16:54:38 -0800
commited5f5030cae66576b081f261afb6233ec634f287 (patch)
treecf81a637e7f4b2f30b07df80cac404bd89bca914 /doc
parentshm: Split pool reference counting into external and internal references (diff)
downloadwayland-ed5f5030cae66576b081f261afb6233ec634f287.tar
wayland-ed5f5030cae66576b081f261afb6233ec634f287.tar.gz
wayland-ed5f5030cae66576b081f261afb6233ec634f287.tar.bz2
wayland-ed5f5030cae66576b081f261afb6233ec634f287.tar.lz
wayland-ed5f5030cae66576b081f261afb6233ec634f287.tar.xz
wayland-ed5f5030cae66576b081f261afb6233ec634f287.tar.zst
wayland-ed5f5030cae66576b081f261afb6233ec634f287.zip
shm: Defer wl_shm_pool_resize if a pool has external references
If a compositor is rendering in one thread while dispatching wayland events in another, a wl_shm_pool_resize() could change the memory mappings it's rendering from and cause a crash. Now we defer wl_shm_pool_resize() if the compositor has references on a pool, and perform the actual resize when it drops those references. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions