z0w0 / helm

A functionally reactive game engine, with headgear to protect you from the headache of game development provided.
http://helm-engine.org/
MIT License
598 stars 69 forks source link

Screen flickering #118

Closed nikita-leonov closed 6 years ago

nikita-leonov commented 6 years ago

On MacOS for both hello & flappy examples screen is flickering as it does not "flip" screen buffer when complete render is done but does it in the middle or something. Is it a known issue? Does flickering exists on other platforms?

nikita-leonov commented 6 years ago

Attached a video with flickering. helm-refresh-bug.zip

z0w0 commented 6 years ago

Doesn't happen for me on Linux, but can't say I'm surprised - the rendering flow is fairly rudimentary and unoptimized. Definitely a bug. Could possibly be vsync related.

nikita-leonov commented 6 years ago

Actually I may provide misleading information. I was using helm 1.0.0 which is a year old release. Meanwhile there are other commits in master including support re-render only on change, that can affect flickering too.

nikita-leonov commented 6 years ago

With all the changed done on #111 I can not reproduce it anymore, I will close this issue as soon as #123 will be merged in.