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

Unified Diff: media/blink/webmediaplayer_params.cc

Issue 445013002: media: Optimize HW Video to 2D Canvas copy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve comments, rebase to ToT Created 6 years, 2 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/blink/webmediaplayer_params.cc
diff --git a/media/blink/webmediaplayer_params.cc b/media/blink/webmediaplayer_params.cc
index 1fd2b8af80f9c3e4ca18fbe8df35bfc1f178d4ea..b5c844836be049318700e8916524f83e3a3ef7e2 100644
--- a/media/blink/webmediaplayer_params.cc
+++ b/media/blink/webmediaplayer_params.cc
@@ -12,7 +12,7 @@
namespace media {
WebMediaPlayerParams::WebMediaPlayerParams(
- const base::Callback<void(const base::Closure&)>& defer_load_cb,
+ const DeferLoadCB& defer_load_cb,
const scoped_refptr<AudioRendererSink>& audio_renderer_sink,
const AudioHardwareConfig& audio_hardware_config,
const scoped_refptr<MediaLog>& media_log,
@@ -21,6 +21,7 @@ WebMediaPlayerParams::WebMediaPlayerParams(
const scoped_refptr<base::SingleThreadTaskRunner>& compositor_task_runner,
const EncryptedMediaPlayerSupportCreateCB&
encrypted_media_player_support_cb,
+ const Context3DProviderCB& shared_main_thread_context_3d_provider_cb,
blink::WebContentDecryptionModule* initial_cdm)
: defer_load_cb_(defer_load_cb),
audio_renderer_sink_(audio_renderer_sink),
@@ -30,6 +31,8 @@ WebMediaPlayerParams::WebMediaPlayerParams(
media_task_runner_(media_task_runner),
compositor_task_runner_(compositor_task_runner),
encrypted_media_player_support_cb_(encrypted_media_player_support_cb),
+ shared_main_thread_context_3d_provider_cb_(
+ shared_main_thread_context_3d_provider_cb),
initial_cdm_(initial_cdm) {
}

Powered by Google App Engine
This is Rietveld 408576698