Hi,
I am using pyglet.gl.Config() for enabling anti-aliasing for circles and arcs:
config = pyglet.gl.Config()
config.sample_buffers = 1
config.samples = 4
And this introduces flicker even when the frame rate is experimentally set to way smaller (10 Hz) than the time spent in any on_draw event (which is less than 0.002 secs). I have found that adding the following setting to the config, resolves the flickering which these multi-sampling config values from above seem to introduce in my case:
nui_pyglet_window_config.double_buffer = True
does any of this make sense?
The hardware I am using is Intel UHD Graphics 630.
Thanks in case you have any special related insights.
Regards,
Matan