DescriptionMove ownership of cc:VideoLayer to webkit/media
Currently the cc::VideoLayer is created and owned by the WebMediaPlayerClientImpl
in WebKit. Communication with the cc::VideoLayerImpl then must be done though the
WebVideoFrame and WebStreamTextureClient APIs.
This CL moves the creation and ownership of the cc::Video layer to the
WebMediaPlayer implementations in webkit/media, but does so behind a compiler
flag until the WebKit side to match it lands and enables the flag.
Then the communication between the WebMediaPlayer and cc::VideoLayerImpl can be
done directly through the cc::VideoFrameProvider interface. This interface is
implemented in the various implementations of WebMediaPlayer behind the
compiler flag as well, to be enabled when WebMediaPlayerClientImpl stops
implementing cc::VideoFrameProvider via WebVideoFrameProvider.
Once the WebKit side lands and rolls, we can completely remove all mention of
WebVideoFrame, WebVideoFrameProvider, and WebStreamTextureClientImpl.
R=jamesr
BUG=196810
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189979
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 4
Patch Set 4 : #Patch Set 5 : #
Messages
Total messages: 9 (0 generated)
|