summaryrefslogtreecommitdiffstats
path: root/remoting/client/frame_consumer.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-23 09:32:45 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-23 09:32:45 +0000
commit46860da6ddd4e6855923a93990317964dba0ecbf (patch)
tree39e5156f3b0dec10828bcd08ff64c6fb0bb7cf8d /remoting/client/frame_consumer.h
parent97a5da4f358fed573663fe9b7e19039ef662eeec (diff)
downloadchromium_src-46860da6ddd4e6855923a93990317964dba0ecbf.zip
chromium_src-46860da6ddd4e6855923a93990317964dba0ecbf.tar.gz
chromium_src-46860da6ddd4e6855923a93990317964dba0ecbf.tar.bz2
Add VideoProcessor interface.
The new VideoProcessor interface abstracts video layer in chromoting client. RectangleUpdateDecoder is the default implementation. Another implementation will be added to suppord decoding using <video> and MediaSource API (or Pepper video decode API if we decide to use it instead in the future). BUG=321825 Review URL: https://codereview.chromium.org/136763009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/frame_consumer.h')
-rw-r--r--remoting/client/frame_consumer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/client/frame_consumer.h b/remoting/client/frame_consumer.h
index 165cedd..0996332 100644
--- a/remoting/client/frame_consumer.h
+++ b/remoting/client/frame_consumer.h
@@ -37,7 +37,8 @@ class FrameConsumer {
virtual void ApplyBuffer(const webrtc::DesktopSize& view_size,
const webrtc::DesktopRect& clip_area,
webrtc::DesktopFrame* buffer,
- const webrtc::DesktopRegion& region) = 0;
+ const webrtc::DesktopRegion& region,
+ const webrtc::DesktopRegion& shape) = 0;
// Accepts a buffer that couldn't be used for drawing for any reason (shutdown
// is in progress, the view area has changed, etc.). The accepted buffer can