backdrop-filter: blur not work in CEF raised window

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

backdrop-filter: blur not work in CEF raised window

Postby chenxu » Thu Apr 07, 2022 9:31 pm

Hi all, I use cef to raise a window. In the html, I use "backdrop-filter: blur" for one element. When open the html by chrome, the blur effect works well. But in the cef window, I cannot see the blur effect.
My CEF version is 81.3.10+gb223419+chromium-81.0.4044.138. Does any one have any idea about this?
chenxu
Newbie
 
Posts: 5
Joined: Thu Apr 07, 2022 9:26 pm

Re: backdrop-filter: blur not work in CEF raised window

Postby magreenblatt » Thu Apr 07, 2022 9:51 pm

Does the problem reproduce in the CEF sample apps? Try a CEF version that matches your Chrome version.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: backdrop-filter: blur not work in CEF raised window

Postby chenxu » Fri Apr 08, 2022 3:40 am

My "cef.sdk" version is "80.1.15". What do you mean by Chrome version? Which version of CEF start to support backdrop-filter?
chenxu
Newbie
 
Posts: 5
Joined: Thu Apr 07, 2022 9:26 pm

Re: backdrop-filter: blur not work in CEF raised window

Postby chenxu » Fri Apr 08, 2022 6:06 am

magreenblatt wrote:Does the problem reproduce in the CEF sample apps? Try a CEF version that matches your Chrome version.

I tried to use cefsimple to load the same html with same CEF version, the blur can work well.
chenxu
Newbie
 
Posts: 5
Joined: Thu Apr 07, 2022 9:26 pm

Re: backdrop-filter: blur not work in CEF raised window

Postby magreenblatt » Fri Apr 08, 2022 7:51 am

I don’t know what “cef.sdk” is. Where did you get the CEF build? Are you using off-screen rendering?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: backdrop-filter: blur not work in CEF raised window

Postby chenxu » Wed Jun 01, 2022 10:20 pm

I found that it may be caused by disable-gpu-compositing, when I remove command_line->AppendSwitch("disable-gpu-compositing"), the blur works well.
chenxu
Newbie
 
Posts: 5
Joined: Thu Apr 07, 2022 9:26 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 29 guests