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

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

Issue 1827123002: Move content/common/gpu/client to gpu/ipc/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 8 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/compositor_output_surface.h" 5 #include "content/renderer/gpu/compositor_output_surface.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "cc/output/compositor_frame.h" 14 #include "cc/output/compositor_frame.h"
15 #include "cc/output/compositor_frame_ack.h" 15 #include "cc/output/compositor_frame_ack.h"
16 #include "cc/output/managed_memory_policy.h" 16 #include "cc/output/managed_memory_policy.h"
17 #include "cc/output/output_surface_client.h" 17 #include "cc/output/output_surface_client.h"
18 #include "content/common/gpu/client/command_buffer_proxy_impl.h"
19 #include "content/common/gpu/client/context_provider_command_buffer.h" 18 #include "content/common/gpu/client/context_provider_command_buffer.h"
20 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 19 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
21 #include "content/common/view_messages.h" 20 #include "content/common/view_messages.h"
22 #include "content/public/common/content_switches.h" 21 #include "content/public/common/content_switches.h"
23 #include "content/renderer/gpu/frame_swap_message_queue.h" 22 #include "content/renderer/gpu/frame_swap_message_queue.h"
24 #include "content/renderer/render_thread_impl.h" 23 #include "content/renderer/render_thread_impl.h"
25 #include "gpu/command_buffer/client/context_support.h" 24 #include "gpu/command_buffer/client/context_support.h"
26 #include "gpu/command_buffer/client/gles2_interface.h" 25 #include "gpu/command_buffer/client/gles2_interface.h"
26 #include "gpu/ipc/client/command_buffer_proxy_impl.h"
27 #include "ipc/ipc_sync_channel.h" 27 #include "ipc/ipc_sync_channel.h"
28 28
29 namespace content { 29 namespace content {
30 30
31 CompositorOutputSurface::CompositorOutputSurface( 31 CompositorOutputSurface::CompositorOutputSurface(
32 int32_t routing_id, 32 int32_t routing_id,
33 uint32_t output_surface_id, 33 uint32_t output_surface_id,
34 const scoped_refptr<ContextProviderCommandBuffer>& context_provider, 34 const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
35 const scoped_refptr<ContextProviderCommandBuffer>& worker_context_provider, 35 const scoped_refptr<ContextProviderCommandBuffer>& worker_context_provider,
36 scoped_ptr<cc::SoftwareOutputDevice> software_device, 36 scoped_ptr<cc::SoftwareOutputDevice> software_device,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 if (output_surface_id != output_surface_id_) 191 if (output_surface_id != output_surface_id_)
192 return; 192 return;
193 ReclaimResources(&ack); 193 ReclaimResources(&ack);
194 } 194 }
195 195
196 bool CompositorOutputSurface::Send(IPC::Message* message) { 196 bool CompositorOutputSurface::Send(IPC::Message* message) {
197 return message_sender_->Send(message); 197 return message_sender_->Send(message);
198 } 198 }
199 199
200 } // namespace content 200 } // namespace content
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698