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

Side by Side Diff: chrome/browser/chromeos/login/chrome_restart_request.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: Fix nits 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/gpu/compositor_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/chromeos/login/chrome_restart_request.h" 5 #include "chrome/browser/chromeos/login/chrome_restart_request.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "ash/ash_switches.h" 9 #include "ash/ash_switches.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ::switches::kDisableAcceleratedOverflowScroll, 70 ::switches::kDisableAcceleratedOverflowScroll,
71 ::switches::kDisableAcceleratedPlugins, 71 ::switches::kDisableAcceleratedPlugins,
72 ::switches::kDisableAcceleratedVideoDecode, 72 ::switches::kDisableAcceleratedVideoDecode,
73 ::switches::kDisableBrowserPluginCompositing, 73 ::switches::kDisableBrowserPluginCompositing,
74 ::switches::kDisableDelegatedRenderer, 74 ::switches::kDisableDelegatedRenderer,
75 ::switches::kDisableFiltersOverIPC, 75 ::switches::kDisableFiltersOverIPC,
76 ::switches::kDisableForceCompositingMode, 76 ::switches::kDisableForceCompositingMode,
77 ::switches::kDisableGpuShaderDiskCache, 77 ::switches::kDisableGpuShaderDiskCache,
78 ::switches::kDisableGpuWatchdog, 78 ::switches::kDisableGpuWatchdog,
79 ::switches::kDisableGpuCompositing, 79 ::switches::kDisableGpuCompositing,
80 ::switches::kDisableImplSidePainting,
81 ::switches::kDisableMapImage,
80 ::switches::kDisablePrefixedEncryptedMedia, 82 ::switches::kDisablePrefixedEncryptedMedia,
81 ::switches::kDisablePanelFitting, 83 ::switches::kDisablePanelFitting,
82 ::switches::kDisableRepaintAfterLayout, 84 ::switches::kDisableRepaintAfterLayout,
83 ::switches::kDisableSeccompFilterSandbox, 85 ::switches::kDisableSeccompFilterSandbox,
84 ::switches::kDisableSetuidSandbox, 86 ::switches::kDisableSetuidSandbox,
85 ::switches::kDisableThreadedCompositing, 87 ::switches::kDisableThreadedCompositing,
86 ::switches::kDisableTouchDragDrop, 88 ::switches::kDisableTouchDragDrop,
87 ::switches::kDisableTouchEditing, 89 ::switches::kDisableTouchEditing,
88 ::switches::kDisableUniversalAcceleratedOverflowScroll, 90 ::switches::kDisableUniversalAcceleratedOverflowScroll,
89 ::switches::kDisableUnprefixedMediaSource, 91 ::switches::kDisableUnprefixedMediaSource,
90 ::switches::kDisableWebKitMediaSource, 92 ::switches::kDisableWebKitMediaSource,
91 ::switches::kDisableAcceleratedFixedRootBackground, 93 ::switches::kDisableAcceleratedFixedRootBackground,
92 ::switches::kEnableAcceleratedFixedRootBackground, 94 ::switches::kEnableAcceleratedFixedRootBackground,
93 ::switches::kEnableAcceleratedOverflowScroll, 95 ::switches::kEnableAcceleratedOverflowScroll,
94 ::switches::kEnableBeginFrameScheduling, 96 ::switches::kEnableBeginFrameScheduling,
95 ::switches::kEnableCompositingForFixedPosition, 97 ::switches::kEnableCompositingForFixedPosition,
96 ::switches::kEnableDelegatedRenderer, 98 ::switches::kEnableDelegatedRenderer,
97 ::switches::kEnableEncryptedMedia, 99 ::switches::kEnableEncryptedMedia,
98 ::switches::kEnableGestureTapHighlight, 100 ::switches::kEnableGestureTapHighlight,
99 ::switches::kDisableGestureTapHighlight, 101 ::switches::kDisableGestureTapHighlight,
100 ::switches::kDisableGpuSandbox, 102 ::switches::kDisableGpuSandbox,
101 ::switches::kEnableDeferredFilters, 103 ::switches::kEnableDeferredFilters,
104 ::switches::kEnableImplSidePainting,
102 ::switches::kEnableLogging, 105 ::switches::kEnableLogging,
106 ::switches::kEnableMapImage,
103 ::switches::kEnablePinch, 107 ::switches::kEnablePinch,
104 ::switches::kEnableRepaintAfterLayout, 108 ::switches::kEnableRepaintAfterLayout,
105 ::switches::kEnableThreadedCompositing, 109 ::switches::kEnableThreadedCompositing,
106 ::switches::kEnableTouchDragDrop, 110 ::switches::kEnableTouchDragDrop,
107 ::switches::kEnableTouchEditing, 111 ::switches::kEnableTouchEditing,
108 ::switches::kEnableUniversalAcceleratedOverflowScroll, 112 ::switches::kEnableUniversalAcceleratedOverflowScroll,
109 ::switches::kEnableViewport, 113 ::switches::kEnableViewport,
110 ::switches::kEnableViewportMeta, 114 ::switches::kEnableViewportMeta,
111 ::switches::kMainFrameResizesAreOrientationChanges, 115 ::switches::kMainFrameResizesAreOrientationChanges,
112 ::switches::kForceDeviceScaleFactor, 116 ::switches::kForceDeviceScaleFactor,
113 ::switches::kGpuStartupDialog, 117 ::switches::kGpuStartupDialog,
114 ::switches::kGpuSandboxAllowSysVShm, 118 ::switches::kGpuSandboxAllowSysVShm,
115 ::switches::kMultiProfiles, 119 ::switches::kMultiProfiles,
116 ::switches::kNoSandbox, 120 ::switches::kNoSandbox,
117 ::switches::kNumRasterThreads, 121 ::switches::kNumRasterThreads,
118 ::switches::kPpapiFlashArgs, 122 ::switches::kPpapiFlashArgs,
119 ::switches::kPpapiFlashPath, 123 ::switches::kPpapiFlashPath,
120 ::switches::kPpapiFlashVersion, 124 ::switches::kPpapiFlashVersion,
121 ::switches::kPpapiInProcess, 125 ::switches::kPpapiInProcess,
126 ::switches::kRasterizationSite,
122 ::switches::kRendererStartupDialog, 127 ::switches::kRendererStartupDialog,
123 ::switches::kEnableShareGroupAsyncTextureUpload, 128 ::switches::kEnableShareGroupAsyncTextureUpload,
124 ::switches::kTabCaptureUpscaleQuality, 129 ::switches::kTabCaptureUpscaleQuality,
125 ::switches::kTabCaptureDownscaleQuality, 130 ::switches::kTabCaptureDownscaleQuality,
126 #if defined(USE_XI2_MT) 131 #if defined(USE_XI2_MT)
127 ::switches::kTouchCalibration, 132 ::switches::kTouchCalibration,
128 #endif 133 #endif
129 ::switches::kTouchDevices, 134 ::switches::kTouchDevices,
130 ::switches::kTouchEvents, 135 ::switches::kTouchEvents,
131 ::switches::kTouchOptimizedUI, 136 ::switches::kTouchOptimizedUI,
(...skipping 22 matching lines...) Expand all
154 ash::switches::kAshHostWindowBounds, 159 ash::switches::kAshHostWindowBounds,
155 ash::switches::kAshTouchHud, 160 ash::switches::kAshTouchHud,
156 ash::switches::kAuraLegacyPowerButton, 161 ash::switches::kAuraLegacyPowerButton,
157 // Please keep these in alphabetical order. Non-UI Compositor switches 162 // Please keep these in alphabetical order. Non-UI Compositor switches
158 // here should also be added to 163 // here should also be added to
159 // content/browser/renderer_host/render_process_host_impl.cc. 164 // content/browser/renderer_host/render_process_host_impl.cc.
160 cc::switches::kBackgroundColorInsteadOfCheckerboard, 165 cc::switches::kBackgroundColorInsteadOfCheckerboard,
161 cc::switches::kCompositeToMailbox, 166 cc::switches::kCompositeToMailbox,
162 cc::switches::kDisableCompositedAntialiasing, 167 cc::switches::kDisableCompositedAntialiasing,
163 cc::switches::kDisableCompositorTouchHitTesting, 168 cc::switches::kDisableCompositorTouchHitTesting,
164 cc::switches::kDisableGPURasterization,
165 cc::switches::kDisableImplSidePainting,
166 cc::switches::kDisableMapImage,
167 cc::switches::kDisableThreadedAnimation, 169 cc::switches::kDisableThreadedAnimation,
168 cc::switches::kEnableGpuBenchmarking, 170 cc::switches::kEnableGpuBenchmarking,
169 cc::switches::kEnableGPURasterization,
170 cc::switches::kEnableImplSidePainting,
171 cc::switches::kEnableMapImage,
172 cc::switches::kEnablePinchVirtualViewport, 171 cc::switches::kEnablePinchVirtualViewport,
173 cc::switches::kEnableTopControlsPositionCalculation, 172 cc::switches::kEnableTopControlsPositionCalculation,
174 cc::switches::kMaxTilesForInterestArea, 173 cc::switches::kMaxTilesForInterestArea,
175 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 174 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
176 cc::switches::kShowCompositedLayerBorders, 175 cc::switches::kShowCompositedLayerBorders,
177 cc::switches::kShowFPSCounter, 176 cc::switches::kShowFPSCounter,
178 cc::switches::kShowLayerAnimationBounds, 177 cc::switches::kShowLayerAnimationBounds,
179 cc::switches::kShowNonOccludingRects, 178 cc::switches::kShowNonOccludingRects,
180 cc::switches::kShowOccludingRects, 179 cc::switches::kShowOccludingRects,
181 cc::switches::kShowPropertyChangedRects, 180 cc::switches::kShowPropertyChangedRects,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 // Relaunch chrome without session manager on dev box. 351 // Relaunch chrome without session manager on dev box.
353 ReLaunch(command_line); 352 ReLaunch(command_line);
354 return; 353 return;
355 } 354 }
356 355
357 // ChromeRestartRequest deletes itself after request sent to session manager. 356 // ChromeRestartRequest deletes itself after request sent to session manager.
358 (new ChromeRestartRequest(command_line))->Start(); 357 (new ChromeRestartRequest(command_line))->Start();
359 } 358 }
360 359
361 } // namespace chromeos 360 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/gpu/compositor_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698