Is your feature request related to a problem? Please describe.
Currently we can use the ICoreWebView2CompositionController interface for visual hosting, but it seems like WebView2 always work on alpha blending mode, even I call SetDefaultBackgroundColor using alpha value 255 and enter full screen mode, dwm.exe cause high gpu usage.
In contrast, Chrome uses F11 to enter full screen mode, and dwm.exe has almost no gpu usage.
Describe the solution you'd like and alternatives you've considered
Is your feature request related to a problem? Please describe.
Currently we can use the ICoreWebView2CompositionController interface for visual hosting, but it seems like WebView2 always work on alpha blending mode, even I call
SetDefaultBackgroundColor
using alpha value 255 and enter full screen mode,dwm.exe
cause high gpu usage.In contrast, Chrome uses F11 to enter full screen mode, and
dwm.exe
has almost no gpu usage.Describe the solution you'd like and alternatives you've considered
APIs like
SetOpaque
are worth considering.AB#42649213