[PATCH wayland] shm: Add wl_shm_buffer get/put functions

Jasper St. Pierre jstpierre at mecheye.net
Sun Oct 4 11:23:12 PDT 2015


I imagine it's sampling from shared memory owned by the client during
its own rendering.

On Sun, Oct 4, 2015 at 11:21 AM, Bill Spitzak <spitzak at gmail.com> wrote:
> On 10/04/2015 08:34 AM, Giulio Camuffo wrote:
>>
>> 2015-07-18 0:30 GMT+03:00 Derek Foreman <derekf at osg.samsung.com>:
>>>
>>> Sometimes the compositor wants to make sure a shm pool doesn't disappear
>>> out from under it.
>>>
>>> For example, in Enlightenment, rendering happens in a separate thread
>>> while the main thread can still dispatch events.  If a client is
>>> destroyed
>>> during rendering, all its resources are cleaned up and its shm pools are
>>> unmapped.  This causes the rendering thread to segfault.
>
>
> Why is Enlightenment rendering into shared memory owned by the client?
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel



-- 
  Jasper


More information about the wayland-devel mailing list