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

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

Issue 2359843003: Turning on clip anti-aliasing by default in Chrome. (Closed)
Patch Set: Addressing comments. Created 4 years, 2 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') | content/public/common/web_preferences.cc » ('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 (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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 316
317 // Specifies if the |DOMAutomationController| needs to be bound in the 317 // Specifies if the |DOMAutomationController| needs to be bound in the
318 // renderer. This binding happens on per-frame basis and hence can potentially 318 // renderer. This binding happens on per-frame basis and hence can potentially
319 // be a performance bottleneck. One should only enable it when automating dom 319 // be a performance bottleneck. One should only enable it when automating dom
320 // based tests. 320 // based tests.
321 const char kDomAutomationController[] = "dom-automation"; 321 const char kDomAutomationController[] = "dom-automation";
322 322
323 // Causes the process to run as a download subprocess. 323 // Causes the process to run as a download subprocess.
324 const char kDownloadProcess[] = "download"; 324 const char kDownloadProcess[] = "download";
325 325
326 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) 326 // Disable antialiasing on 2d canvas clips
327 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; 327 const char kDisable2dCanvasClipAntialiasing[] = "disable-2d-canvas-clip-aa";
328 328
329 // Disable partially decoding jpeg images using the GPU. 329 // Disable partially decoding jpeg images using the GPU.
330 // At least YUV decoding will be accelerated when not using this flag. 330 // At least YUV decoding will be accelerated when not using this flag.
331 // Has no effect unless GPU rasterization is enabled. 331 // Has no effect unless GPU rasterization is enabled.
332 const char kDisableAcceleratedJpegDecoding[] = 332 const char kDisableAcceleratedJpegDecoding[] =
333 "disable-accelerated-jpeg-decoding"; 333 "disable-accelerated-jpeg-decoding";
334 334
335 // Enables LCD text. 335 // Enables LCD text.
336 const char kEnableLCDText[] = "enable-lcd-text"; 336 const char kEnableLCDText[] = "enable-lcd-text";
337 337
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 // the given directory. Used primarily to gather samples for IPC fuzzing. 1074 // the given directory. Used primarily to gather samples for IPC fuzzing.
1075 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1075 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1076 1076
1077 // Specifies the testcase used by the IPC fuzzer. 1077 // Specifies the testcase used by the IPC fuzzer.
1078 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1078 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1079 #endif 1079 #endif
1080 1080
1081 // Don't dump stuff here, follow the same order as the header. 1081 // Don't dump stuff here, follow the same order as the header.
1082 1082
1083 } // namespace switches 1083 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698