commit | 0f4f802f841de2a7dc591be2005f397766d46baf | [log] [tgz] |
---|---|---|
author | fizzfang <fangkb555@gmail.com> | Wed Feb 05 08:54:59 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 05 21:14:59 2025 |
tree | 6c985cb340f76dd6fc4c034a720ae46b438f5e46 | |
parent | 70b65bc375bb352dbe01548ddc352e81b0b4ea44 [diff] |
Skip owned window with WS_EX_LAYERED attribute when capturing with GDI. When using GDI to capture windows, not only will the target window be captured, but all owned windows of the target window will also be captured, and the captured results of the owned windows will be drawn onto the captured result of target window. GDI (BitBlt or PrintWindow) cannot capture windows with WS_EX_LAYERED attribute, so when the owned window has this attribute, the area of the owned window in the result is black. After modification, if the owned window has the WS_EX_LAYERED attribute, it will not be captured or drawn. Bug: webrtc:394380765 Change-Id: I5f0c7d31809a353377b0aa52452634b46247af5f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/376360 Commit-Queue: Alexander Cooper <alcooper@chromium.org> Reviewed-by: Joe Downing <joedow@chromium.org> Reviewed-by: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/main@{#43851}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.