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

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

Issue 6623063: Connect up --disable-gl-multisampling to command buffer (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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/feature_info.h
diff --git a/gpu/command_buffer/service/feature_info.h b/gpu/command_buffer/service/feature_info.h
index a11aa70db6da920a2e9833aaddcef0d0c28d29de..65dfe3518bcd10beac6fa1b45924b6608db0e268 100644
--- a/gpu/command_buffer/service/feature_info.h
+++ b/gpu/command_buffer/service/feature_info.h
@@ -6,6 +6,7 @@
#define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
#include <string>
+#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
#include "gpu/command_buffer/service/gles2_cmd_validation.h"
namespace gpu {
@@ -36,7 +37,8 @@ class FeatureInfo {
// If allowed features = NULL or "*", all features are allowed. Otherwise
// only features that match the strings in allowed_features are allowed.
- bool Initialize(const char* allowed_features);
+ bool Initialize(const DisallowedExtensions& disallowed,
+ const char* allowed_features);
// Turns on certain features if they can be turned on. NULL turns on
// all available features.
@@ -59,6 +61,8 @@ class FeatureInfo {
Validators validators_;
+ DisallowedExtensions disallowed_extensions_;
+
// The extensions string returned by glGetString(GL_EXTENSIONS);
std::string extensions_;

Powered by Google App Engine
This is Rietveld 408576698