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

Unified Diff: gpu/command_buffer/service/feature_info.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/context_group.cc ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/feature_info.h
diff --git a/gpu/command_buffer/service/feature_info.h b/gpu/command_buffer/service/feature_info.h
index a3f767146ad06f20901bc7791d99dff088ce4fd0..faf50d353161da544c6ce06b7e6c34bc92d0fdfd 100644
--- a/gpu/command_buffer/service/feature_info.h
+++ b/gpu/command_buffer/service/feature_info.h
@@ -146,10 +146,6 @@ class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
bool IsES3Capable() const;
void EnableES3Validators();
- bool IsES3Enabled() const {
- return unsafe_es3_apis_enabled_;
- }
-
bool disable_shader_translator() const { return disable_shader_translator_; }
bool IsWebGLContext() const;
@@ -195,11 +191,6 @@ class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
// Flags for Workarounds.
const GpuDriverBugWorkarounds workarounds_;
- // Whether the command line switch kEnableUnsafeES3APIs is passed in.
- bool enable_unsafe_es3_apis_switch_;
-
- bool unsafe_es3_apis_enabled_;
-
bool ext_color_buffer_float_available_;
bool oes_texture_float_linear_available_;
bool oes_texture_half_float_linear_available_;
« no previous file with comments | « gpu/command_buffer/service/context_group.cc ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698