Remote Assistance on Chrome OS - Aura Desktop Capturer
commit0215564c6c0225e22419c85e7854c5ce103414c2
authorkelvinp <kelvinp@chromium.org>
Wed, 17 Sep 2014 02:12:07 +0000 (16 19:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Sep 2014 02:12:21 +0000 (17 02:12 +0000)
tree5179a16de74a74f0eb9d5338d1ab025f50caa89a
parenta0d3f6781193aca6a48a3ff24577a724d05240e9
Remote Assistance on Chrome OS - Aura Desktop Capturer

This CL implements a WebRTC Desktop Capturer that captures from
the Aura Shell root window.

The capturer is used by the It2MeHost on Chrome OS.
|DesktopCaptureDeviceAura| cannot be re-used in our scenario
because is timer-driven as opposed to caller driven, which is
required by WebRTC.

The current implementation uses the layer API

desktop_window_->layer()->RequestCopyOfOutput(request.Pass())

to request the layer and its subtree to be rendered to a
|SkiaBitmap|.  It then copies the pixels to a WebRTC |DesktopFrame|.

BUG=411530

Committed: https://crrev.com/278b065b519617b1e9231bd53e6502706d20787c
Cr-Commit-Position: refs/heads/master@{#295187}

Review URL: https://codereview.chromium.org/543243003

Cr-Commit-Position: refs/heads/master@{#295214}
remoting/host/DEPS
remoting/host/chromeos/aura_desktop_capturer.cc [new file with mode: 0644]
remoting/host/chromeos/aura_desktop_capturer.h [new file with mode: 0644]
remoting/host/chromeos/aura_desktop_capturer_unittest.cc [new file with mode: 0644]
remoting/remoting_host.gypi
remoting/remoting_host_linux.gypi
remoting/remoting_test.gypi