| 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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 907 cc::switches::kDisableImplSidePainting, | 907 cc::switches::kDisableImplSidePainting, |
| 908 cc::switches::kDisableThreadedAnimation, | 908 cc::switches::kDisableThreadedAnimation, |
| 909 cc::switches::kEnableCompositorFrameMessage, | 909 cc::switches::kEnableCompositorFrameMessage, |
| 910 cc::switches::kEnableImplSidePainting, | 910 cc::switches::kEnableImplSidePainting, |
| 911 cc::switches::kEnablePartialSwap, | 911 cc::switches::kEnablePartialSwap, |
| 912 cc::switches::kEnablePerTilePainting, | 912 cc::switches::kEnablePerTilePainting, |
| 913 cc::switches::kEnablePredictionBenchmarking, | 913 cc::switches::kEnablePredictionBenchmarking, |
| 914 cc::switches::kEnableRightAlignedScheduling, | 914 cc::switches::kEnableRightAlignedScheduling, |
| 915 cc::switches::kEnableTopControlsPositionCalculation, | 915 cc::switches::kEnableTopControlsPositionCalculation, |
| 916 cc::switches::kLowResolutionContentsScaleFactor, | 916 cc::switches::kLowResolutionContentsScaleFactor, |
| 917 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 917 cc::switches::kNumRasterThreads, | 918 cc::switches::kNumRasterThreads, |
| 918 cc::switches::kMaxPrepaintTileDistance, | 919 cc::switches::kMaxPrepaintTileDistance, |
| 919 cc::switches::kMaxTilesForInterestArea, | 920 cc::switches::kMaxTilesForInterestArea, |
| 920 cc::switches::kShowCompositedLayerBorders, | 921 cc::switches::kShowCompositedLayerBorders, |
| 921 cc::switches::kShowCompositedLayerTree, | 922 cc::switches::kShowCompositedLayerTree, |
| 922 cc::switches::kShowFPSCounter, | 923 cc::switches::kShowFPSCounter, |
| 923 cc::switches::kShowNonOccludingRects, | 924 cc::switches::kShowNonOccludingRects, |
| 924 cc::switches::kShowOccludingRects, | 925 cc::switches::kShowOccludingRects, |
| 925 cc::switches::kShowPropertyChangedRects, | 926 cc::switches::kShowPropertyChangedRects, |
| 926 cc::switches::kShowReplicaScreenSpaceRects, | 927 cc::switches::kShowReplicaScreenSpaceRects, |
| (...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1711 TRACE_EVENT0("renderer_host", | 1712 TRACE_EVENT0("renderer_host", |
| 1712 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1713 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1713 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1714 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1714 ack_params.sync_point = 0; | 1715 ack_params.sync_point = 0; |
| 1715 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1716 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1716 gpu_process_host_id, | 1717 gpu_process_host_id, |
| 1717 ack_params); | 1718 ack_params); |
| 1718 } | 1719 } |
| 1719 | 1720 |
| 1720 } // namespace content | 1721 } // namespace content |
| OLD | NEW |