| Index: public/platform/WebExternalTextureLayerClient.h
|
| diff --git a/public/platform/WebExternalTextureLayerClient.h b/public/platform/WebExternalTextureLayerClient.h
|
| index 4829600c21f94fd14262fd417331b98c55995be2..7a7830a6d0cf6484d3bcefdff150b682daad7552 100644
|
| --- a/public/platform/WebExternalTextureLayerClient.h
|
| +++ b/public/platform/WebExternalTextureLayerClient.h
|
| @@ -32,6 +32,7 @@
|
| namespace WebKit {
|
|
|
| class WebGraphicsContext3D;
|
| +class WebExternalBitmap;
|
| struct WebExternalTextureMailbox;
|
|
|
| class WebTextureUpdater {
|
| @@ -47,9 +48,10 @@ public:
|
| virtual unsigned prepareTexture(WebTextureUpdater&) = 0;
|
| virtual WebGraphicsContext3D* context() = 0;
|
|
|
| - // Returns true and provides a mailbox if a new frame is available.
|
| - // Returns false if no new data is available and the old mailbox is to be reused.
|
| - virtual bool prepareMailbox(WebExternalTextureMailbox*) = 0;
|
| + // Returns true and provides a mailbox if a new frame is available. If the WebExternalBitmap
|
| + // isn't 0, then it should also be filled in with the contents of this frame.
|
| + // Returns false if no new data is available and the old mailbox and bitmap are to be reused.
|
| + virtual bool prepareMailbox(WebExternalTextureMailbox*, WebExternalBitmap* = 0) = 0;
|
|
|
| // Notifies the client when a mailbox is no longer in use by the compositor and provides
|
| // a sync point to wait on before the mailbox could be consumes again by the client.
|
|
|