[RFC] DRI3/PRESENT Add a way to select whether to use scanout or not depending on needs

2016-06-06 Thread davyaxel
Hi, Currently when a buffer is presented with the Present extension, in case it meets all the criterias to be used for a flip, the Xserver asks the DDX to check the pixmap can be used for a flip (check_flip), and if yes, X schedules a flip. I guess *theoritically* (perhaps there may need a

Re: [PATCH xserver] glamor: Limit outstanding drawing queue with glClientWaitSync

2016-06-06 Thread Keith Packard
Michel Dänzer writes: > I wrote an eerily similar patch a while ago, but the problem turned out > to be in the GL or kernel driver. Are you sure that's not the case for > you? I'm seeing a long lag when running benchmarks that don't ever need to synchronize with the

Re: [PATCH xserver 3/4] os: Use strtok instead of xstrtokenize in ComputeLocalClient

2016-06-06 Thread walter harms
Am 05.06.2016 05:27, schrieb Keith Packard: > From: Michel Dänzer > > Fixes leaking the memory pointed to by the members of the array returned > by xstrtokenize. > > Reviewed-by: Adam Jackson > --- > os/access.c | 9 + > 1 file changed, 5

Re: [PATCH xserver] glamor: Limit outstanding drawing queue with glClientWaitSync

2016-06-06 Thread Michel Dänzer
On 05.06.2016 12:29, Keith Packard wrote: > The X server doesn't (generally) use SwapBuffers, so we need some > other mechanism to avoid flooding the device with queued rendering > requests when the server is busy. I wrote an eerily similar patch a while ago, but the problem turned out to be in

[PATCH xserver v2] wayland: clear resource for pixmap on unrealize

2016-06-06 Thread Olivier Fourdan
On cursor unrealize, the associated pixmap is destroyed, make sure we clear the pointer from the private resource and check for the value being non-null when setting or destroying the cursor. Signed-off-by: Olivier Fourdan Bugzilla: