RetroArch
Namespaces | Functions | Variables
xglgen.py File Reference

Namespaces

 xglgen
 

Functions

def xglgen.noext (sym)
 
def xglgen.fix_multiline_functions (lines)
 
def xglgen.find_gl_symbols (lines)
 
def xglgen.generate_defines (gl_syms)
 
def xglgen.generate_declarations (gl_syms)
 
def xglgen.generate_macros (gl_syms)
 
def xglgen.dump (f, lines)
 

Variables

list xglgen.banned_ext = [ 'AMD', 'APPLE', 'NV', 'NVX', 'ATI', '3DLABS', 'SUN', 'SGI', 'SGIX', 'SGIS', 'INTEL', '3DFX', 'IBM', 'MESA', 'GREMEDY', 'OML', 'PGI', 'I3D', 'INGL', 'MTX', 'QCOM', 'IMG', 'ANGLE', 'SUNX', 'INGR' ]
 
def xglgen.lines = fix_multiline_functions(f.readlines())
 
 xglgen.typedefs
 
 xglgen.syms
 
def xglgen.overrides = generate_defines(syms)
 
def xglgen.declarations = generate_declarations(syms)
 
list xglgen.externs = ['extern ' + x for x in declarations]
 
def xglgen.macros = generate_macros(syms)