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

Side by Side Diff: content/public/common/content_switches.cc

Issue 2814843002: gpu: GPU service scheduler. (Closed)
Patch Set: fix test dcheck failures Created 3 years, 7 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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 const char kDisableGpuAsyncWorkerContext[] = "disable-gpu-async-worker-context"; 167 const char kDisableGpuAsyncWorkerContext[] = "disable-gpu-async-worker-context";
168 168
169 // When using CPU rasterizing disable low resolution tiling. This uses 169 // When using CPU rasterizing disable low resolution tiling. This uses
170 // less power, particularly during animations, but more white may be seen 170 // less power, particularly during animations, but more white may be seen
171 // during fast scrolling especially on slower devices. 171 // during fast scrolling especially on slower devices.
172 const char kDisableLowResTiling[] = "disable-low-res-tiling"; 172 const char kDisableLowResTiling[] = "disable-low-res-tiling";
173 173
174 // Disable the GPU process sandbox. 174 // Disable the GPU process sandbox.
175 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; 175 const char kDisableGpuSandbox[] = "disable-gpu-sandbox";
176 176
177 // Disable GPU service scheduler.
178 const char kDisableGpuScheduler[] = "disable-gpu-scheduler";
179
177 // Suppresses hang monitor dialogs in renderer processes. This may allow slow 180 // Suppresses hang monitor dialogs in renderer processes. This may allow slow
178 // unload handlers on a page to prevent the tab from closing, but the Task 181 // unload handlers on a page to prevent the tab from closing, but the Task
179 // Manager can be used to terminate the offending process in this case. 182 // Manager can be used to terminate the offending process in this case.
180 const char kDisableHangMonitor[] = "disable-hang-monitor"; 183 const char kDisableHangMonitor[] = "disable-hang-monitor";
181 184
182 // Disable hiding the close buttons of inactive tabs when the tabstrip is in 185 // Disable hiding the close buttons of inactive tabs when the tabstrip is in
183 // stacked mode. 186 // stacked mode.
184 const char kDisableHideInactiveStackedTabCloseButtons[] = 187 const char kDisableHideInactiveStackedTabCloseButtons[] =
185 "disable-hide-inactive-stacked-tab-close-buttons"; 188 "disable-hide-inactive-stacked-tab-close-buttons";
186 189
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // WebFonts intervention v2 flag and values. 386 // WebFonts intervention v2 flag and values.
384 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; 387 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2";
385 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = 388 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] =
386 "enabled-2g"; 389 "enabled-2g";
387 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith3G[] = 390 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith3G[] =
388 "enabled-3g"; 391 "enabled-3g";
389 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = 392 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] =
390 "enabled-slow2g"; 393 "enabled-slow2g";
391 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; 394 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled";
392 395
396 // Enables GPU channel scheduler.
397 const char kEnableGpuScheduler[] = "enable-gpu-scheduler";
398
393 // Makes the GL worker context run asynchronously by using a separate stream. 399 // Makes the GL worker context run asynchronously by using a separate stream.
394 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; 400 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context";
395 401
396 // Specify that all compositor resources should be backed by GPU memory buffers. 402 // Specify that all compositor resources should be backed by GPU memory buffers.
397 const char kEnableGpuMemoryBufferCompositorResources[] = 403 const char kEnableGpuMemoryBufferCompositorResources[] =
398 "enable-gpu-memory-buffer-compositor-resources"; 404 "enable-gpu-memory-buffer-compositor-resources";
399 405
400 // Enable GpuMemoryBuffer backed VideoFrames. 406 // Enable GpuMemoryBuffer backed VideoFrames.
401 const char kEnableGpuMemoryBufferVideoFrames[] = 407 const char kEnableGpuMemoryBufferVideoFrames[] =
402 "enable-gpu-memory-buffer-video-frames"; 408 "enable-gpu-memory-buffer-video-frames";
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 // the given directory. Used primarily to gather samples for IPC fuzzing. 1088 // the given directory. Used primarily to gather samples for IPC fuzzing.
1083 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1089 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1084 1090
1085 // Specifies the testcase used by the IPC fuzzer. 1091 // Specifies the testcase used by the IPC fuzzer.
1086 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1092 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1087 #endif 1093 #endif
1088 1094
1089 // Don't dump stuff here, follow the same order as the header. 1095 // Don't dump stuff here, follow the same order as the header.
1090 1096
1091 } // namespace switches 1097 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/pepper/pepper_video_encoder_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698