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

Unified Diff: media/gpu/vaapi_tfp_picture.cc

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 years, 1 month 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
« no previous file with comments | « media/gpu/vaapi_drm_picture.cc ('k') | media/renderers/video_overlay_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_tfp_picture.cc
diff --git a/media/gpu/vaapi_tfp_picture.cc b/media/gpu/vaapi_tfp_picture.cc
index 25baf920741f69b975e284cd1f22923f16ebe237..f3cf495605d7ce0bc78f51190adbabbbe4a00795 100644
--- a/media/gpu/vaapi_tfp_picture.cc
+++ b/media/gpu/vaapi_tfp_picture.cc
@@ -58,7 +58,7 @@ bool VaapiTFPPicture::Initialize() {
}
gl::ScopedTextureBinder texture_binder(GL_TEXTURE_2D, texture_id_);
- if (!glx_image_->BindTexImage(GL_TEXTURE_2D)) {
+ if (!glx_image_->BindTexImage(GL_TEXTURE_2D, nullptr)) {
LOG(ERROR) << "Failed to bind texture to glx image";
return false;
}
« no previous file with comments | « media/gpu/vaapi_drm_picture.cc ('k') | media/renderers/video_overlay_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698