Home | History | Annotate | Download | only in gen

Lines Matching refs:func

96 		for func in api.functionIterateByOffset():
97 name = func.dispatch_name()
98 self.printFunctionString(func.name)
99 table.append((base_offset, "gl" + name, "gl" + name, "NULL", func.offset))
104 base_offset += len(func.name) + 3
107 for func in api.functionIterateByOffset():
108 for n in func.entry_points:
109 if n != func.name:
110 name = func.dispatch_name()
113 if func.has_different_protocol(n):
114 alt_name = "gl" + func.static_glx_name(n)
115 table.append((base_offset, "gl" + name, alt_name, alt_name, func.offset))
117 table.append((base_offset, "gl" + name, "gl" + name, "NULL", func.offset))
130 for func in api.functionIterateByOffset():
131 for n in func.entry_points:
132 if (not func.is_static_entry_point(func.name)) or (func.has_different_protocol(n) and not func.is_static_entry_point(n)):
133 print '#define gl_dispatch_stub_%u mgl_dispatch_stub_%u' % (func.offset, func.offset)
139 for func in api.functionIterateByOffset():
140 for n in func.entry_points:
141 if (not func.is_static_entry_point(func.name)) or (func.has_different_protocol(n) and not func.is_static_entry_point(n)):
142 print '%s GLAPIENTRY gl_dispatch_stub_%u(%s);' % (func.return_type, func.offset, func.get_parameter_string())
147 for func in api.functionIterateByOffset():
148 for n in func.entry_points:
154 % (func.return_type, "gl" + n, func.get_parameter_string(n))