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

Unified Diff: media/gpu/gpu_video_decode_accelerator_factory.h

Issue 2864603002: Provide callback to create mojo AndroidOverlays to AVDA. (Closed)
Patch Set: rebased Created 3 years, 7 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: media/gpu/gpu_video_decode_accelerator_factory.h
diff --git a/media/gpu/gpu_video_decode_accelerator_factory.h b/media/gpu/gpu_video_decode_accelerator_factory.h
index 71d5a304ba4b54a1cca9ebccc5f7b2f7053723a0..d54230cdfc33eb99cd12593f0af487937976a86c 100644
--- a/media/gpu/gpu_video_decode_accelerator_factory.h
+++ b/media/gpu/gpu_video_decode_accelerator_factory.h
@@ -12,6 +12,7 @@
#include "gpu/command_buffer/service/gpu_preferences.h"
#include "gpu/config/gpu_driver_bug_workarounds.h"
#include "gpu/config/gpu_info.h"
+#include "media/base/android_overlay_mojo_factory.h"
#include "media/gpu/media_gpu_export.h"
#include "media/video/video_decode_accelerator.h"
@@ -65,7 +66,8 @@ class MEDIA_GPU_EXPORT GpuVideoDecodeAcceleratorFactory {
const GetGLContextCallback& get_gl_context_cb,
const MakeGLContextCurrentCallback& make_context_current_cb,
const BindGLImageCallback& bind_image_cb,
- const GetGLES2DecoderCallback& get_gles2_decoder_cb);
+ const GetGLES2DecoderCallback& get_gles2_decoder_cb,
+ const AndroidOverlayMojoFactoryCB& overlay_factory_cb);
static std::unique_ptr<GpuVideoDecodeAcceleratorFactory> CreateWithNoGL();
@@ -84,7 +86,8 @@ class MEDIA_GPU_EXPORT GpuVideoDecodeAcceleratorFactory {
const GetGLContextCallback& get_gl_context_cb,
const MakeGLContextCurrentCallback& make_context_current_cb,
const BindGLImageCallback& bind_image_cb,
- const GetGLES2DecoderCallback& get_gles2_decoder_cb);
+ const GetGLES2DecoderCallback& get_gles2_decoder_cb,
+ const AndroidOverlayMojoFactoryCB& overlay_factory_cb);
#if defined(OS_WIN)
std::unique_ptr<VideoDecodeAccelerator> CreateD3D11VDA(
@@ -122,6 +125,7 @@ class MEDIA_GPU_EXPORT GpuVideoDecodeAcceleratorFactory {
const MakeGLContextCurrentCallback make_context_current_cb_;
const BindGLImageCallback bind_image_cb_;
const GetGLES2DecoderCallback get_gles2_decoder_cb_;
+ const AndroidOverlayMojoFactoryCB overlay_factory_cb_;
base::ThreadChecker thread_checker_;
« no previous file with comments | « media/gpu/android_video_decode_accelerator_unittest.cc ('k') | media/gpu/gpu_video_decode_accelerator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698