Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2210)

Unified Diff: content/common/gpu/media/vaapi_tfp_picture.cc

Issue 858653002: vaapi plumbing to allow hardware video overlays (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cc plumbing going in first, so put the link back in Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/vaapi_tfp_picture.cc
diff --git a/content/common/gpu/media/vaapi_tfp_picture.cc b/content/common/gpu/media/vaapi_tfp_picture.cc
index 7f0122f004f927f224f834eff9851bb2f25ebf93..50615403db607e7ef29a9e1f9f620c1355dda0aa 100644
--- a/content/common/gpu/media/vaapi_tfp_picture.cc
+++ b/content/common/gpu/media/vaapi_tfp_picture.cc
@@ -18,7 +18,7 @@ VaapiTFPPicture::VaapiTFPPicture(
int32 picture_buffer_id,
uint32 texture_id,
const gfx::Size& size)
- : VaapiPicture(picture_buffer_id, texture_id, size),
+ : VaapiPicture(picture_buffer_id, texture_id, size, false),
vaapi_wrapper_(vaapi_wrapper),
make_context_current_(make_context_current),
x_display_(gfx::GetXDisplay()),
@@ -74,4 +74,8 @@ bool VaapiTFPPicture::DownloadFromSurface(
va_surface->size());
}
+scoped_refptr<gfx::GLImage> VaapiTFPPicture::GetImageToBind() {
+ return nullptr;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698