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

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

Issue 2610853005: Modify Copy{Sub}TextureCHROMIUM entry point to add level argument (Closed)
Patch Set: fix chromeos Created 3 years, 11 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
« no previous file with comments | « components/exo/buffer.cc ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5f1e5a19534fa8c7fa76cf321fa025fc0582f9f6..ede5afb49a4ae2f18427633ec26757b4c38ffcc2 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -606,8 +606,8 @@ bool WebMediaPlayerAndroid::copyVideoTextureToPlatformTexture(
// value down to get the expected result.
// flip_y==true means to reverse the video orientation while
// flip_y==false means to keep the intrinsic orientation.
- gl->CopyTextureCHROMIUM(src_texture, texture, internal_format, type, flip_y,
- premultiply_alpha, false);
+ gl->CopyTextureCHROMIUM(src_texture, 0, texture, 0, internal_format, type,
+ flip_y, premultiply_alpha, false);
gl->DeleteTextures(1, &src_texture);
gl->Flush();
« no previous file with comments | « components/exo/buffer.cc ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698