Index: content/common/gpu/media/vaapi_drm_picture.h |
diff --git a/content/common/gpu/media/vaapi_drm_picture.h b/content/common/gpu/media/vaapi_drm_picture.h |
index 46c7304823535e6f8e244c92b75a1eb5310d10db..82f1a1342086111603281d002ccc86b6b76af1ea 100644 |
--- a/content/common/gpu/media/vaapi_drm_picture.h |
+++ b/content/common/gpu/media/vaapi_drm_picture.h |
@@ -15,7 +15,7 @@ |
#include "ui/gfx/geometry/size.h" |
namespace gfx { |
-class GLImageLinuxDMABuffer; |
+class GLImage; |
} |
namespace ui { |
@@ -41,6 +41,8 @@ class VaapiDrmPicture : public VaapiPicture { |
bool DownloadFromSurface(const scoped_refptr<VASurface>& va_surface) override; |
+ scoped_refptr<gfx::GLImage> GetImageToBind() override; |
+ |
private: |
VaapiWrapper* vaapi_wrapper_; // Not owned. |
base::Callback<bool(void)> make_context_current_; |
@@ -49,7 +51,7 @@ class VaapiDrmPicture : public VaapiPicture { |
scoped_refptr<ui::NativePixmap> pixmap_; |
// EGLImage bound to the GL textures used by the VDA client. |
- scoped_refptr<gfx::GLImageLinuxDMABuffer> gl_image_; |
+ scoped_refptr<gfx::GLImage> gl_image_; |
// VASurface used to transfer from the decoder's pixel format. |
scoped_refptr<VASurface> va_surface_; |