DescriptionAdd support for a virtual display on ChromeOS
The purpose of this feature is to extend the desktop capture functionality by
allowing the creation of a virtual screen at capture request time. The use case
here is to mimic, with e.g. a Chrome Cast, the behaviour that can be achieved
with a physically connected projector i.e that a presenter can have slides
showing whilst keeping notes on their own private screen.
The "Virtual Display" appears as entry in the display picker, with a new
DesktopMediaID type. In the DesktopCaptureDeviceAura if an item of this type is
requested for capture the virtual screen is enabled in the DisplayConfigurator
and the resulting Aura root window used for capture.
BUG=425060
TEST=Use desktopCapture example extension, choose the Virtual Screen when
prompted and observe a new virtual display is created. When the capture is
stopped observe that the virtual display disappears.
Patch Set 1 #Patch Set 2 : Remove changes to NDD - do all work in ash (from Lionel Landwerlin) #Patch Set 3 : Add support for enabling virtual screen capture from desktop media picker #Patch Set 4 : Remove enable/disable virtual output controls from the display settings #Patch Set 5 : Fix gn build and change default resolution to 720p #Patch Set 6 : Rebased patch #Patch Set 7 : Handle async display setup #Patch Set 8 : Handle duplicate launches #Patch Set 9 : Use capture resolution as display size #Patch Set 10 : Add unit test for virtual display support #Patch Set 11 : Rebase on ToT #
Total comments: 20
Patch Set 12 : Integrate feedback from achuithb@ #Patch Set 13 : Fix remaining comment periods (thanks achuithb@) #
Total comments: 42
Patch Set 14 : Remove ash/ dep from content #Messages
Total messages: 30 (8 generated)
|