diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-08 03:30:17 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-08 03:30:17 +0000 |
commit | d4d48be8a5e8e71041dad670af0e18d893888e3e (patch) | |
tree | a9b53fc091ead9ed740dfba21bdc715fcffff85c /remoting/client/frame_producer.h | |
parent | e7594613917ab0d665abea21aa60701407c2c06e (diff) | |
download | chromium_src-d4d48be8a5e8e71041dad670af0e18d893888e3e.zip chromium_src-d4d48be8a5e8e71041dad670af0e18d893888e3e.tar.gz chromium_src-d4d48be8a5e8e71041dad670af0e18d893888e3e.tar.bz2 |
Fix startup race-conditions in new Decoder pipeline:
Fix RectangleUpdateDecoder to cope with rendering requests before it is ready.
Fix PepperView not to InitiateDrawing() until initialized.
Fix DecoderVp8::RenderFrame() to allow being called before a frame is decoded.
Add DCHECKs for screen and view size to DecoderVp8.
Clarify requirements on FrameProducer interface implementation in comments.
Clarify screen and view size requirements on Decoder interface methods.
BUG=116842,116851
Review URL: http://codereview.chromium.org/9624022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/frame_producer.h')
-rw-r--r-- | remoting/client/frame_producer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/client/frame_producer.h b/remoting/client/frame_producer.h index 644c270..c7976c5 100644 --- a/remoting/client/frame_producer.h +++ b/remoting/client/frame_producer.h @@ -39,6 +39,7 @@ class FrameProducer { virtual void RequestReturnBuffers(const base::Closure& done) = 0; // Notifies the producer of changes to the output view size or clipping area. + // Implementations must cope with empty |view_size| or |clip_area|. virtual void SetOutputSizeAndClip(const SkISize& view_size, const SkIRect& clip_area) = 0; |