commit | 794cc227dc9110fa89e36c5e6e9827d40d3046f0 | [log] [tgz] |
---|---|---|
author | cschuldt <cschuldt@google.com> | Mon Nov 29 15:56:37 2021 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 01 14:52:21 2021 |
tree | 2a6582824bae3df3871c1eb41b59146c7661fd59 | |
parent | 59b8a46d3f6a072ae3eba8ab86fdd91c39821ec6 [diff] |
Optimize RenderBuffer. Changing to an index for-loop (instead of using std::transform) allows the compiler (clang for x86 at least) to use 3 different registers in the loop rather than just 1, resulting in less pipeline stall (I'd assume). Interestingly, the compiler unrolls the loop(s) completely in both cases. Bug: None Change-Id: I586773bc525e91bb6eb6638d5399928482306b9f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/239364 Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Commit-Queue: Christian Schuldt <cschuldt@google.com> Cr-Commit-Position: refs/heads/main@{#35453}
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.