Skip to content

Commit 3932b7d

Browse files
authored
Update WPF_WebView2CompositionControl.md
1 parent e415118 commit 3932b7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

specs/WPF_WebView2CompositionControl.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,16 @@ We chose the name "WebView2CompositionControl" because it matches our naming con
6666
for visual hosting WebView2, which uses the CoreWebView2CompositionController instead
6767
of the CoreWebView2Controller.
6868

69+
Due to using a GraphicsCaptureSession to create a screen capture of the underlying browser processes,
70+
there may be lower framerates compared to the standard WebView2 control, and DRM videos will be unable to play.
71+
72+
Reference documentation is very similar to the existing WPF control and can be found here:
73+
https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.wpf.webview2compositioncontrol?view=webview2-dotnet-1.0.2783-prerelease#remarks
74+
6975
# Appendix
7076
At a high level, the WebView2CompositionControl instantiates a CoreWebView2 in much the same way as
7177
the regular WebView2 control, but connects to it and controls it using the CoreWebView2CompositionController
7278
instead of the CoreWebView2Controller. The composition controller is given a WinComp visual to draw into,
7379
and this visual is used to create a GraphicsCaptureSession. When frames from this capture session are
7480
captured they are they rendered into a WPF Image element that's part of the control.
81+

0 commit comments

Comments
 (0)