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

Side by Side Diff: gpu/command_buffer/service/gpu_switches.h

Issue 10065025: Make it so you can add GPU switches by editing 2 files instead of 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « content/browser/gpu/gpu_process_host.cc ('k') | gpu/command_buffer/service/gpu_switches.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 // Defines all the command-line switches used by gpu/command_buffer/service/. 5 // Defines all the command-line switches used by gpu/command_buffer/service/.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
9 #pragma once 9 #pragma once
10 10
11 #include "gpu/gpu_export.h" 11 #include "gpu/gpu_export.h"
12 12
13 namespace switches { 13 namespace switches {
14 14
15 GPU_EXPORT extern const char kCompileShaderAlwaysSucceeds[]; 15 GPU_EXPORT extern const char kCompileShaderAlwaysSucceeds[];
16 GPU_EXPORT extern const char kDisableGLSLTranslator[]; 16 GPU_EXPORT extern const char kDisableGLSLTranslator[];
17 GPU_EXPORT extern const char kEnableGPUCommandLogging[]; 17 GPU_EXPORT extern const char kEnableGPUCommandLogging[];
18 GPU_EXPORT extern const char kEnableGPUDebugging[]; 18 GPU_EXPORT extern const char kEnableGPUDebugging[];
19 19
20 GPU_EXPORT extern const char* kGpuSwitches[];
21 GPU_EXPORT extern const int kNumGpuSwitches;
22
20 } // namespace switches 23 } // namespace switches
21 24
22 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ 25 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
23 26
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | gpu/command_buffer/service/gpu_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698