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

Unified Diff: media/gpu/avda_picture_buffer_manager.cc

Issue 2351293003: Relocate SurfaceTexture usage from AVDA GLImage into shared state. (Closed)
Patch Set: Unflip default matrix. Created 4 years, 3 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: media/gpu/avda_picture_buffer_manager.cc
diff --git a/media/gpu/avda_picture_buffer_manager.cc b/media/gpu/avda_picture_buffer_manager.cc
index 7d6b5d0049334117ddb4f14964cd5a47a0032d17..781f22ad3fdff593d42f153f8f8faf28455c6e04 100644
--- a/media/gpu/avda_picture_buffer_manager.cc
+++ b/media/gpu/avda_picture_buffer_manager.cc
@@ -291,7 +291,7 @@ void AVDAPictureBufferManager::AssignOnePictureBuffer(
// We use a refptr here in case SetImageForPicture fails.
scoped_refptr<gpu::gles2::GLStreamTextureImage> gl_image =
new AVDACodecImage(picture_buffer.id(), shared_state_, media_codec_,
- state_provider_->GetGlDecoder(), surface_texture_);
+ state_provider_->GetGlDecoder());
SetImageForPicture(picture_buffer, gl_image);
if (!surface_texture_ && have_context) {

Powered by Google App Engine
This is Rietveld 408576698