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

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

Issue 11791032: Refactor FeatureInfo so you can't request features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ec03789ac5cb1375d15b37c7c43c63aea963e34e..10dfeef878d2b366ff6086286dea37f0768f0dae 100644
--- a/gpu/command_buffer/service/feature_info.h
+++ b/gpu/command_buffer/service/feature_info.h
@@ -30,7 +30,6 @@ class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
bool npot_ok;
bool enable_texture_float_linear;
bool enable_texture_half_float_linear;
- bool chromium_webglsl;
bool chromium_stream_texture;
bool angle_translated_shader_source;
bool angle_pack_reverse_row_order;
@@ -68,9 +67,8 @@ class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
bool Initialize(const DisallowedFeatures& disallowed_features,
const char* allowed_features);
- // Turns on certain features if they can be turned on. NULL turns on
- // all available features.
- void AddFeatures(const char* desired_features);
+ // Turns on certain features if they can be turned on.
+ void AddFeatures();
const Validators* validators() const {
return &validators_;
« no previous file with comments | « no previous file | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698