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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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/browser/gpu/gpu_process_host.cc ('k') | content/common/child_process_messages.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) 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 #include "content/browser/streams/stream_context.h" 104 #include "content/browser/streams/stream_context.h"
105 #include "content/browser/tracing/trace_message_filter.h" 105 #include "content/browser/tracing/trace_message_filter.h"
106 #include "content/browser/vibration/vibration_message_filter.h" 106 #include "content/browser/vibration/vibration_message_filter.h"
107 #include "content/browser/webui/web_ui_controller_factory_registry.h" 107 #include "content/browser/webui/web_ui_controller_factory_registry.h"
108 #include "content/browser/worker_host/worker_message_filter.h" 108 #include "content/browser/worker_host/worker_message_filter.h"
109 #include "content/browser/worker_host/worker_storage_partition.h" 109 #include "content/browser/worker_host/worker_storage_partition.h"
110 #include "content/common/child_process_host_impl.h" 110 #include "content/common/child_process_host_impl.h"
111 #include "content/common/child_process_messages.h" 111 #include "content/common/child_process_messages.h"
112 #include "content/common/content_switches_internal.h" 112 #include "content/common/content_switches_internal.h"
113 #include "content/common/gpu/client/gpu_memory_buffer_impl.h" 113 #include "content/common/gpu/client/gpu_memory_buffer_impl.h"
114 #include "content/common/gpu/client/gpu_memory_buffer_impl_shm.h"
115 #include "content/common/gpu/gpu_messages.h" 114 #include "content/common/gpu/gpu_messages.h"
116 #include "content/common/mojo/mojo_messages.h" 115 #include "content/common/mojo/mojo_messages.h"
117 #include "content/common/resource_messages.h" 116 #include "content/common/resource_messages.h"
118 #include "content/common/view_messages.h" 117 #include "content/common/view_messages.h"
119 #include "content/public/browser/browser_context.h" 118 #include "content/public/browser/browser_context.h"
120 #include "content/public/browser/content_browser_client.h" 119 #include "content/public/browser/content_browser_client.h"
121 #include "content/public/browser/notification_service.h" 120 #include "content/public/browser/notification_service.h"
122 #include "content/public/browser/notification_types.h" 121 #include "content/public/browser/notification_types.h"
123 #include "content/public/browser/render_process_host_factory.h" 122 #include "content/public/browser/render_process_host_factory.h"
124 #include "content/public/browser/render_process_host_observer.h" 123 #include "content/public/browser/render_process_host_observer.h"
(...skipping 2202 matching lines...) Expand 10 before | Expand all | Expand 10 after
2327 void RenderProcessHostImpl::GpuMemoryBufferAllocated( 2326 void RenderProcessHostImpl::GpuMemoryBufferAllocated(
2328 IPC::Message* reply, 2327 IPC::Message* reply,
2329 const gfx::GpuMemoryBufferHandle& handle) { 2328 const gfx::GpuMemoryBufferHandle& handle) {
2330 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2329 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2331 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, 2330 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply,
2332 handle); 2331 handle);
2333 Send(reply); 2332 Send(reply);
2334 } 2333 }
2335 2334
2336 } // namespace content 2335 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/child_process_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698