| OLD | NEW |
| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 // =================================== | 125 // =================================== |
| 126 // Settings from //ui/gl/gl_switches.h | 126 // Settings from //ui/gl/gl_switches.h |
| 127 | 127 |
| 128 // Turns on GPU logging (debug build only). | 128 // Turns on GPU logging (debug build only). |
| 129 bool enable_gpu_service_logging = false; | 129 bool enable_gpu_service_logging = false; |
| 130 | 130 |
| 131 // Turns on calling TRACE for every GL call. | 131 // Turns on calling TRACE for every GL call. |
| 132 bool enable_gpu_service_tracing = false; | 132 bool enable_gpu_service_tracing = false; |
| 133 | 133 |
| 134 // Enable OpenGL ES 3 APIs without proper service side validation. | 134 // Enable OpenGL ES 3 APIs without proper service side validation. |
| 135 bool enable_unsafe_es3_apis = false; | 135 bool enable_unsafe_es3_apis = true; |
| 136 | 136 |
| 137 // Use the Pass-through command decoder, skipping all validation and state | 137 // Use the Pass-through command decoder, skipping all validation and state |
| 138 // tracking. | 138 // tracking. |
| 139 bool use_passthrough_cmd_decoder = false; | 139 bool use_passthrough_cmd_decoder = false; |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 } // namespace gpu | 142 } // namespace gpu |
| 143 | 143 |
| 144 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ | 144 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ |
| OLD | NEW |