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

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

Issue 200763011: Add explicit flush after copyTextureCHROMIUM to make the change visible accross contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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/webmediaplayer_android.cc
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
index c184afcd91d9fae451bbb3c0a102bbfdbd4b45fa..c80c72ccacd8c6de4e0090602351467d3630f893 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -462,8 +462,8 @@ bool WebMediaPlayerAndroid::copyVideoTextureToPlatformTexture(
web_graphics_context->pixelStorei(GL_UNPACK_FLIP_Y_CHROMIUM, false);
web_graphics_context->pixelStorei(GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM,
false);
-
web_graphics_context->bindTexture(GL_TEXTURE_EXTERNAL_OES, 0);
+ web_graphics_context->flush();
no sievers 2014/03/18 22:54:29 Actually, you don't need this flush either since y
junj 2014/03/19 07:47:37 My understanding is that the video contents associ
no sievers 2014/03/19 17:02:19 The contents for the StreamTexture are actually up
return true;
}

Powered by Google App Engine
This is Rietveld 408576698