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

Unified Diff: media/gpu/dxva_video_decode_accelerator_win.h

Issue 2495753002: Reenable idle suspension of media elements on Windows. (Closed)
Patch Set: change ifdef Created 4 years, 1 month 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: media/gpu/dxva_video_decode_accelerator_win.h
diff --git a/media/gpu/dxva_video_decode_accelerator_win.h b/media/gpu/dxva_video_decode_accelerator_win.h
index fbcf804fac61c07a8a0e0c3143d885d3b9ae44c0..8d5b36782b30380e901e2be0747cefcbcd5c87f7 100644
--- a/media/gpu/dxva_video_decode_accelerator_win.h
+++ b/media/gpu/dxva_video_decode_accelerator_win.h
@@ -116,6 +116,7 @@ class MEDIA_GPU_EXPORT DXVAVideoDecodeAccelerator
DXVAVideoDecodeAccelerator(
const GetGLContextCallback& get_gl_context_cb,
const MakeGLContextCurrentCallback& make_context_current_cb,
+ const BindGLImageCallback& bind_image_cb,
const gpu::GpuDriverBugWorkarounds& workarounds,
const gpu::GpuPreferences& gpu_preferences);
~DXVAVideoDecodeAccelerator() override;
@@ -453,6 +454,7 @@ class MEDIA_GPU_EXPORT DXVAVideoDecodeAccelerator
GetGLContextCallback get_gl_context_cb_;
// Callback to set the correct gl context.
MakeGLContextCurrentCallback make_context_current_cb_;
+ BindGLImageCallback bind_image_cb_;
// Which codec we are decoding with hardware acceleration.
VideoCodec codec_;

Powered by Google App Engine
This is Rietveld 408576698