FLTK logo

[fltk.general] Mac OS drawing lag

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Mac OS drawing lag Arnis Gustins Nov 28, 2022  
  Hi.

I have this problem on Mac OS 12 and 13 where my drawing functions are very "sluggish". For example dragging feels very rough. For some time I though that I just wrote the thing in a very inefficient way and tried to optimize it but without success. The code simply listens on drag events and calls window to redraw. And in the draw function there is just fl_rect function call.

Then very interesting thing happened. I just moved the window to the secondary screen (external monitor) and everything became extremely smooth. Moving it back to main laptop screen makes it lag again.

I can create a demo project that illustrates this problem later if necessary but I don't think there is need for that since it's super basic. Currently I am using version 1.3.8.

Have anybody experiences this problem before? I feel like this could be solved very easily but I just can't find the reason. 

Thanks.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/18fd66d8-9b77-4bfd-9a61-e979b203227bn%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.