The given IOSurfaceRef was ignored until now. Wrap it into the new DesktopFrameIOSurface. The new DesktopFrameProvider object is there to manage them as it has to be done per display id. From initial measurement this speed-up the frame capture by 2. Disabled by default for now but it can be enabled by calling options.set_use_iosurface. This CL will allow to do some advanced tests. Bug: webrtc:8652 Change-Id: Ia9ac0b69b30098774941cb378804b45cb1710119 Reviewed-on: https://webrtc-review.googlesource.com/33014 Commit-Queue: Zijie He <zijiehe@chromium.org> Reviewed-by: Zijie He <zijiehe@chromium.org> Cr-Commit-Position: refs/heads/master@{#22801}
20 lines
315 B
Python
20 lines
315 B
Python
include_rules = [
|
|
"+system_wrappers",
|
|
"+third_party/libyuv",
|
|
]
|
|
|
|
specific_include_rules = {
|
|
"desktop_frame_cgimage\.h": [
|
|
"+sdk/objc",
|
|
],
|
|
"desktop_frame_iosurface\.h": [
|
|
"+sdk/objc",
|
|
],
|
|
"desktop_frame_provider\.h": [
|
|
"+sdk/objc",
|
|
],
|
|
"screen_capturer_mac\.mm": [
|
|
"+sdk/objc",
|
|
],
|
|
}
|