openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

ofSetBackgroundAuto(false) and fullscreen on Intel Graphics and Windows

Open paul-ferragut opened this issue 1 year ago • 3 comments

On Intel Graphics with Windows ofSetBackgroundAuto(false) with fullscreen is not working. The image is not refreshing and showing the last image before going fullscreen mode, the mouse cursor is still visible and moving. Using Nvidia GPU the same app is working normally.

paul-ferragut avatar Jun 08 '23 13:06 paul-ferragut

I've also been a little bit suspect about how we do ofSetBackgroundAuto(false) and how it works on lower end machines as we've seen this problem reported from time to time -- I think a good alternative solution would be to use an fbo to do accumulation, and I wonder if we shouldn't just use an fbo internally.

potentially related

https://github.com/openframeworks/openFrameworks/issues/5021 https://github.com/openframeworks/openFrameworks/issues/5881 https://github.com/openframeworks/openFrameworks/issues/7057

ofZach avatar Jun 08 '23 13:06 ofZach

Thank you for your reply, Everything is working normally on the Intel GPU computer using an FBO instead of ofSetBackgroundAuto(false);

paul-ferragut avatar Jun 08 '23 14:06 paul-ferragut

Hi, I'm on an MBP M1 pro and I'm getting flickering with ofSetBackgroundAuto(false) — it happens whether using the internal display or external display.

For anyone else who might be running into this issue, here's an example of how to switch from using ofSetBackgroundAuto to using a FBO so you don't have to do as much searching as I did. 😉 https://github.com/ggilder/patternLoops/commit/cca05baf907d88d09ca18650b60150e547538ab0

ggilder avatar May 13 '24 16:05 ggilder