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

Unified Diff: content/common/gpu/media/android_video_decode_accelerator.cc

Issue 1275773003: gpu: support GL_TEXTURE_CUBE_MAP destination target to Copy(Sub)TextureCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build Created 5 years, 4 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/common/gpu/media/android_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/android_video_decode_accelerator.cc b/content/common/gpu/media/android_video_decode_accelerator.cc
index 06d59863d049cacd6c03b22a0ebbf0e908d9755e..37f30693ebe39999f77f9714eae512b4dddeee69 100644
--- a/content/common/gpu/media/android_video_decode_accelerator.cc
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc
@@ -363,6 +363,7 @@ void AndroidVideoDecodeAccelerator::SendCurrentSurfaceToClient(
copier_->DoCopyTextureWithTransform(gl_decoder_.get(),
GL_TEXTURE_EXTERNAL_OES,
surface_texture_id_,
+ GL_TEXTURE_2D,
picture_buffer_texture_id,
size_.width(),
size_.height(),

Powered by Google App Engine
This is Rietveld 408576698