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 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 cc::switches::kCompositeToMailbox, | 946 cc::switches::kCompositeToMailbox, |
947 cc::switches::kDisableColorEstimator, | 947 cc::switches::kDisableColorEstimator, |
948 cc::switches::kDisableImplSidePainting, | 948 cc::switches::kDisableImplSidePainting, |
949 cc::switches::kDisableThreadedAnimation, | 949 cc::switches::kDisableThreadedAnimation, |
950 cc::switches::kEnableCompositorFrameMessage, | 950 cc::switches::kEnableCompositorFrameMessage, |
951 cc::switches::kEnableImplSidePainting, | 951 cc::switches::kEnableImplSidePainting, |
952 cc::switches::kEnablePartialSwap, | 952 cc::switches::kEnablePartialSwap, |
953 cc::switches::kEnablePerTilePainting, | 953 cc::switches::kEnablePerTilePainting, |
954 cc::switches::kEnableRightAlignedScheduling, | 954 cc::switches::kEnableRightAlignedScheduling, |
955 cc::switches::kEnableTopControlsPositionCalculation, | 955 cc::switches::kEnableTopControlsPositionCalculation, |
| 956 cc::switches::kForceDirectLayerDrawing, |
956 cc::switches::kLowResolutionContentsScaleFactor, | 957 cc::switches::kLowResolutionContentsScaleFactor, |
| 958 cc::switches::kMaxTilesForInterestArea, |
957 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 959 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
958 cc::switches::kNumRasterThreads, | 960 cc::switches::kNumRasterThreads, |
959 cc::switches::kMaxTilesForInterestArea, | |
960 cc::switches::kShowCompositedLayerBorders, | 961 cc::switches::kShowCompositedLayerBorders, |
961 cc::switches::kShowCompositedLayerTree, | 962 cc::switches::kShowCompositedLayerTree, |
962 cc::switches::kShowFPSCounter, | 963 cc::switches::kShowFPSCounter, |
963 cc::switches::kShowNonOccludingRects, | 964 cc::switches::kShowNonOccludingRects, |
964 cc::switches::kShowOccludingRects, | 965 cc::switches::kShowOccludingRects, |
965 cc::switches::kShowPropertyChangedRects, | 966 cc::switches::kShowPropertyChangedRects, |
966 cc::switches::kShowReplicaScreenSpaceRects, | 967 cc::switches::kShowReplicaScreenSpaceRects, |
967 cc::switches::kShowScreenSpaceRects, | 968 cc::switches::kShowScreenSpaceRects, |
968 cc::switches::kShowSurfaceDamageRects, | 969 cc::switches::kShowSurfaceDamageRects, |
969 cc::switches::kSlowDownRasterScaleFactor, | 970 cc::switches::kSlowDownRasterScaleFactor, |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1755 TRACE_EVENT0("renderer_host", | 1756 TRACE_EVENT0("renderer_host", |
1756 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1757 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1757 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1758 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1758 ack_params.sync_point = 0; | 1759 ack_params.sync_point = 0; |
1759 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1760 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1760 gpu_process_host_id, | 1761 gpu_process_host_id, |
1761 ack_params); | 1762 ack_params); |
1762 } | 1763 } |
1763 | 1764 |
1764 } // namespace content | 1765 } // namespace content |
OLD | NEW |