#Offscreen rendering stuttering on minimized

6 messages · Page 1 of 1 (latest)

dusky cove
#

I'm maintaining a project which draws on external window using gpu accelerated offscreen rendering.

The Electron process is spawned as a child process by a another Nodejs cli process. But the offscreen rendering is stuttering when cli console window is minimized. The offscreen window is created with backgroundThrottling disabled.

I have no idea if this is issue of Electron or Windows. Let me know if you know anything about it.

meager gust
#

What do you mean by this But the offscreen rendering is stuttering when cli console window is minimized Why would minimzing the console window stop your code in a child process stutter / not run ?

#

Is it not running in a serpate process or are you pausing the stream of said process ?

dusky cove
#

Afaik there is occlusion detection in chromium to throttle background performance. But we are rendering offscreen so I have no idea