| 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..547e1bb12de64079a44b8d7be08c944af23d1933 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.
|
| + // TODO(dshwang): after moving to D3D11, remove this. crbug.com/438691
|
| + 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.
|
|
|