webrtc/modules/desktop_capture/mac
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
..
desktop_configuration_monitor.cc Reland "Migrate modules/desktop_capture and modules/video_capture to webrtc::Mutex." 2020-07-13 12:22:08 +00:00
desktop_configuration_monitor.h Simplify reference counting implementation of PendingTaskSafetyFlag. 2021-04-21 07:04:01 +00:00
desktop_configuration.h Adding missing RTC_EXPORT for component build. 2019-10-18 09:17:56 +00:00
desktop_configuration.mm [desktopCapture Mac] Continue screen capture at graphic cards switching 2018-04-27 04:07:05 +00:00
desktop_frame_cgimage.h Avoid a frame copy in WindowCapturerMac 2019-04-19 05:05:50 +00:00
desktop_frame_cgimage.mm Check nullity of CGColorSpaceCopyICCProfile's return value 2019-05-03 02:33:29 +00:00
desktop_frame_iosurface.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
desktop_frame_iosurface.mm Make ScreenCapturerMac more robust when using IOSurface 2018-04-12 23:04:58 +00:00
desktop_frame_provider.h Use SequenceChecker from public API 2021-02-10 15:04:55 +00:00
desktop_frame_provider.mm Deprecating ThreadChecker specific interface. 2019-04-08 16:58:07 +00:00
full_screen_mac_application_handler.cc Add Presentation Mode Support for Capturing OpenOffice Impress document windows 2020-11-05 21:22:19 +00:00
full_screen_mac_application_handler.h Implement handling for MS PowerPoint Presentation Mode. 2019-12-03 19:17:24 +00:00
screen_capturer_mac.h Use SequenceChecker from public API 2021-02-10 15:04:55 +00:00
screen_capturer_mac.mm Deprecating ThreadChecker specific interface. 2019-04-08 16:58:07 +00:00
window_list_utils.cc Add Presentation Mode Support for Capturing OpenOffice Impress document windows 2020-11-05 21:22:19 +00:00
window_list_utils.h Implement handling for MS PowerPoint Presentation Mode. 2019-12-03 19:17:24 +00:00