Re: Looking for xshmfence example code

2018-02-18 Thread Clemens Eisserer
Hi Theo, > shmevid = XShmGetEventBase(dpy) + ShmCompletion; Thanks for the hint - I hadn't notiticed XShmPutImage is able to trigger events by itself (bool send_event). So I guess I don't need xshmfence at all, Best regards, Clemens ___ xorg@lists.x.or

Re: Looking for xshmfence example code

2018-02-17 Thread Theo Veenker
On 17/02/18 18:31, Clemens Eisserer wrote: Hi, I would like to use XShmPutImage to upload streaming data to Pixmaps, however the XSHM extension lacks, as far as I can see, the ability to notify the client when the actual ShmPut-request has been processed and the client can start modifying a shar

Looking for xshmfence example code

2018-02-17 Thread Clemens Eisserer
Hi, I would like to use XShmPutImage to upload streaming data to Pixmaps, however the XSHM extension lacks, as far as I can see, the ability to notify the client when the actual ShmPut-request has been processed and the client can start modifying a shared memory segment again. Is xshmfence what I