Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: remoting/client/frame_consumer_proxy.h

Issue 9331003: Improving the decoder pipeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/client/frame_consumer_proxy.h
diff --git a/remoting/client/frame_consumer_proxy.h b/remoting/client/frame_consumer_proxy.h
index d7dd4b23d9c15f0beb6d2ce043048976ce3179b3..6ab0e01b13daee3a246f643b98fe848b7e9ddd2e 100644
--- a/remoting/client/frame_consumer_proxy.h
+++ b/remoting/client/frame_consumer_proxy.h
@@ -30,14 +30,13 @@ class FrameConsumerProxy
virtual ~FrameConsumerProxy();
// FrameConsumer implementation.
- virtual void AllocateFrame(media::VideoFrame::Format format,
- const SkISize& size,
- scoped_refptr<media::VideoFrame>* frame_out,
- const base::Closure& done) OVERRIDE;
- virtual void ReleaseFrame(media::VideoFrame* frame) OVERRIDE;
- virtual void OnPartialFrameOutput(media::VideoFrame* frame,
- SkRegion* region,
- const base::Closure& done) OVERRIDE;
+ virtual void OnFrameReady(const SkISize& screen_size,
+ SkISize* view_size_out,
+ SkIRect* clip_area_out,
+ scoped_ptr<pp::ImageData>* backing_store_out,
+ const base::Closure& done);
+ virtual void OnPaintDone(scoped_ptr<pp::ImageData> backing_store,
+ scoped_ptr<SkRegion> updated_region) OVERRIDE;
// Detaches from |frame_consumer_|, ensuring no further calls reach it.
// This must only be called from |frame_consumer_message_loop_|.

Powered by Google App Engine
This is Rietveld 408576698