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

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

Issue 2060043002: Enable zero-copy DXGI video by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge master Created 4 years, 5 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 301
302 // Don't enforce the same-origin policy. (Used by people testing their sites.) 302 // Don't enforce the same-origin policy. (Used by people testing their sites.)
303 const char kDisableWebSecurity[] = "disable-web-security"; 303 const char kDisableWebSecurity[] = "disable-web-security";
304 304
305 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. 305 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS.
306 const char kDisableXSSAuditor[] = "disable-xss-auditor"; 306 const char kDisableXSSAuditor[] = "disable-xss-auditor";
307 307
308 // Disable rasterizer that writes directly to GPU memory associated with tiles. 308 // Disable rasterizer that writes directly to GPU memory associated with tiles.
309 const char kDisableZeroCopy[] = "disable-zero-copy"; 309 const char kDisableZeroCopy[] = "disable-zero-copy";
310 310
311 // Disable the video decoder from drawing directly to a texture.
312 const char kDisableZeroCopyDxgiVideo[] = "disable-zero-copy-dxgi-video";
313
311 // Specifies if the |DOMAutomationController| needs to be bound in the 314 // Specifies if the |DOMAutomationController| needs to be bound in the
312 // renderer. This binding happens on per-frame basis and hence can potentially 315 // renderer. This binding happens on per-frame basis and hence can potentially
313 // be a performance bottleneck. One should only enable it when automating dom 316 // be a performance bottleneck. One should only enable it when automating dom
314 // based tests. 317 // based tests.
315 const char kDomAutomationController[] = "dom-automation"; 318 const char kDomAutomationController[] = "dom-automation";
316 319
317 // Causes the process to run as a download subprocess. 320 // Causes the process to run as a download subprocess.
318 const char kDownloadProcess[] = "download"; 321 const char kDownloadProcess[] = "download";
319 322
320 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) 323 // Enable antialiasing on 2d canvas clips (as opposed to draw operations)
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 515
513 // Enables WebGL rendering into a scanout buffer for overlay support. 516 // Enables WebGL rendering into a scanout buffer for overlay support.
514 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium"; 517 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium";
515 518
516 // Enables interaction with virtual reality devices. 519 // Enables interaction with virtual reality devices.
517 const char kEnableWebVR[] = "enable-webvr"; 520 const char kEnableWebVR[] = "enable-webvr";
518 521
519 // Enable rasterizer that writes directly to GPU memory associated with tiles. 522 // Enable rasterizer that writes directly to GPU memory associated with tiles.
520 const char kEnableZeroCopy[] = "enable-zero-copy"; 523 const char kEnableZeroCopy[] = "enable-zero-copy";
521 524
522 // Enable the video decoder to draw directly to a texture.
523 const char kEnableZeroCopyDxgiVideo[] = "enable-zero-copy-dxgi-video";
524
525 // Explicitly allows additional ports using a comma-separated list of port 525 // Explicitly allows additional ports using a comma-separated list of port
526 // numbers. 526 // numbers.
527 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; 527 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
528 528
529 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU 529 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU
530 // accelerated compositing + impl-side painting. Overrides the 530 // accelerated compositing + impl-side painting. Overrides the
531 // kEnableGpuRasterization flag. 531 // kEnableGpuRasterization flag.
532 const char kForceGpuRasterization[] = "force-gpu-rasterization"; 532 const char kForceGpuRasterization[] = "force-gpu-rasterization";
533 533
534 // The number of multisample antialiasing samples for GPU rasterization. 534 // The number of multisample antialiasing samples for GPU rasterization.
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 // the given directory. Used primarily to gather samples for IPC fuzzing. 1054 // the given directory. Used primarily to gather samples for IPC fuzzing.
1055 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1055 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1056 1056
1057 // Specifies the testcase used by the IPC fuzzer. 1057 // Specifies the testcase used by the IPC fuzzer.
1058 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1058 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1059 #endif 1059 #endif
1060 1060
1061 // Don't dump stuff here, follow the same order as the header. 1061 // Don't dump stuff here, follow the same order as the header.
1062 1062
1063 } // namespace switches 1063 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698