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

Side by Side Diff: content/renderer/gpu/gpu_video_service_host.cc

Issue 7066035: Moved GPU related files in content/renderer into gpu subdirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/gpu_video_service_host.h" 5 #include "content/renderer/gpu/gpu_video_service_host.h"
6 6
7 #include "content/common/gpu/gpu_messages.h" 7 #include "content/common/gpu/gpu_messages.h"
8 #include "content/renderer/gpu_video_decode_accelerator_host.h" 8 #include "content/renderer/gpu/gpu_video_decode_accelerator_host.h"
9 #include "content/renderer/render_thread.h" 9 #include "content/renderer/render_thread.h"
10 #include "media/video/video_decode_accelerator.h" 10 #include "media/video/video_decode_accelerator.h"
11 11
12 GpuVideoServiceHost::GpuVideoServiceHost() 12 GpuVideoServiceHost::GpuVideoServiceHost()
13 : channel_(NULL), 13 : channel_(NULL),
14 next_decoder_host_id_(0) { 14 next_decoder_host_id_(0) {
15 } 15 }
16 16
17 GpuVideoServiceHost::~GpuVideoServiceHost() { 17 GpuVideoServiceHost::~GpuVideoServiceHost() {
18 } 18 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 return NULL; 75 return NULL;
76 } 76 }
77 77
78 GpuVideoDecodeAcceleratorHost* GpuVideoServiceHost::CreateVideoAccelerator( 78 GpuVideoDecodeAcceleratorHost* GpuVideoServiceHost::CreateVideoAccelerator(
79 media::VideoDecodeAccelerator::Client* client) { 79 media::VideoDecodeAccelerator::Client* client) {
80 base::AutoLock auto_lock(lock_); 80 base::AutoLock auto_lock(lock_);
81 DCHECK(channel_); 81 DCHECK(channel_);
82 return new GpuVideoDecodeAcceleratorHost( 82 return new GpuVideoDecodeAcceleratorHost(
83 &router_, channel_, next_decoder_host_id_++, client); 83 &router_, channel_, next_decoder_host_id_++, client);
84 } 84 }
OLDNEW
« no previous file with comments | « content/renderer/gpu/gpu_video_service_host.h ('k') | content/renderer/gpu/renderer_gl_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698