RetroArch
Functions | Variables
glgen Namespace Reference

Functions

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

Variables

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

Detailed Description

   License statement applies to this file (glgen.py) only.

Function Documentation

◆ dump()

def glgen.dump (   f,
  lines 
)
Here is the call graph for this function:

◆ find_gl_symbols()

def glgen.find_gl_symbols (   lines)
Here is the call graph for this function:

◆ fix_multiline_functions()

def glgen.fix_multiline_functions (   lines)
Here is the call graph for this function:

◆ generate_declarations()

def glgen.generate_declarations (   gl_syms)

◆ generate_defines()

def glgen.generate_defines (   gl_syms)

◆ generate_macros()

def glgen.generate_macros (   gl_syms)

◆ noext()

def glgen.noext (   sym)
Here is the caller graph for this function:

Variable Documentation

◆ banned_ext

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' ]

◆ declarations

def glgen.declarations = generate_declarations(syms)

◆ externs

list glgen.externs = ['extern ' + x for x in declarations]

◆ lines

def glgen.lines = fix_multiline_functions(f.readlines())

◆ macros

def glgen.macros = generate_macros(syms)

◆ overrides

def glgen.overrides = generate_defines(syms)

◆ syms

glgen.syms

◆ typedefs

glgen.typedefs