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

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

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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // Turn on Logging GPU commands. 89 // Turn on Logging GPU commands.
90 bool enable_gpu_command_logging = false; 90 bool enable_gpu_command_logging = false;
91 91
92 // Turn on Calling GL Error after every command. 92 // Turn on Calling GL Error after every command.
93 bool enable_gpu_debugging = false; 93 bool enable_gpu_debugging = false;
94 94
95 // Enable GPU service logging. 95 // Enable GPU service logging.
96 bool enable_gpu_service_logging_gpu = false; 96 bool enable_gpu_service_logging_gpu = false;
97 97
98 // Enable logging of GPU driver debug messages.
99 bool enable_gpu_driver_debug_logging = false;
100
98 // Turn off gpu program caching 101 // Turn off gpu program caching
99 bool disable_gpu_program_cache = false; 102 bool disable_gpu_program_cache = false;
100 103
101 // Enforce GL minimums. 104 // Enforce GL minimums.
102 bool enforce_gl_minimums = false; 105 bool enforce_gl_minimums = false;
103 106
104 // Sets the total amount of memory that may be allocated for GPU resources 107 // Sets the total amount of memory that may be allocated for GPU resources
105 uint32_t force_gpu_mem_available = 0; 108 uint32_t force_gpu_mem_available = 0;
106 109
107 // Sets the maximum size of the in-memory gpu program cache, in kb 110 // Sets the maximum size of the in-memory gpu program cache, in kb
(...skipping 27 matching lines...) Expand all
135 bool enable_unsafe_es3_apis = true; 138 bool enable_unsafe_es3_apis = true;
136 139
137 // Use the Pass-through command decoder, skipping all validation and state 140 // Use the Pass-through command decoder, skipping all validation and state
138 // tracking. 141 // tracking.
139 bool use_passthrough_cmd_decoder = false; 142 bool use_passthrough_cmd_decoder = false;
140 }; 143 };
141 144
142 } // namespace gpu 145 } // namespace gpu
143 146
144 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ 147 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc ('k') | gpu/command_buffer/service/gpu_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698