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

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

Issue 2444813002: Remove unsafe mode to enable es3 api by default for WebGL2 and ES3 context (Closed)
Patch Set: fix a bug 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
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.
135 bool enable_unsafe_es3_apis = false;
136
137 // Use the Pass-through command decoder, skipping all validation and state 134 // Use the Pass-through command decoder, skipping all validation and state
138 // tracking. 135 // tracking.
139 bool use_passthrough_cmd_decoder = false; 136 bool use_passthrough_cmd_decoder = false;
140 }; 137 };
141 138
142 } // namespace gpu 139 } // namespace gpu
143 140
144 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ 141 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698