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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
930 switches::kV, | 930 switches::kV, |
931 switches::kVideoThreads, | 931 switches::kVideoThreads, |
932 switches::kVModule, | 932 switches::kVModule, |
933 switches::kWebCoreLogChannels, | 933 switches::kWebCoreLogChannels, |
934 // Please keep these in alphabetical order. Compositor switches here should | 934 // Please keep these in alphabetical order. Compositor switches here should |
935 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 935 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
936 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 936 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
937 cc::switches::kCompositeToMailbox, | 937 cc::switches::kCompositeToMailbox, |
938 cc::switches::kDisableColorEstimator, | 938 cc::switches::kDisableColorEstimator, |
939 cc::switches::kDisableImplSidePainting, | 939 cc::switches::kDisableImplSidePainting, |
940 cc::switches::kDisablePinchZoomScrollbars, | |
danakj
2013/05/15 20:33:16
Thanks for this cleanup
| |
940 cc::switches::kDisableThreadedAnimation, | 941 cc::switches::kDisableThreadedAnimation, |
941 cc::switches::kEnableCompositorFrameMessage, | 942 cc::switches::kEnableCompositorFrameMessage, |
942 cc::switches::kEnableImplSidePainting, | 943 cc::switches::kEnableImplSidePainting, |
943 cc::switches::kEnablePartialSwap, | 944 cc::switches::kEnablePartialSwap, |
944 cc::switches::kEnablePerTilePainting, | 945 cc::switches::kEnablePerTilePainting, |
945 cc::switches::kEnablePinchZoomScrollbars, | 946 cc::switches::kEnablePinchZoomScrollbars, |
946 cc::switches::kDisablePinchZoomScrollbars, | |
947 cc::switches::kEnablePredictionBenchmarking, | 947 cc::switches::kEnablePredictionBenchmarking, |
948 cc::switches::kEnableRightAlignedScheduling, | 948 cc::switches::kEnableRightAlignedScheduling, |
949 cc::switches::kEnableTopControlsPositionCalculation, | 949 cc::switches::kEnableTopControlsPositionCalculation, |
950 cc::switches::kForceDirectLayerDrawing, | |
950 cc::switches::kLowResolutionContentsScaleFactor, | 951 cc::switches::kLowResolutionContentsScaleFactor, |
952 cc::switches::kMaxTilesForInterestArea, | |
951 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 953 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
952 cc::switches::kNumRasterThreads, | 954 cc::switches::kNumRasterThreads, |
953 cc::switches::kMaxTilesForInterestArea, | |
954 cc::switches::kShowCompositedLayerBorders, | 955 cc::switches::kShowCompositedLayerBorders, |
955 cc::switches::kShowCompositedLayerTree, | 956 cc::switches::kShowCompositedLayerTree, |
956 cc::switches::kShowFPSCounter, | 957 cc::switches::kShowFPSCounter, |
957 cc::switches::kShowNonOccludingRects, | 958 cc::switches::kShowNonOccludingRects, |
958 cc::switches::kShowOccludingRects, | 959 cc::switches::kShowOccludingRects, |
959 cc::switches::kShowPropertyChangedRects, | 960 cc::switches::kShowPropertyChangedRects, |
960 cc::switches::kShowReplicaScreenSpaceRects, | 961 cc::switches::kShowReplicaScreenSpaceRects, |
961 cc::switches::kShowScreenSpaceRects, | 962 cc::switches::kShowScreenSpaceRects, |
962 cc::switches::kShowSurfaceDamageRects, | 963 cc::switches::kShowSurfaceDamageRects, |
963 cc::switches::kSlowDownRasterScaleFactor, | 964 cc::switches::kSlowDownRasterScaleFactor, |
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1750 TRACE_EVENT0("renderer_host", | 1751 TRACE_EVENT0("renderer_host", |
1751 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1752 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1752 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1753 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1753 ack_params.sync_point = 0; | 1754 ack_params.sync_point = 0; |
1754 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1755 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1755 gpu_process_host_id, | 1756 gpu_process_host_id, |
1756 ack_params); | 1757 ack_params); |
1757 } | 1758 } |
1758 | 1759 |
1759 } // namespace content | 1760 } // namespace content |
OLD | NEW |