summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/feature_info.cc
diff options
context:
space:
mode:
authorzmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-22 00:33:29 +0000
committerzmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-22 00:33:29 +0000
commite82fb7928fb3d6c7b980f8fae4b948eb6bfb7ee9 (patch)
tree092bcf52246ec3ccc0f5dd517ce42a20c64124c9 /gpu/command_buffer/service/feature_info.cc
parent959a694093db706173cccfec4c1e14717ce370e1 (diff)
downloadchromium_src-e82fb7928fb3d6c7b980f8fae4b948eb6bfb7ee9.zip
chromium_src-e82fb7928fb3d6c7b980f8fae4b948eb6bfb7ee9.tar.gz
chromium_src-e82fb7928fb3d6c7b980f8fae4b948eb6bfb7ee9.tar.bz2
Code cleanup: rename DisallowedExtensions to DisallowedFeature.
BUG=none TEST=bots green Review URL: http://codereview.chromium.org/7979031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102213 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/feature_info.cc')
-rw-r--r--gpu/command_buffer/service/feature_info.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 1e1a86c..2270a38 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -81,14 +81,14 @@ class ExtensionHelper {
};
bool FeatureInfo::Initialize(const char* allowed_features) {
- disallowed_extensions_ = DisallowedExtensions();
+ disallowed_features_ = DisallowedFeatures();
AddFeatures(allowed_features);
return true;
}
-bool FeatureInfo::Initialize(const DisallowedExtensions& disallowed_extensions,
+bool FeatureInfo::Initialize(const DisallowedFeatures& disallowed_features,
const char* allowed_features) {
- disallowed_extensions_ = disallowed_extensions;
+ disallowed_features_ = disallowed_features;
AddFeatures(allowed_features);
return true;
}
@@ -301,7 +301,7 @@ void FeatureInfo::AddFeatures(const char* desired_features) {
}
// Check for multisample support
- if (!disallowed_extensions_.multisampling &&
+ if (!disallowed_features_.multisampling &&
ext.Desire("GL_CHROMIUM_framebuffer_multisample") &&
(ext.Have("GL_EXT_framebuffer_multisample") ||
ext.Have("GL_ANGLE_framebuffer_multisample"))) {