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

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

Issue 10663003: Merge the IPCs used for GPU process synchronization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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 unified diff | Download patch | Annotate | Revision Log
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 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size); 1386 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size);
1387 } 1387 }
1388 1388
1389 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( 1389 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost(
1390 int32 surface_id, 1390 int32 surface_id,
1391 uint64 surface_handle, 1391 uint64 surface_handle,
1392 int32 route_id, 1392 int32 route_id,
1393 int32 gpu_process_host_id) { 1393 int32 gpu_process_host_id) {
1394 TRACE_EVENT0("renderer_host", 1394 TRACE_EVENT0("renderer_host",
1395 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1395 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1396 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, 1396 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1397 gpu_process_host_id); 1397 gpu_process_host_id);
1398 } 1398 }
1399 1399
1400 } // namespace content 1400 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698