| Index: media/gpu/dxva_picture_buffer_win.h
|
| diff --git a/media/gpu/dxva_picture_buffer_win.h b/media/gpu/dxva_picture_buffer_win.h
|
| index da658a95fa079b267f8584646a4cf3bb46a4ed91..959504fec69281bf4aa2098ffe8c20618575f85d 100644
|
| --- a/media/gpu/dxva_picture_buffer_win.h
|
| +++ b/media/gpu/dxva_picture_buffer_win.h
|
| @@ -17,6 +17,7 @@
|
| #include "third_party/angle/include/EGL/egl.h"
|
| #include "third_party/angle/include/EGL/eglext.h"
|
| #include "ui/gl/gl_fence.h"
|
| +#include "ui/gl/gl_image.h"
|
|
|
| interface IMFSample;
|
|
|
| @@ -53,6 +54,8 @@ class DXVAPictureBuffer {
|
| gfx::Size size() const { return picture_buffer_.size(); }
|
| void set_bound();
|
|
|
| + scoped_refptr<gl::GLImage> gl_image() { return gl_image_; }
|
| +
|
| const gfx::ColorSpace& color_space() const { return color_space_; }
|
| void set_color_space(const gfx::ColorSpace& color_space) {
|
| color_space_ = color_space;
|
| @@ -73,6 +76,7 @@ class DXVAPictureBuffer {
|
| State state_ = UNUSED;
|
| PictureBuffer picture_buffer_;
|
| gfx::ColorSpace color_space_;
|
| + scoped_refptr<gl::GLImage> gl_image_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DXVAPictureBuffer);
|
| };
|
|
|