Jump to content
LaunchBox Community Forums

Recommended Posts

Posted (edited)

@Jason Carr @Grila

I have an animated WebGL usercontrol that uses CefSharp, how come the WebGL part doesn't work inside BigBox?  Works fine in my test application.  If its plain HTML the control works fine in BigBox but the WebGL just crashes and goes black when hosted in BigBox.

Sample:

https://i.imgur.com/DEOtd4j.mp4

I would like to interop this with Grila's weather control.

Edited by spektor56
Posted

In another thread, a user was having difficulties with CefSharp until he pointed to the one already included in LB. Just a thought depending on how you're referencing it in your plugin...

Here's the thread for reference: 

 

Posted

The thing is, the control is "working" it's just the WebGL part that isn't working.  I'm wondering if @Jason Carr is using a static CefSettings object or something that is interfering with the settings i need for my usercontrol?

Posted

Glad you got it working. I remember researching that back when I implemented it only to discover that it wasn't ready yet (iirc). I'm sure if we switched it would at least cut down the size of the installer quite a bit. But Edge isn't included in Windows 7, is it?

Posted
4 minutes ago, spektor56 said:

AFAIK it is only supported in Windows 10.  windows 7 is end of life support in 6 months so doesn't really matter....

Yeah, unfortunately I'd still have a huge number of people up in arms if we ended support for Windows 7.

Posted

Windows 7 is a security liability, no DX12 support, ie11 dead with no support, no UWP support, no new CPU / hardware support, no new driver support, etc etc etc.

Windows 10 is free, I don't get it.

Posted (edited)

Dammit, my brain is stuck in car years cuz i'm getting a 2020 next year LOL.  Still, a year and 6 months is not far away.

Edited by spektor56
Posted

@Jason Carr argh, unfortunately the Edge control suffers from the airspace issue where the cefsharp control does not.  Are you fiddling with CefSettings() anywhere in launchbox? what version of cefsharp are you running?  still can't get webgl working for cefsharp in BB

Posted
6 minutes ago, spektor56 said:

@Jason Carr argh, unfortunately the Edge control suffers from the airspace issue where the cefsharp control does not.  Are you fiddling with CefSettings() anywhere in launchbox? what version of cefsharp are you running?  still can't get webgl working for cefsharp in BB

I remember there are a number of relatively serious quirks/bugs with CefSharp in WPF, so yes, we are fiddling with the settings out of necessity. We use "disable-gpu-compositing" and "enable-begin-frame-scheduling", one of which is probably causing the issue. Unfortunately those are necessary because of the quirks and bugs. I can look into upgrading here at some point to see if those issues are fixed though, but it might be a while yet before I can get to it.

Posted (edited)

disable-gpu-compositing is definitely the offender here...

Edit: hmm, tried with those two flags and it still works in my test app.

Edited by spektor56
Posted
1 minute ago, spektor56 said:

Any other commands called on the Cef object or CefSettings?

I downloaded same version (63.0.0) as used in bigbox and i cant reproduce the issue in my test app :/

Not that I can see. Are you testing the WPF control or the Windows Forms control?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...