WWebRTC LUCI CQFormat /rtc_base
802e8e5f创建于 2023年4月21日历史提交
文件最后提交记录最后更新时间
Split Windows code from rtc_base_approved to smaller targets Bug: webrtc:9838 Change-Id: Ic463284fd68715fd9b8eadd50e1d25841cb60020 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/261241 Auto-Submit: Florent Castelli <orphis@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36768} 3 年前
Format /rtc_base git ls-files | grep -e "\(\.h\|\.cc\)$" | grep -e "^rtc_base/" | xargs clang-format -i ; git cl format after landing: add to .git-blame-ignore-revs Bug: webrtc:15082 Change-Id: I152228f7c7926adf95d2f3fbbe4178556fd75d0d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/302061 Reviewed-by: Florent Castelli <orphis@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39914} 3 年前
Reland: Add ability to load CreateDirect3DDeviceFromDXGIDevice from d3d11.dll Relanding this after a build break in a downstream consumer caused a revert. I've removed the include of the windows.graphics.capture.interop header and instead replaced it with an include of windows.graphics.directx.direct3d11.h which is where the IDirect3DDevice data type that we need is declared. Before this was being included transitively through the WGC header, which was a mistake. Original change's description: Add ability to load CreateDirect3DDeviceFromDXGIDevice from d3d11.dll Creating a Direct3D11Device from a DXGIDevice is necessary for the new WGC based window capturer. However, the CreateDirect3DDeviceFromDXGIDevice API is not available on all versions of Windows, which means we have to load this function from d3d11.dll at runtime. You can see how this function will be used in this CL: 196624: Finish implementing WGC Window Capturer and add unit tests. | https://webrtc-review.googlesource.com/c/src/+/196624 I also ensure we don't leak HSTRINGs in GetActivationFactory and fix up some includes in ScopedComInitializer. Bug: webrtc:9273 Change-Id: I56a5eef29815a09297bd2cdad4c5e4265dd7e27e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/203200 Commit-Queue: Austin Orion <auorion@microsoft.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33081} 5 年前
Add and refactor functionality into rtc_base/win This change moves ScopedComInitializer out of core_audio_utility and into rtc_base/win so it can be reused elsewhere more easily. It also adds HSTRING and GetActivationFactory functionality to rtc_base/win. These two were heavily based on what is already present base/win. All of these are necessary for the new window capturer based on the Windows.Graphics.Capture API. You can see how these APIs will be used in this CL: 186603: Implement WgcCaptureSession | https://webrtc-review.googlesource.com/c/src/+/186603 Bug: webrtc:9273 Change-Id: I0a36373aac98be779ccbabe1053bb8d6e234f6a3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/188523 Commit-Queue: Tommi <tommi@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32522} 5 年前
Reland: Add ability to load CreateDirect3DDeviceFromDXGIDevice from d3d11.dll Relanding this after a build break in a downstream consumer caused a revert. I've removed the include of the windows.graphics.capture.interop header and instead replaced it with an include of windows.graphics.directx.direct3d11.h which is where the IDirect3DDevice data type that we need is declared. Before this was being included transitively through the WGC header, which was a mistake. Original change's description: Add ability to load CreateDirect3DDeviceFromDXGIDevice from d3d11.dll Creating a Direct3D11Device from a DXGIDevice is necessary for the new WGC based window capturer. However, the CreateDirect3DDeviceFromDXGIDevice API is not available on all versions of Windows, which means we have to load this function from d3d11.dll at runtime. You can see how this function will be used in this CL: 196624: Finish implementing WGC Window Capturer and add unit tests. | https://webrtc-review.googlesource.com/c/src/+/196624 I also ensure we don't leak HSTRINGs in GetActivationFactory and fix up some includes in ScopedComInitializer. Bug: webrtc:9273 Change-Id: I56a5eef29815a09297bd2cdad4c5e4265dd7e27e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/203200 Commit-Queue: Austin Orion <auorion@microsoft.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33081} 5 年前
Add and refactor functionality into rtc_base/win This change moves ScopedComInitializer out of core_audio_utility and into rtc_base/win so it can be reused elsewhere more easily. It also adds HSTRING and GetActivationFactory functionality to rtc_base/win. These two were heavily based on what is already present base/win. All of these are necessary for the new window capturer based on the Windows.Graphics.Capture API. You can see how these APIs will be used in this CL: 186603: Implement WgcCaptureSession | https://webrtc-review.googlesource.com/c/src/+/186603 Bug: webrtc:9273 Change-Id: I0a36373aac98be779ccbabe1053bb8d6e234f6a3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/188523 Commit-Queue: Tommi <tommi@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32522} 5 年前
Add and refactor functionality into rtc_base/win This change moves ScopedComInitializer out of core_audio_utility and into rtc_base/win so it can be reused elsewhere more easily. It also adds HSTRING and GetActivationFactory functionality to rtc_base/win. These two were heavily based on what is already present base/win. All of these are necessary for the new window capturer based on the Windows.Graphics.Capture API. You can see how these APIs will be used in this CL: 186603: Implement WgcCaptureSession | https://webrtc-review.googlesource.com/c/src/+/186603 Bug: webrtc:9273 Change-Id: I0a36373aac98be779ccbabe1053bb8d6e234f6a3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/188523 Commit-Queue: Tommi <tommi@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32522} 5 年前
Deprecate and remove usage for WARNING log level Bug: webrtc:13362 Change-Id: Ida112158e4ac5f667e533a0ebfedb400c84df4d9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/239124 Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35425} 4 年前
Reland: Add ability to load CreateDirect3DDeviceFromDXGIDevice from d3d11.dll Relanding this after a build break in a downstream consumer caused a revert. I've removed the include of the windows.graphics.capture.interop header and instead replaced it with an include of windows.graphics.directx.direct3d11.h which is where the IDirect3DDevice data type that we need is declared. Before this was being included transitively through the WGC header, which was a mistake. Original change's description: Add ability to load CreateDirect3DDeviceFromDXGIDevice from d3d11.dll Creating a Direct3D11Device from a DXGIDevice is necessary for the new WGC based window capturer. However, the CreateDirect3DDeviceFromDXGIDevice API is not available on all versions of Windows, which means we have to load this function from d3d11.dll at runtime. You can see how this function will be used in this CL: 196624: Finish implementing WGC Window Capturer and add unit tests. | https://webrtc-review.googlesource.com/c/src/+/196624 I also ensure we don't leak HSTRINGs in GetActivationFactory and fix up some includes in ScopedComInitializer. Bug: webrtc:9273 Change-Id: I56a5eef29815a09297bd2cdad4c5e4265dd7e27e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/203200 Commit-Queue: Austin Orion <auorion@microsoft.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33081} 5 年前
Disallow set_allow_wgc_capturer_fallback call on Win10. There is a crash report from the Windows OS API where it repro only win10, not a Win11. Unfortunately, Microsoft can't access the dump file or hasn't repro internally so we decided to disable the WGC fallback use in the OS other than Win11 now. Once the change (support WGC fallback) reaches to Microsoft Edge and it produce crash report, Edge team will take the dump file to the Windows OS API owner for Win10 level fix (or bring the Win11 fix to Win10). Bug: chromium:1312937 Change-Id: I5335e2c57076d4fab08e9c74ade599259cff10d7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258821 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/main@{#36558} 4 年前
Disallow set_allow_wgc_capturer_fallback call on Win10. There is a crash report from the Windows OS API where it repro only win10, not a Win11. Unfortunately, Microsoft can't access the dump file or hasn't repro internally so we decided to disable the WGC fallback use in the OS other than Win11 now. Once the change (support WGC fallback) reaches to Microsoft Edge and it produce crash report, Edge team will take the dump file to the Windows OS API owner for Win10 level fix (or bring the Win11 fix to Win10). Bug: chromium:1312937 Change-Id: I5335e2c57076d4fab08e9c74ade599259cff10d7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258821 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/main@{#36558} 4 年前
Remove usage of INFO alias for LS_INFO in log messages Bug: webrtc:13362 Change-Id: Ifda893861a036a85c045cd366f9eab33c62ebde0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/237221 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35310} 4 年前