Chromium Code Reviews| Index: media/video/video_decode_accelerator.h |
| diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h |
| index 4df3b1c915836ef4dee55690d6a6880c3d1b24de..13deb2003ef4399fa2b8d83986b0feb9a91dbe27 100644 |
| --- a/media/video/video_decode_accelerator.h |
| +++ b/media/video/video_decode_accelerator.h |
| @@ -13,6 +13,8 @@ |
| #include "media/video/picture.h" |
| #include "ui/gfx/size.h" |
| +typedef unsigned int GLenum; |
| + |
| namespace media { |
| // Video decoder interface. |
| @@ -143,6 +145,10 @@ class MEDIA_EXPORT VideoDecodeAccelerator { |
| // the first time so it can be cleared. |
| virtual bool CanDecodeOnIOThread(); |
| + // Windows creates a BGRA texture. |
| + // FIXME: after moving to D3D11, remove this workaround. crbug.com/438691 |
|
scherkus (not reviewing)
2014/12/08 22:51:36
ditto
|
| + virtual GLenum GetSurfaceInternalFormat() const; |
| + |
| protected: |
| // Do not delete directly; use Destroy() or own it with a scoped_ptr, which |
| // will Destroy() it properly by default. |