RetroArch
Namespaces | Functions | Variables
glgen.py File Reference

Namespaces

 glgen
 

Functions

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

Variables

list glgen.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 glgen.lines = fix_multiline_functions(f.readlines())
 
 glgen.typedefs
 
 glgen.syms
 
def glgen.overrides = generate_defines(syms)
 
def glgen.declarations = generate_declarations(syms)
 
list glgen.externs = ['extern ' + x for x in declarations]
 
def glgen.macros = generate_macros(syms)