spektor56 Posted July 6, 2018 Posted July 6, 2018 (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 July 6, 2018 by spektor56 Quote
Grila Posted July 6, 2018 Posted July 6, 2018 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: Quote
spektor56 Posted July 6, 2018 Author Posted July 6, 2018 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? Quote
spektor56 Posted July 6, 2018 Author Posted July 6, 2018 I ditched CefSharp in favour of microsoft Edge and got it working... Fun fact, as of May 9th 2018 microsoft Edge has a WPF and WinForms usercontrol called WebView! https://blogs.windows.com/msedgedev/2018/05/09/modern-webview-winforms-wpf-apps/ Quote
Jason Carr Posted July 6, 2018 Posted July 6, 2018 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? Quote
spektor56 Posted July 6, 2018 Author Posted July 6, 2018 AFAIK it is only supported in Windows 10. windows 7 is end of life support in 6 months so doesn't really matter.... Quote
Jason Carr Posted July 6, 2018 Posted July 6, 2018 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. Quote
spektor56 Posted July 6, 2018 Author Posted July 6, 2018 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. Quote
DOS76 Posted July 6, 2018 Posted July 6, 2018 Windows 7 is supported until January 14th 2020 so a little more than 6 months left. Quote
spektor56 Posted July 6, 2018 Author Posted July 6, 2018 (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 July 6, 2018 by spektor56 Quote
spektor56 Posted July 6, 2018 Author Posted July 6, 2018 @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 Quote
Jason Carr Posted July 6, 2018 Posted July 6, 2018 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. Quote
spektor56 Posted July 6, 2018 Author Posted July 6, 2018 (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 July 6, 2018 by spektor56 Quote
spektor56 Posted July 6, 2018 Author Posted July 6, 2018 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 Quote
Jason Carr Posted July 6, 2018 Posted July 6, 2018 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? Quote
spektor56 Posted July 6, 2018 Author Posted July 6, 2018 I'm using the WPF control Just get a black screen when trying to view this for example: http://webglsamples.org/aquarium/aquarium.html but works in my test app. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.