WebView
WebView copied to clipboard
Background Transparent
Can the browser background be made transparent? I can't find a way to do this.
Background color is not exposed, use fork or reflection, or wait #368
damn, dead repo
What you mean "dead repo"?
Regarding the original question, I found this: https://www.magpcss.org/ceforum/viewtopic.php?f=8&t=17421, so it seems that some changes in CEF code would be necessary.
Tried, using the background color cefsetting but it doesn't seem to be honored by cef.
Tried, using the background color cefsetting but it doesn't seem to be honored by cef.
Transparent color is currently working (set via CefSettings.BackgroundColor), but requires enabling WindowlessRenderingEnabled I'm still investigating the problem, but I think it's quite possible to find a solution (especially looking at how some guys implement cef transparency when rendering in games\etc)
Eh, transparent render + hardware acceleration + OSR it works under certain settings
Need remove disable-gpu and disable-gpu-compositing when IsOSREnabled is true from BrowserCefApp:OnBeforeCommandLineProcessing
Enable OSR
Set background color in cef settings
And result is great