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

Unified Diff: content/renderer/gpu/gpu_video_service_host.cc

Issue 7260008: Implement proper synchronization between HW video decode IPC and CommandBuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing compilation errors from bots. Created 9 years, 6 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/renderer/gpu/gpu_video_service_host.cc
diff --git a/content/renderer/gpu/gpu_video_service_host.cc b/content/renderer/gpu/gpu_video_service_host.cc
index 9b3fe2238dfa67c78fad784d6a963a84e50c5593..83c1a41fbc5fe2c1ad11539559ba78f04d735cda 100644
--- a/content/renderer/gpu/gpu_video_service_host.cc
+++ b/content/renderer/gpu/gpu_video_service_host.cc
@@ -72,10 +72,11 @@ void GpuVideoServiceHost::SetOnInitialized(
GpuVideoDecodeAcceleratorHost* GpuVideoServiceHost::CreateVideoAccelerator(
media::VideoDecodeAccelerator::Client* client,
- int command_buffer_route_id) {
+ int32 command_buffer_route_id,
+ gpu::CommandBufferHelper* cmd_buffer_helper) {
base::AutoLock auto_lock(lock_);
DCHECK(channel_);
return new GpuVideoDecodeAcceleratorHost(
&router_, channel_, next_decoder_host_id_++,
- command_buffer_route_id, client);
+ command_buffer_route_id, cmd_buffer_helper, client);
}

Powered by Google App Engine
This is Rietveld 408576698