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

Side by Side Diff: content/renderer/gpu/gpu_channel_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
« no previous file with comments | « content/renderer/gpu/gpu_channel_host.h ('k') | content/renderer/gpu/gpu_surface_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_channel_host.h" 5 #include "content/renderer/gpu/gpu_channel_host.h"
6 6
7 #include "content/common/child_process.h" 7 #include "content/common/child_process.h"
8 #include "content/common/gpu/gpu_messages.h" 8 #include "content/common/gpu/gpu_messages.h"
9 #include "content/renderer/command_buffer_proxy.h" 9 #include "content/renderer/gpu/command_buffer_proxy.h"
10 #include "content/renderer/gpu_surface_proxy.h" 10 #include "content/renderer/gpu/gpu_surface_proxy.h"
11 #include "content/renderer/gpu_video_service_host.h" 11 #include "content/renderer/gpu/gpu_video_service_host.h"
12 #include "content/renderer/gpu/transport_texture_service.h"
12 #include "content/renderer/render_thread.h" 13 #include "content/renderer/render_thread.h"
13 #include "content/renderer/transport_texture_service.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 15
16 GpuChannelHost::GpuChannelHost() 16 GpuChannelHost::GpuChannelHost()
17 : state_(kUnconnected), 17 : state_(kUnconnected),
18 gpu_video_service_host_(new GpuVideoServiceHost()), 18 gpu_video_service_host_(new GpuVideoServiceHost()),
19 transport_texture_service_(new TransportTextureService()) { 19 transport_texture_service_(new TransportTextureService()) {
20 } 20 }
21 21
22 GpuChannelHost::~GpuChannelHost() { 22 GpuChannelHost::~GpuChannelHost() {
23 } 23 }
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 void GpuChannelHost::DestroySurface(GpuSurfaceProxy* surface) { 204 void GpuChannelHost::DestroySurface(GpuSurfaceProxy* surface) {
205 #if defined(ENABLE_GPU) 205 #if defined(ENABLE_GPU)
206 Send(new GpuChannelMsg_DestroySurface(surface->route_id())); 206 Send(new GpuChannelMsg_DestroySurface(surface->route_id()));
207 if (router_.ResolveRoute(surface->route_id())) 207 if (router_.ResolveRoute(surface->route_id()))
208 router_.RemoveRoute(surface->route_id()); 208 router_.RemoveRoute(surface->route_id());
209 209
210 delete surface; 210 delete surface;
211 #endif 211 #endif
212 } 212 }
OLDNEW
« no previous file with comments | « content/renderer/gpu/gpu_channel_host.h ('k') | content/renderer/gpu/gpu_surface_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698