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

Side by Side Diff: cc/base/switches.cc

Issue 167953003: cc: Remove the --enable-partial-swap flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: enablepartialswap: build Created 6 years, 10 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 | « cc/base/switches.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.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 "cc/base/switches.h" 5 #include "cc/base/switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace cc { 9 namespace cc {
10 namespace switches { 10 namespace switches {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Requires --enable-compositor-frame-message. 75 // Requires --enable-compositor-frame-message.
76 const char kCompositeToMailbox[] = "composite-to-mailbox"; 76 const char kCompositeToMailbox[] = "composite-to-mailbox";
77 77
78 // Check that property changes during paint do not occur. 78 // Check that property changes during paint do not occur.
79 const char kStrictLayerPropertyChangeChecking[] = 79 const char kStrictLayerPropertyChangeChecking[] =
80 "strict-layer-property-change-checking"; 80 "strict-layer-property-change-checking";
81 81
82 // Virtual viewport for fixed-position elements, scrollbars during pinch. 82 // Virtual viewport for fixed-position elements, scrollbars during pinch.
83 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport"; 83 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport";
84 84
85 const char kEnablePartialSwap[] = "enable-partial-swap";
86 // Disable partial swap which is needed for some OpenGL drivers / emulators. 85 // Disable partial swap which is needed for some OpenGL drivers / emulators.
87 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; 86 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap";
88 87
89 // Enables the GPU benchmarking extension 88 // Enables the GPU benchmarking extension
90 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 89 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
91 90
92 // Renders a border around compositor layers to help debug and study 91 // Renders a border around compositor layers to help debug and study
93 // layer compositing. 92 // layer compositing.
94 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 93 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
95 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; 94 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders";
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 if (command_line.HasSwitch(switches::kDisableMapImage)) 197 if (command_line.HasSwitch(switches::kDisableMapImage))
199 return false; 198 return false;
200 else if (command_line.HasSwitch(switches::kEnableMapImage)) 199 else if (command_line.HasSwitch(switches::kEnableMapImage))
201 return true; 200 return true;
202 201
203 return false; 202 return false;
204 } 203 }
205 204
206 } // namespace switches 205 } // namespace switches
207 } // namespace cc 206 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698