| 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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 switches::kUseGL, | 934 switches::kUseGL, |
| 935 switches::kUseMobileUserAgent, | 935 switches::kUseMobileUserAgent, |
| 936 switches::kUserAgent, | 936 switches::kUserAgent, |
| 937 switches::kV, | 937 switches::kV, |
| 938 switches::kVideoThreads, | 938 switches::kVideoThreads, |
| 939 switches::kVModule, | 939 switches::kVModule, |
| 940 switches::kWebCoreLogChannels, | 940 switches::kWebCoreLogChannels, |
| 941 // Please keep these in alphabetical order. Compositor switches here should | 941 // Please keep these in alphabetical order. Compositor switches here should |
| 942 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 942 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 943 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 943 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 944 cc::switches::kCCUseMapImage, |
| 944 cc::switches::kCompositeToMailbox, | 945 cc::switches::kCompositeToMailbox, |
| 945 cc::switches::kDisableColorEstimator, | 946 cc::switches::kDisableColorEstimator, |
| 946 cc::switches::kDisableImplSidePainting, | 947 cc::switches::kDisableImplSidePainting, |
| 947 cc::switches::kDisableThreadedAnimation, | 948 cc::switches::kDisableThreadedAnimation, |
| 948 cc::switches::kEnableCompositorFrameMessage, | 949 cc::switches::kEnableCompositorFrameMessage, |
| 949 cc::switches::kEnableImplSidePainting, | 950 cc::switches::kEnableImplSidePainting, |
| 950 cc::switches::kEnablePartialSwap, | 951 cc::switches::kEnablePartialSwap, |
| 951 cc::switches::kEnablePerTilePainting, | 952 cc::switches::kEnablePerTilePainting, |
| 952 cc::switches::kEnablePinchZoomScrollbars, | 953 cc::switches::kEnablePinchZoomScrollbars, |
| 953 cc::switches::kDisablePinchZoomScrollbars, | 954 cc::switches::kDisablePinchZoomScrollbars, |
| (...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1756 TRACE_EVENT0("renderer_host", | 1757 TRACE_EVENT0("renderer_host", |
| 1757 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1758 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1758 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1759 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1759 ack_params.sync_point = 0; | 1760 ack_params.sync_point = 0; |
| 1760 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1761 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1761 gpu_process_host_id, | 1762 gpu_process_host_id, |
| 1762 ack_params); | 1763 ack_params); |
| 1763 } | 1764 } |
| 1764 | 1765 |
| 1765 } // namespace content | 1766 } // namespace content |
| OLD | NEW |