Page 1 of 1

minimized flash game continues to load CPU

Posted: Tue May 21, 2019 12:37 pm
by Student
Hi, I tested run flash game on chrome, chromium, briskbard. On chrome/chromium when minimized app or go to on other tab then flash significantly reduce load cpu, and on briskbard unchanged load CPU. Why do you think so? How chrome frozen tabs without suspended process?
Image

Re: minimized flash game continues to load CPU

Posted: Wed May 22, 2019 5:40 pm
by salvadordf
Thank you for the bug report! :D

I just fixed that issue and it will be included in next BriskBard version.

Meanwhile, check the "Enable hardware acceleration" box in the web browser configuration to improve the browser performance.

Re: minimized flash game continues to load CPU

Posted: Wed May 22, 2019 6:35 pm
by Student
In your demo minibrowser show the solution, how to implement the solution to flash is not loaded CPU, when minimized app.

Re: minimized flash game continues to load CPU

Posted: Wed May 22, 2019 7:58 pm
by salvadordf
Set TCEFWindowParent.Visible and TCEFWindowParent.Enabled to FALSE when the tab is not visible.

If necessary set TCEFWindowParent.width and TCEFWindowParent.height to 0.

Re: minimized flash game continues to load CPU

Posted: Wed May 22, 2019 8:28 pm
by Student
Thanks you, help this

Code: Select all

TCEFWindowParent.Align:=alNone;
TCEFWindowParent.Width:=0;
TCEFWindowParent.Height:=0;