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

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

Issue 2471853002: remove 'unsafe' from ES3 apis in gpu process (Closed)
Patch Set: forgot to save file 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc ('k') | gpu/command_buffer/service/test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698