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

Unified Diff: media/gpu/vaapi_drm_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 | « gpu/command_buffer/tests/texture_image_factory.cc ('k') | media/gpu/vaapi_tfp_picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_drm_picture.cc
diff --git a/media/gpu/vaapi_drm_picture.cc b/media/gpu/vaapi_drm_picture.cc
index c61d12ce6bb843b9148f4ba32f74491046c1c5f7..f70443ad7c1ad96537cc8832871a21a44ab2708e 100644
--- a/media/gpu/vaapi_drm_picture.cc
+++ b/media/gpu/vaapi_drm_picture.cc
@@ -84,7 +84,7 @@ bool VaapiDrmPicture::Initialize() {
return false;
}
gl_image_ = image;
- if (!gl_image_->BindTexImage(GL_TEXTURE_EXTERNAL_OES)) {
+ if (!gl_image_->BindTexImage(GL_TEXTURE_EXTERNAL_OES, nullptr)) {
LOG(ERROR) << "Failed to bind texture to GLImage";
return false;
}
« no previous file with comments | « gpu/command_buffer/tests/texture_image_factory.cc ('k') | media/gpu/vaapi_tfp_picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698