Re: [darktable-devel] sluggish reaction of sliders

2015-01-09 Thread Pascal Obry
2015-01-09 8:48 GMT+01:00 johannes hanika : > for me this is only the case with opencl, the cpu code path seems to update > a lot more promptly. So maybe we should add a small delay in the OpenCL path? -- Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imaginatio

Re: [darktable-devel] sluggish reaction of sliders

2015-01-09 Thread Ulrich Pegelow
Here the sliders are sluggish with both CPU and GPU code. It's debatable if the CPU code is a little bit more responsive here. However, the effect is marginal compared to the drastic loss compared to darktable-1.6.x. Ulrich Am 09.01.2015 um 08:48 schrieb johannes hanika: > > > On Fri, Jan 9, 20

Re: [darktable-devel] sluggish reaction of sliders

2015-01-09 Thread Ulrich Pegelow
Am 09.01.2015 um 11:04 schrieb Pascal Obry: > 2015-01-09 8:48 GMT+01:00 johannes hanika : >> for me this is only the case with opencl, the cpu code path seems to update >> a lot more promptly. > > So maybe we should add a small delay in the OpenCL path? > This is already done today. You can tune th

Re: [darktable-devel] sluggish reaction of sliders

2015-01-09 Thread Pascal Obry
I found the culprit for this regression. Roman, can you have a look? The patch below give a big slowness to dt in darkroom mode. It can still be reverted from master. And indeed just reverting it makes dt fly again! commit 1d01d51d979826da179a0d1b8908dfbd91b6fe83 Author: Roman Lebedev Date: T

Re: [darktable-devel] sluggish reaction of sliders

2015-01-09 Thread Roman Lebedev
Hello. I'll look, but the real issue here is that we probably request full redraw of all widgets way too often. Roman. On Fri, Jan 9, 2015 at 5:37 PM, Pascal Obry wrote: > I found the culprit for this regression. > > Roman, can you have a look? The patch below give a big slowness to dt > in da

Re: [darktable-devel] sluggish reaction of sliders

2015-01-09 Thread johannes hanika
indeed it looks like reverting that might be a good idea. probably writing through to the currently displayed cairo object triggers all kinds of exposure/display callbacks all the way down to the screen and writing to double buffers, right after every stroke operation (as opposed to doing that just

Re: [darktable-devel] sluggish reaction of sliders

2015-01-09 Thread Roman Lebedev
I have asked about this issue in #gtk+: > [19:10:57] hmm, should there any difference in e.g. > performance/responsiveness if i draw on cairo_t *cr passed into draw() > callback (gtk3) v.s. if i create similar surface, draw on it, and then > paint it on the cr that passed into draw() ? > [1