Re: NSWindow not redrawing subviews

2017-01-07 Thread Tamas Nagy
Makes sense, thanks Ken! > On 2017. Jan 7., at 8:55, Ken Thomases wrote: > > On Jan 7, 2017, at 12:59 AM, Tamas Nagy wrote: >> >> This is a video mixer app. There are multiple windows for controlling >> layers, effects, etc. Rendering is done on a CVDisplayLink thread by OpenGL. >> Whenever

Re: NSWindow not redrawing subviews

2017-01-06 Thread Ken Thomases
On Jan 7, 2017, at 12:59 AM, Tamas Nagy wrote: > > This is a video mixer app. There are multiple windows for controlling layers, > effects, etc. Rendering is done on a CVDisplayLink thread by OpenGL. Whenever > I need to update something on the UI from that CVDisplayLink thread I call > dispat

Re: NSWindow not redrawing subviews

2017-01-06 Thread Tamas Nagy
Hi Ken, > > You say you're calling -setNeedsDisplay: on the main thread, but other than > that, what do you mean by "multi-thread, multi-window app"? Are you doing > _any_ GUI manipulation from background threads? If so, what? This is a video mixer app. There are multiple windows for control

Re: NSWindow not redrawing subviews

2017-01-06 Thread Ken Thomases
On Jan 6, 2017, at 10:14 AM, Tamas Nagy wrote: > > I ran into an issues with a multi-thread, multi-window app, where one or more > windows stop displaying after a while. […] > And by saying a window stop displaying I mean there are subviews that has > been marked to be fully redrawn by setNeed