Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(668)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 23907006: cc: Allow sending BeginMainFrame before draw or activation (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedDeadline3
Patch Set: Do not start commit before draw for UI compositor Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 // Please keep these in alphabetical order. Compositor switches here should 1096 // Please keep these in alphabetical order. Compositor switches here should
1097 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1097 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1098 cc::switches::kBackgroundColorInsteadOfCheckerboard, 1098 cc::switches::kBackgroundColorInsteadOfCheckerboard,
1099 cc::switches::kCompositeToMailbox, 1099 cc::switches::kCompositeToMailbox,
1100 cc::switches::kDisableCompositedAntialiasing, 1100 cc::switches::kDisableCompositedAntialiasing,
1101 cc::switches::kDisableCompositorTouchHitTesting, 1101 cc::switches::kDisableCompositorTouchHitTesting,
1102 cc::switches::kDisableGPURasterization, 1102 cc::switches::kDisableGPURasterization,
1103 cc::switches::kDisableImplSidePainting, 1103 cc::switches::kDisableImplSidePainting,
1104 cc::switches::kDisableLCDText, 1104 cc::switches::kDisableLCDText,
1105 cc::switches::kDisableMapImage, 1105 cc::switches::kDisableMapImage,
1106 cc::switches::kDisableStartCommitBeforeActivate,
1107 cc::switches::kDisableStartCommitBeforeDraw,
1106 cc::switches::kDisableThreadedAnimation, 1108 cc::switches::kDisableThreadedAnimation,
1107 cc::switches::kEnableGpuBenchmarking, 1109 cc::switches::kEnableGpuBenchmarking,
1108 cc::switches::kEnableGPURasterization, 1110 cc::switches::kEnableGPURasterization,
1109 cc::switches::kEnableImplSidePainting, 1111 cc::switches::kEnableImplSidePainting,
1110 cc::switches::kEnableLCDText, 1112 cc::switches::kEnableLCDText,
1111 cc::switches::kEnableMapImage, 1113 cc::switches::kEnableMapImage,
1112 cc::switches::kEnablePinchVirtualViewport, 1114 cc::switches::kEnablePinchVirtualViewport,
1115 cc::switches::kEnableStartCommitBeforeActivate,
1116 cc::switches::kEnableStartCommitBeforeDraw,
1113 cc::switches::kEnableTopControlsPositionCalculation, 1117 cc::switches::kEnableTopControlsPositionCalculation,
1114 cc::switches::kMaxTilesForInterestArea, 1118 cc::switches::kMaxTilesForInterestArea,
1115 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 1119 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
1116 cc::switches::kShowCompositedLayerBorders, 1120 cc::switches::kShowCompositedLayerBorders,
1117 cc::switches::kShowFPSCounter, 1121 cc::switches::kShowFPSCounter,
1118 cc::switches::kShowLayerAnimationBounds, 1122 cc::switches::kShowLayerAnimationBounds,
1119 cc::switches::kShowNonOccludingRects, 1123 cc::switches::kShowNonOccludingRects,
1120 cc::switches::kShowOccludingRects, 1124 cc::switches::kShowOccludingRects,
1121 cc::switches::kShowPropertyChangedRects, 1125 cc::switches::kShowPropertyChangedRects,
1122 cc::switches::kShowReplicaScreenSpaceRects, 1126 cc::switches::kShowReplicaScreenSpaceRects,
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
2077 return; 2081 return;
2078 Send(new MediaStreamMsg_EnableAecDump(file_for_transit)); 2082 Send(new MediaStreamMsg_EnableAecDump(file_for_transit));
2079 } 2083 }
2080 2084
2081 void RenderProcessHostImpl::SendDisableAecDumpToRenderer() { 2085 void RenderProcessHostImpl::SendDisableAecDumpToRenderer() {
2082 Send(new MediaStreamMsg_DisableAecDump()); 2086 Send(new MediaStreamMsg_DisableAecDump());
2083 } 2087 }
2084 #endif 2088 #endif
2085 2089
2086 } // namespace content 2090 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698