Re: lockFocusIfCanDraw behavior in layer-backed mode

2018-12-17 Thread Matt Jacobson
Hi, > On Dec 15, 2018, at 7:07 AM, Tor Arne Vestbø wrote: > > Hey hey, > >> On 15 Dec 2018, at 01:38, Matt Jacobson wrote: >> >> You were probably calling -lockFocusIfCanDraw >> , >> which does not say

Re: lockFocusIfCanDraw behavior in layer-backed mode

2018-12-17 Thread Richard Charles
> On Dec 16, 2018, at 6:34 PM, Tor Arne Vestbø wrote: > > The session doesn’t go into what do if you want to draw synchronously outside > of the display cycle though. Is it enough to setNeedsDisplay and then call > [NSView displayIfNeeded] or [CALayer displayIfNeeded]? I guess the latter >