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

Unified Diff: content/renderer/media/android/stream_texture_factory_synchronous_impl.cc

Issue 371463009: Making use of bindless variants mailbox produce/consume on remainders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/renderer/media/android/stream_texture_factory_synchronous_impl.cc
diff --git a/content/renderer/media/android/stream_texture_factory_synchronous_impl.cc b/content/renderer/media/android/stream_texture_factory_synchronous_impl.cc
index f423afb604b446763419fffb62a37880fa196161..20c8ee7ae1ab6f16ec19b736b342b4d222f35803 100644
--- a/content/renderer/media/android/stream_texture_factory_synchronous_impl.cc
+++ b/content/renderer/media/android/stream_texture_factory_synchronous_impl.cc
@@ -168,8 +168,8 @@ unsigned StreamTextureFactorySynchronousImpl::CreateStreamTexture(
stream_id = gl->CreateStreamTextureCHROMIUM(*texture_id);
gl->GenMailboxCHROMIUM(texture_mailbox->name);
- gl->BindTexture(texture_target, *texture_id);
- gl->ProduceTextureCHROMIUM(texture_target, texture_mailbox->name);
+ gl->ProduceTextureDirectCHROMIUM(
+ *texture_id, texture_target, texture_mailbox->name);
return stream_id;
}

Powered by Google App Engine
This is Rietveld 408576698