| 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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 switches::kTraceStartup, | 947 switches::kTraceStartup, |
| 948 // This flag needs to be propagated to the renderer process for | 948 // This flag needs to be propagated to the renderer process for |
| 949 // --in-process-webgl. | 949 // --in-process-webgl. |
| 950 switches::kUseGL, | 950 switches::kUseGL, |
| 951 switches::kUseMobileUserAgent, | 951 switches::kUseMobileUserAgent, |
| 952 switches::kUserAgent, | 952 switches::kUserAgent, |
| 953 switches::kV, | 953 switches::kV, |
| 954 switches::kVideoThreads, | 954 switches::kVideoThreads, |
| 955 switches::kVModule, | 955 switches::kVModule, |
| 956 switches::kWebCoreLogChannels, | 956 switches::kWebCoreLogChannels, |
| 957 switches::kEnableWebGLDraftExtensions, |
| 957 // Please keep these in alphabetical order. Compositor switches here should | 958 // Please keep these in alphabetical order. Compositor switches here should |
| 958 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 959 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 959 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 960 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 960 cc::switches::kCompositeToMailbox, | 961 cc::switches::kCompositeToMailbox, |
| 961 cc::switches::kDisableColorEstimator, | 962 cc::switches::kDisableColorEstimator, |
| 962 cc::switches::kDisableImplSidePainting, | 963 cc::switches::kDisableImplSidePainting, |
| 963 cc::switches::kDisableThreadedAnimation, | 964 cc::switches::kDisableThreadedAnimation, |
| 964 cc::switches::kEnableCompositorFrameMessage, | 965 cc::switches::kEnableCompositorFrameMessage, |
| 965 cc::switches::kEnableImplSidePainting, | 966 cc::switches::kEnableImplSidePainting, |
| 966 cc::switches::kEnablePartialSwap, | 967 cc::switches::kEnablePartialSwap, |
| (...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1767 TRACE_EVENT0("renderer_host", | 1768 TRACE_EVENT0("renderer_host", |
| 1768 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1769 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1769 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1770 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1770 ack_params.sync_point = 0; | 1771 ack_params.sync_point = 0; |
| 1771 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, | 1772 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, |
| 1772 params.gpu_process_host_id, | 1773 params.gpu_process_host_id, |
| 1773 ack_params); | 1774 ack_params); |
| 1774 } | 1775 } |
| 1775 | 1776 |
| 1776 } // namespace content | 1777 } // namespace content |
| OLD | NEW |