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

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

Issue 181063022: cc: Trigger GPU rasterization based on a per-layer hint (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use a single switch with string values 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 | Annotate | Revision Log
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 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 switches::kV, 1092 switches::kV,
1093 switches::kVideoThreads, 1093 switches::kVideoThreads,
1094 switches::kVModule, 1094 switches::kVModule,
1095 switches::kWebGLCommandBufferSizeKb, 1095 switches::kWebGLCommandBufferSizeKb,
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,
1103 cc::switches::kDisableImplSidePainting, 1102 cc::switches::kDisableImplSidePainting,
1104 cc::switches::kDisableLCDText, 1103 cc::switches::kDisableLCDText,
1105 cc::switches::kDisableMapImage, 1104 cc::switches::kDisableMapImage,
1106 cc::switches::kDisableThreadedAnimation, 1105 cc::switches::kDisableThreadedAnimation,
1107 cc::switches::kEnableGpuBenchmarking, 1106 cc::switches::kEnableGpuBenchmarking,
1108 cc::switches::kEnableGPURasterization,
1109 cc::switches::kEnableImplSidePainting, 1107 cc::switches::kEnableImplSidePainting,
1110 cc::switches::kEnableLCDText, 1108 cc::switches::kEnableLCDText,
1111 cc::switches::kEnableMapImage, 1109 cc::switches::kEnableMapImage,
1112 cc::switches::kEnablePinchVirtualViewport, 1110 cc::switches::kEnablePinchVirtualViewport,
1113 cc::switches::kEnableTopControlsPositionCalculation, 1111 cc::switches::kEnableTopControlsPositionCalculation,
1114 cc::switches::kMaxTilesForInterestArea, 1112 cc::switches::kMaxTilesForInterestArea,
1115 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 1113 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
1114 cc::switches::kRasterizationSite,
1116 cc::switches::kShowCompositedLayerBorders, 1115 cc::switches::kShowCompositedLayerBorders,
1117 cc::switches::kShowFPSCounter, 1116 cc::switches::kShowFPSCounter,
1118 cc::switches::kShowLayerAnimationBounds, 1117 cc::switches::kShowLayerAnimationBounds,
1119 cc::switches::kShowNonOccludingRects, 1118 cc::switches::kShowNonOccludingRects,
1120 cc::switches::kShowOccludingRects, 1119 cc::switches::kShowOccludingRects,
1121 cc::switches::kShowPropertyChangedRects, 1120 cc::switches::kShowPropertyChangedRects,
1122 cc::switches::kShowReplicaScreenSpaceRects, 1121 cc::switches::kShowReplicaScreenSpaceRects,
1123 cc::switches::kShowScreenSpaceRects, 1122 cc::switches::kShowScreenSpaceRects,
1124 cc::switches::kShowSurfaceDamageRects, 1123 cc::switches::kShowSurfaceDamageRects,
1125 cc::switches::kSlowDownRasterScaleFactor, 1124 cc::switches::kSlowDownRasterScaleFactor,
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
2077 return; 2076 return;
2078 Send(new MediaStreamMsg_EnableAecDump(file_for_transit)); 2077 Send(new MediaStreamMsg_EnableAecDump(file_for_transit));
2079 } 2078 }
2080 2079
2081 void RenderProcessHostImpl::SendDisableAecDumpToRenderer() { 2080 void RenderProcessHostImpl::SendDisableAecDumpToRenderer() {
2082 Send(new MediaStreamMsg_DisableAecDump()); 2081 Send(new MediaStreamMsg_DisableAecDump());
2083 } 2082 }
2084 #endif 2083 #endif
2085 2084
2086 } // namespace content 2085 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698