Lines Matching full:features
153 # features are unversioned and assigned version number 0.
173 # Core API features (those defined with a <feature> tag)
197 # regSortFeatures - default sort procedure for features.
338 # and tag generated features as having been done.
583 # which may be needed by other features later on.
655 # emitFeatures - True to actually emit features for a version / extension,
835 # required - boolean (to tag features as required or not)
854 # features - Element for <require> or <remove> tag
855 # required - boolean (to tag features as required or not)
856 def markRequired(self, features, required):
857 """Require or remove features specified in the Element"""
858 self.gen.logMsg('diag', '*** markRequired (features = <too long to print>, required =', required, ')')
861 # in individual features, but that's not done yet.
862 for typeElem in features.findall('type'):
864 for enumElem in features.findall('enum'):
872 for cmdElem in features.findall('command'):
965 # Loop over all features inside all <require> tags.
967 for features in interface.findall('require'):
968 for t in features.findall('type'):
971 for e in features.findall('enum'):
974 for c in features.findall('command'):
991 # Reset required/declared flags for all features
1001 features = []
1010 # emission and add to the features[] list .
1013 features.append(fi)
1068 # extension features list.
1071 features.append(ei)
1076 # Sort the extension features list, if a sort procedure is defined
1078 self.genOpts.sortProcedure(features)
1081 # types/commands/features as required (in an <require> block) or no
1088 self.gen.logMsg('diag', '*** PASS 1: TAG FEATURES ********************************************')
1089 for f in features:
1090 self.gen.logMsg('diag', '*** PASS 1: Tagging required and removed features for',
1097 self.gen.logMsg('diag', '*** PASS 2: GENERATE INTERFACES FOR FEATURES ************************')
1099 for f in features: