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

Unified Diff: gpu/command_buffer/service/feature_info.h

Issue 2471853002: remove 'unsafe' from ES3 apis in gpu process (Closed)
Patch Set: 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
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..785e0ccf5c221272efc773c6b434760b1fc565d3 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,9 +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_;

Powered by Google App Engine
This is Rietveld 408576698