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

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

Issue 2473933002: Enable WebGL 2 by default! (on desktop) (Closed)
Patch Set: fix 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // =================================== 128 // ===================================
129 // Settings from //ui/gl/gl_switches.h 129 // Settings from //ui/gl/gl_switches.h
130 130
131 // Turns on GPU logging (debug build only). 131 // Turns on GPU logging (debug build only).
132 bool enable_gpu_service_logging = false; 132 bool enable_gpu_service_logging = false;
133 133
134 // Turns on calling TRACE for every GL call. 134 // Turns on calling TRACE for every GL call.
135 bool enable_gpu_service_tracing = false; 135 bool enable_gpu_service_tracing = false;
136 136
137 // Enable OpenGL ES 3 APIs without proper service side validation. 137 // Enable OpenGL ES 3 APIs without proper service side validation.
Ken Russell (switch to Gerrit) 2016/11/03 21:50:42 Comment needs to be updated. "Enable OpenGL ES 3 A
Kai Ninomiya 2016/11/03 22:10:06 Done.
138 bool enable_unsafe_es3_apis = true; 138 bool enable_es3_apis = true;
139 139
140 // Use the Pass-through command decoder, skipping all validation and state 140 // Use the Pass-through command decoder, skipping all validation and state
141 // tracking. 141 // tracking.
142 bool use_passthrough_cmd_decoder = false; 142 bool use_passthrough_cmd_decoder = false;
143 }; 143 };
144 144
145 } // namespace gpu 145 } // namespace gpu
146 146
147 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_ 147 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698