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

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

Issue 2472703003: Load the GL_KHR_debug entry points and log messages they produce. (Closed)
Patch Set: Update window system string Created 4 years, 1 month 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 | « gpu/command_buffer/service/gpu_switches.h ('k') | third_party/khronos/GLES3/gl32.h » ('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 "gpu/command_buffer/service/gpu_switches.h" 5 #include "gpu/command_buffer/service/gpu_switches.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 17 matching lines...) Expand all
28 const char kEnableGPUCommandLogging[] = "enable-gpu-command-logging"; 28 const char kEnableGPUCommandLogging[] = "enable-gpu-command-logging";
29 29
30 // Turn on Calling GL Error after every command. 30 // Turn on Calling GL Error after every command.
31 const char kEnableGPUDebugging[] = "enable-gpu-debugging"; 31 const char kEnableGPUDebugging[] = "enable-gpu-debugging";
32 32
33 // Enable GPU service logging. Note: This is the same switch as the one in 33 // Enable GPU service logging. Note: This is the same switch as the one in
34 // gl_switches.cc. It's defined here again to avoid dependencies between 34 // gl_switches.cc. It's defined here again to avoid dependencies between
35 // dlls. 35 // dlls.
36 const char kEnableGPUServiceLoggingGPU[] = "enable-gpu-service-logging"; 36 const char kEnableGPUServiceLoggingGPU[] = "enable-gpu-service-logging";
37 37
38 // Enable logging of GPU driver debug messages.
39 const char kEnableGPUDriverDebugLogging[] = "enable-gpu-driver-debug-logging";
40
38 // Turn off gpu program caching 41 // Turn off gpu program caching
39 const char kDisableGpuProgramCache[] = "disable-gpu-program-cache"; 42 const char kDisableGpuProgramCache[] = "disable-gpu-program-cache";
40 43
41 // Enforce GL minimums. 44 // Enforce GL minimums.
42 const char kEnforceGLMinimums[] = "enforce-gl-minimums"; 45 const char kEnforceGLMinimums[] = "enforce-gl-minimums";
43 46
44 // Sets the total amount of memory that may be allocated for GPU resources 47 // Sets the total amount of memory that may be allocated for GPU resources
45 const char kForceGpuMemAvailableMb[] = "force-gpu-mem-available-mb"; 48 const char kForceGpuMemAvailableMb[] = "force-gpu-mem-available-mb";
46 49
47 // Sets the maximum size of the in-memory gpu program cache, in kb 50 // Sets the maximum size of the in-memory gpu program cache, in kb
(...skipping 13 matching lines...) Expand all
61 64
62 // Emulate ESSL lowp and mediump float precisions by mutating the shaders to 65 // Emulate ESSL lowp and mediump float precisions by mutating the shaders to
63 // round intermediate values in ANGLE. 66 // round intermediate values in ANGLE.
64 const char kEmulateShaderPrecision[] = "emulate-shader-precision"; 67 const char kEmulateShaderPrecision[] = "emulate-shader-precision";
65 68
66 // Use the Pass-through command decoder, skipping all validation and state 69 // Use the Pass-through command decoder, skipping all validation and state
67 // tracking. 70 // tracking.
68 const char kUsePassthroughCmdDecoder[] = "use-passthrough-cmd-decoder"; 71 const char kUsePassthroughCmdDecoder[] = "use-passthrough-cmd-decoder";
69 72
70 } // namespace switches 73 } // namespace switches
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_switches.h ('k') | third_party/khronos/GLES3/gl32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698