OLD | NEW |
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 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1597 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( | 1597 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( |
1598 int32 surface_id, | 1598 int32 surface_id, |
1599 uint64 surface_handle, | 1599 uint64 surface_handle, |
1600 int32 route_id, | 1600 int32 route_id, |
1601 const gfx::Size& size, | 1601 const gfx::Size& size, |
1602 int32 gpu_process_host_id) { | 1602 int32 gpu_process_host_id) { |
1603 TRACE_EVENT0("renderer_host", | 1603 TRACE_EVENT0("renderer_host", |
1604 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1604 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1605 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1605 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1606 gpu_process_host_id, | 1606 gpu_process_host_id, |
1607 false, | 1607 surface_handle, |
1608 0); | 1608 0); |
1609 } | 1609 } |
1610 | 1610 |
1611 } // namespace content | 1611 } // namespace content |
OLD | NEW |