summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/feature_info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/feature_info.cc')
-rw-r--r--gpu/command_buffer/service/feature_info.cc17
1 files changed, 4 insertions, 13 deletions
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 94a6b29..8fdac29 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -91,19 +91,10 @@ void FeatureInfo::AddFeatures(const char* desired_features) {
bool npot_ok = false;
- if (ext.Desire("GL_CHROMIUM_map_sub")) {
- AddExtensionString("GL_CHROMIUM_map_sub");
- }
-
- if (ext.Desire("GL_CHROMIUM_copy_texture_to_parent_texture")) {
- AddExtensionString("GL_CHROMIUM_copy_texture_to_parent_texture");
- }
-
- // Only turn this feature on if it is requested. Not by default.
- if (desired_features && ext.Desire("GL_CHROMIUM_strict_attribs")) {
- AddExtensionString("GL_CHROMIUM_strict_attribs");
- feature_flags_.chromium_strict_attribs = true;
- }
+ AddExtensionString("GL_CHROMIUM_map_sub");
+ AddExtensionString("GL_CHROMIUM_copy_texture_to_parent_texture");
+ AddExtensionString("GL_CHROMIUM_resource_safe");
+ AddExtensionString("GL_CHROMIUM_strict_attribs");
// Only turn this feature on if it is requested. Not by default.
if (desired_features && ext.Desire("GL_CHROMIUM_webglsl")) {