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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.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, 2 months 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/gles2_cmd_decoder.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h
index 4aa1b23dbb2e9d7d4bda7a73c471e94c8182cfbe..997f8432905bdf3bc6696bfe9d404bcada94c351 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
@@ -115,12 +115,12 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>,
initialized_ = true;
}
- bool unsafe_es3_apis_enabled() const {
- return unsafe_es3_apis_enabled_;
+ bool es3_apis_enabled() const {
+ return es3_apis_enabled_;
}
- void set_unsafe_es3_apis_enabled(bool enabled) {
- unsafe_es3_apis_enabled_ = enabled;
+ void set_es3_apis_enabled(bool enabled) {
+ es3_apis_enabled_ = enabled;
}
bool debug() const {
@@ -348,7 +348,7 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>,
bool initialized_;
bool debug_;
bool log_commands_;
- bool unsafe_es3_apis_enabled_;
+ bool es3_apis_enabled_;
DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
};
« no previous file with comments | « gpu/command_buffer/service/framebuffer_manager_unittest.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698