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

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

Issue 1551143002: Remove the "target" argument from CopyTextureChromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error. Created 4 years, 12 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 4a1f4f74fde973229147c86413149cdc6101554c..a0dff2b9240fb4ff0c8a474ae23f8b0be22305ef 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -713,9 +713,9 @@ 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.
- web_graphics_context->copyTextureCHROMIUM(
- GL_TEXTURE_2D, src_texture, texture, internal_format, type,
- flip_y, premultiply_alpha, false);
+ web_graphics_context->copyTextureCHROMIUM(src_texture, texture,
+ internal_format, type, flip_y,
+ premultiply_alpha, false);
web_graphics_context->deleteTexture(src_texture);
web_graphics_context->flush();
« no previous file with comments | « cc/raster/one_copy_tile_task_worker_pool.cc ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698