Some noise is heard from the game when it runs in SimpleOSRBrowser, but no noise in SimpleBroser. It seems that Html5 game can't run smoothly in OSR mode. Why?https://www.yikm.net/play?id=4137
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Why Html5 game can't run smoothly in OSR mode?
Why Html5 game can't run smoothly in OSR mode?
I run the same Html5 game in SimpleBroser and SimpleOSRBrowser, the website is:
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Why Html5 game can't run smoothly in OSR mode?
Hi,
Try enabling hardware acceleration with the GlobalCEFApp.EnableGPU property.
Web browsers in OSR mode are always slower than browsers in normal mode because the web contents are rendered in a much different way.
Try enabling hardware acceleration with the GlobalCEFApp.EnableGPU property.
Web browsers in OSR mode are always slower than browsers in normal mode because the web contents are rendered in a much different way.
Re: Why Html5 game can't run smoothly in OSR mode?
Hi,
It's the same no matter whether the GlobalCEFApp.EnableGPU property is enabled or not.
It's the same no matter whether the GlobalCEFApp.EnableGPU property is enabled or not.
Re: Why Html5 game can't run smoothly in OSR mode?
Hi,
Can One Browser support both OSR mode and No-OSR mode? For example, one tab runs in OSR mode, but another tab runs in No-OSR mode.
Can One Browser support both OSR mode and No-OSR mode? For example, one tab runs in OSR mode, but another tab runs in No-OSR mode.
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Why Html5 game can't run smoothly in OSR mode?
The PopupBrowser demo uses that configuration.
Lazarus has some issues destructing the browsers in that configuration.
Lazarus has some issues destructing the browsers in that configuration.
Re: Why Html5 game can't run smoothly in OSR mode?
Thank you for your information! It do can run OSR based chrmosr with No-OSR based chrmosr in one app like PopupBrowser.
But, It seams that only popup chrmosr can change OSR mode. Can default chrmosr do that?
But, It seams that only popup chrmosr can change OSR mode. Can default chrmosr do that?
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Why Html5 game can't run smoothly in OSR mode?
You can only set a browser in OSR mode before the TChromiumCore.CreateBrowser call.
It's not possible to change the mode after the browser has been created.
It's not possible to change the mode after the browser has been created.