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

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

Issue 1248253003: Add better support for RGBA_4444 textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add trace event Created 5 years, 4 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 const char kDisablePermissionsAPI[] = "disable-permissions-api"; 209 const char kDisablePermissionsAPI[] = "disable-permissions-api";
210 210
211 // Disables compositor-accelerated touch-screen pinch gestures. 211 // Disables compositor-accelerated touch-screen pinch gestures.
212 const char kDisablePinch[] = "disable-pinch"; 212 const char kDisablePinch[] = "disable-pinch";
213 213
214 // Disable discovering third-party plugins. Effectively loading only 214 // Disable discovering third-party plugins. Effectively loading only
215 // ones shipped with the browser plus third-party ones as specified by 215 // ones shipped with the browser plus third-party ones as specified by
216 // --extra-plugin-dir and --load-plugin switches. 216 // --extra-plugin-dir and --load-plugin switches.
217 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; 217 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery";
218 218
219 // Disables RGBA_4444 textures.
220 const char kDisableRGBA4444Textures[] = "disable-rgba-4444-textures";
221
219 // Taints all <canvas> elements, regardless of origin. 222 // Taints all <canvas> elements, regardless of origin.
220 const char kDisableReadingFromCanvas[] = "disable-reading-from-canvas"; 223 const char kDisableReadingFromCanvas[] = "disable-reading-from-canvas";
221 224
222 // Disables remote web font support. SVG font should always work whether this 225 // Disables remote web font support. SVG font should always work whether this
223 // option is specified or not. 226 // option is specified or not.
224 const char kDisableRemoteFonts[] = "disable-remote-fonts"; 227 const char kDisableRemoteFonts[] = "disable-remote-fonts";
225 228
226 // Turns off the accessibility in the renderer. 229 // Turns off the accessibility in the renderer.
227 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; 230 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility";
228 231
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 394
392 // Make the values returned to window.performance.memory more granular and more 395 // Make the values returned to window.performance.memory more granular and more
393 // up to date in shared worker. Without this flag, the memory information is 396 // up to date in shared worker. Without this flag, the memory information is
394 // still available, but it is bucketized and updated less frequently. This flag 397 // still available, but it is bucketized and updated less frequently. This flag
395 // also applys to workers. 398 // also applys to workers.
396 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; 399 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info";
397 400
398 // Enables payloads for received push messages when using the W3C Push API. 401 // Enables payloads for received push messages when using the W3C Push API.
399 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; 402 const char kEnablePushMessagePayload[] = "enable-push-message-payload";
400 403
404 // Enables RGBA_4444 textures.
405 const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures";
406
401 // Set options to cache V8 data. (off, preparse data, or code) 407 // Set options to cache V8 data. (off, preparse data, or code)
402 const char kV8CacheOptions[] = "v8-cache-options"; 408 const char kV8CacheOptions[] = "v8-cache-options";
403 409
404 // Signals that the V8 natives file has been transfered to the child process 410 // Signals that the V8 natives file has been transfered to the child process
405 // by a file descriptor. 411 // by a file descriptor.
406 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd"; 412 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd";
407 413
408 // Signals that the V8 startup snapshot file has been transfered to the child 414 // Signals that the V8 startup snapshot file has been transfered to the child
409 // process by a file descriptor. 415 // process by a file descriptor.
410 const char kV8SnapshotPassedByFD[] = "v8-snapshot-passed-by-fd"; 416 const char kV8SnapshotPassedByFD[] = "v8-snapshot-passed-by-fd";
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1018 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1013 1019
1014 // Enables the exporting of the tracing events to ETW. This is only supported on 1020 // Enables the exporting of the tracing events to ETW. This is only supported on
1015 // Windows Vista and later. 1021 // Windows Vista and later.
1016 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1022 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1017 #endif 1023 #endif
1018 1024
1019 // Don't dump stuff here, follow the same order as the header. 1025 // Don't dump stuff here, follow the same order as the header.
1020 1026
1021 } // namespace switches 1027 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698