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

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

Issue 10826238: Ensure that the correct open gl context is made current before attempting to write to the open (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/gpu_video_decode_accelerator.cc
===================================================================
--- content/common/gpu/media/gpu_video_decode_accelerator.cc (revision 150949)
+++ content/common/gpu/media/gpu_video_decode_accelerator.cc (working copy)
@@ -169,7 +169,8 @@
return;
}
DLOG(INFO) << "Initializing DXVA HW decoder for windows.";
- video_decode_accelerator_.reset(new DXVAVideoDecodeAccelerator(this));
+ video_decode_accelerator_.reset(new DXVAVideoDecodeAccelerator(
+ this, make_context_current_));
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL)
video_decode_accelerator_.reset(new OmxVideoDecodeAccelerator(
gfx::GLSurfaceEGL::GetHardwareDisplay(),

Powered by Google App Engine
This is Rietveld 408576698