| 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 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::kCompositeToMailbox, | 944 cc::switches::kCompositeToMailbox, |
| 945 cc::switches::kDisableColorEstimator, | 945 cc::switches::kDisableColorEstimator, |
| 946 cc::switches::kDisableImplSidePainting, | 946 cc::switches::kDisableImplSidePainting, |
| 947 cc::switches::kDisablePinchZoomScrollbars, |
| 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::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 |