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 ad73432b37ebb265cb9957cd72394abfa2083c6a..1b6e760abf4216501d67aafb8d1ed3d7811e77be 100644 |
| --- a/media/video/video_decode_accelerator.h |
| +++ b/media/video/video_decode_accelerator.h |
| @@ -15,6 +15,7 @@ |
| #include "media/base/video_decoder_config.h" |
| #include "media/video/picture.h" |
| #include "ui/gfx/geometry/size.h" |
| +#include "ui/gl/gl_image.h" |
| typedef unsigned int GLenum; |
| @@ -37,6 +38,11 @@ class MEDIA_EXPORT VideoDecodeAccelerator { |
| }; |
| using SupportedProfiles = std::vector<SupportedProfile>; |
| + typedef base::Callback<bool(void)> MakeContextCurrentCallback; |
| + typedef base::Callback< |
| + void(uint32_t, uint32_t, scoped_refptr<gl::GLImage>, bool)> |
| + BindImageCallback; |
|
sandersd (OOO until July 31)
2016/03/22 21:32:29
Nit: prefer using syntax (see line 39).
ccameron
2016/03/22 22:00:04
Done.
|
| + |
| struct MEDIA_EXPORT Capabilities { |
| Capabilities(); |
| Capabilities(const Capabilities& other); |