Chromium Code Reviews| Index: content/common/gpu/media/vaapi_picture.h |
| diff --git a/content/common/gpu/media/vaapi_picture.h b/content/common/gpu/media/vaapi_picture.h |
| index 44d9db733f91097c66a0abfe237483dafc544959..ad43dfa3af303270cb0be47a8b1fbe09b662511c 100644 |
| --- a/content/common/gpu/media/vaapi_picture.h |
| +++ b/content/common/gpu/media/vaapi_picture.h |
| @@ -16,6 +16,10 @@ |
| #include "base/threading/non_thread_safe.h" |
| #include "ui/gfx/geometry/size.h" |
| +namespace gfx { |
| +class GLImage; |
| +} |
| + |
| namespace content { |
| class VASurface; |
| @@ -33,6 +37,11 @@ class VaapiPicture : public base::NonThreadSafe { |
| uint32 texture_id() const { return texture_id_; } |
| const gfx::Size& size() const { return size_; } |
| + virtual bool AllowOverlay() const; |
|
Pawel Osciak
2015/01/28 23:52:02
Please document.
|
| + |
| + // Returns the |GLImage|, if any, to bind to the texture. |
| + virtual scoped_refptr<gfx::GLImage> GetImageToBind() = 0; |
| + |
| // Downloads the |va_surface| into the picture, potentially scaling |
| // it if needed. |
| virtual bool DownloadFromSurface( |