webrtc/modules/desktop_capture/linux
Tommi 86ee89f73e Simplify reference counting implementation of PendingTaskSafetyFlag.
On a 32bit system, this reduces the allocation size of the flag
down from 12 bytes to 8, and removes the need for a vtable (the extra
4 bytes are the vtable pointer).

The downside is that this change makes the binary layout of the
flag, less compatible with RefCountedObject<> based reference counting
objects and thus we don't immediately get the benefits of identical
COMDAT folding and subsequently there's a slight binary size increase.
With wider use, the binary size benefits will come.

Bug: none
Change-Id: I04129771790a3258d6accaf0ab1258b7a798a55e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215681
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33793}
2021-04-21 07:04:01 +00:00
..
base_capturer_pipewire.cc Add support for PipeWire 0.3 2020-12-04 05:36:18 +00:00
base_capturer_pipewire.h Add support for PipeWire 0.3 2020-12-04 05:36:18 +00:00
mouse_cursor_monitor_x11.cc Concatenate string literals at compile time. 2020-01-14 14:47:48 +00:00
mouse_cursor_monitor_x11.h Format almost everything. 2019-07-08 13:45:15 +00:00
pipewire02.sigs Add support for PipeWire 0.3 2020-12-04 05:36:18 +00:00
pipewire03.sigs Add support for PipeWire 0.3 2020-12-04 05:36:18 +00:00
pipewire_stub_header.fragment Reland "Default to dlopening the PipeWire." 2019-01-08 08:09:42 +00:00
screen_capturer_x11.cc Reset frame queue in ScreenCapturerX11::SelectSource to fix issues with different sized monitors. 2020-05-12 22:45:05 +00:00
screen_capturer_x11.h Reland "Reland "Reland "Reland "Reland "Implemented screen enumeration and selection for desktop capture under X11 using the X Resize and Rotate extension version 1.5.""""" 2020-02-26 20:35:54 +00:00
shared_x_display.cc Reland "[XProto] Add SharedXDisplay::IgnoreXServerGrabs" 2020-08-12 09:06:30 +00:00
shared_x_display.h Simplify reference counting implementation of PendingTaskSafetyFlag. 2021-04-21 07:04:01 +00:00
window_capturer_x11.cc Format almost everything. 2019-07-08 13:45:15 +00:00
window_capturer_x11.h Format almost everything. 2019-07-08 13:45:15 +00:00
window_finder_x11.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
window_finder_x11.h Reland "Add support for screen sharing with PipeWire on Wayland" 2018-11-13 15:05:05 +00:00
window_list_utils.cc Concatenate string literals at compile time. 2020-01-14 14:47:48 +00:00
window_list_utils.h Move rtc::FunctionView to the public API 2019-03-21 15:23:05 +00:00
x_atom_cache.cc Add ICC profile to DesktopFrame 2019-04-19 22:57:09 +00:00
x_atom_cache.h Add ICC profile to DesktopFrame 2019-04-19 22:57:09 +00:00
x_error_trap.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
x_error_trap.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
x_server_pixel_buffer.cc Reland "Reland "Reland "Reland "Reland "Implemented screen enumeration and selection for desktop capture under X11 using the X Resize and Rotate extension version 1.5.""""" 2020-02-26 20:35:54 +00:00
x_server_pixel_buffer.h Format almost everything. 2019-07-08 13:45:15 +00:00
x_window_property.cc Add ICC profile to DesktopFrame 2019-04-19 22:57:09 +00:00
x_window_property.h Add ICC profile to DesktopFrame 2019-04-19 22:57:09 +00:00